Author: fdesbois Date: 2010-04-01 16:24:17 +0200 (Thu, 01 Apr 2010) New Revision: 1868 Log: - ServiceTransformer : change default value for tag 'errorArgs'\n - Don't migrate old modules on snapshot Modified: trunk/pom.xml trunk/topia-persistence/src/main/java/org/nuiton/topia/generator/ServiceTransformer.java trunk/topia-service-history/pom.xml trunk/topia-service-index/pom.xml trunk/topia-soa/pom.xml Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2010-04-01 13:30:48 UTC (rev 1867) +++ trunk/pom.xml 2010-04-01 14:24:17 UTC (rev 1868) @@ -17,12 +17,12 @@ <modules> <module>topia-persistence</module> - <module>topia-soa</module> + <!--module>topia-soa</module--> <module>topia-service-replication</module> <module>topia-service-migration</module> - <module>topia-service-index</module> + <!--module>topia-service-index</module--> <module>topia-service-security</module> - <module>topia-service-history</module> + <!--module>topia-service-history</module--> </modules> <dependencyManagement> Modified: trunk/topia-persistence/src/main/java/org/nuiton/topia/generator/ServiceTransformer.java =================================================================== --- trunk/topia-persistence/src/main/java/org/nuiton/topia/generator/ServiceTransformer.java 2010-04-01 13:30:48 UTC (rev 1867) +++ trunk/topia-persistence/src/main/java/org/nuiton/topia/generator/ServiceTransformer.java 2010-04-01 14:24:17 UTC (rev 1868) @@ -157,6 +157,7 @@ * </pre> * <div> * <h2>TAG_TRANSACTION</h2> + * <p>Default value : true</p> * <p>You can use the tagValue 'transaction=false' to specify that a method * doesn't need any TopiaContext, so no need to instantiate a new one. * This tagValue can only be put directly in the model and not in properties @@ -164,8 +165,9 @@ * </div> * <div> * <h2>TAG_ERROR_ARGS</h2> - * <p>You can use the tagValue 'errorArgs=false' to specify that a method doesn't - * need any arguments for error message. This tagValue can only be put directly + * <p>Default value : false</p> + * <p>You can use the tagValue 'errorArgs=true' to specify that a method + * need arguments for error message. This tagValue can only be put directly * in the model and not in properties file.</p> * </div> * <p>It is smooth, isn't it :p ?</p> @@ -442,7 +444,7 @@ // boolean to specify if the method need error arguments or not // Default set to true but can be override by a tagvalue on the // method - boolean needErrorArgs = true; + boolean needErrorArgs = false; String errorArgsTag = op.getTagValue(TopiaGeneratorUtil.TAG_ERROR_ARGS); Modified: trunk/topia-service-history/pom.xml =================================================================== --- trunk/topia-service-history/pom.xml 2010-04-01 13:30:48 UTC (rev 1867) +++ trunk/topia-service-history/pom.xml 2010-04-01 14:24:17 UTC (rev 1868) @@ -10,7 +10,7 @@ <parent> <groupId>org.nuiton</groupId> <artifactId>topia</artifactId> - <version>2.3.2-SNAPSHOT</version> + <version>2.3.1</version> </parent> <groupId>org.nuiton.topia</groupId> Modified: trunk/topia-service-index/pom.xml =================================================================== --- trunk/topia-service-index/pom.xml 2010-04-01 13:30:48 UTC (rev 1867) +++ trunk/topia-service-index/pom.xml 2010-04-01 14:24:17 UTC (rev 1868) @@ -10,7 +10,7 @@ <parent> <groupId>org.nuiton</groupId> <artifactId>topia</artifactId> - <version>2.3.2-SNAPSHOT</version> + <version>2.3.1</version> </parent> <groupId>org.nuiton.topia</groupId> Modified: trunk/topia-soa/pom.xml =================================================================== --- trunk/topia-soa/pom.xml 2010-04-01 13:30:48 UTC (rev 1867) +++ trunk/topia-soa/pom.xml 2010-04-01 14:24:17 UTC (rev 1868) @@ -10,7 +10,7 @@ <parent> <groupId>org.nuiton</groupId> <artifactId>topia</artifactId> - <version>2.3.2-SNAPSHOT</version> + <version>2.3.1</version> </parent> <groupId>org.nuiton.topia</groupId>