Fixed toString bug. Fixed yang versions used in tests. 04/1504/1
authorMartin Vitez <mvitez@cisco.com>
Mon, 30 Sep 2013 09:41:07 +0000 (11:41 +0200)
committerMartin Vitez <mvitez@cisco.com>
Mon, 30 Sep 2013 09:41:07 +0000 (11:41 +0200)
Signed-off-by: Martin Vitez <mvitez@cisco.com>
18 files changed:
code-generator/binding-java-api-generator/src/main/java/org/opendaylight/yangtools/sal/java/api/generator/ClassTemplate.xtend
model/iana/iana-afn-safi/pom.xml
model/iana/iana-if-type/pom.xml
model/ietf/ietf-inet-types/pom.xml
model/ietf/ietf-ted/pom.xml
model/ietf/ietf-topology/pom.xml
model/ietf/ietf-yang-types/pom.xml
yang/yang-maven-plugin-it/src/test/resources/AdditionalConfig/pom.xml
yang/yang-maven-plugin-it/src/test/resources/Correct/pom.xml
yang/yang-maven-plugin-it/src/test/resources/GenerateTest1/pom.xml
yang/yang-maven-plugin-it/src/test/resources/GenerateTest2/pom.xml
yang/yang-maven-plugin-it/src/test/resources/Generator/pom.xml
yang/yang-maven-plugin-it/src/test/resources/MissingYangInDep/pom.xml
yang/yang-maven-plugin-it/src/test/resources/NoGenerators/pom.xml
yang/yang-maven-plugin-it/src/test/resources/NoOutputDir/pom.xml
yang/yang-maven-plugin-it/src/test/resources/NoYangFiles/pom.xml
yang/yang-maven-plugin-it/src/test/resources/UnknownGenerator/pom.xml
yang/yang-maven-plugin-it/src/test/resources/YangRootNotExist/pom.xml

index b97e9b01cf279ab2bdf23e238b97a257aae1383f..f75f5a4f58fb72af6316d8076fe7993c9b1824ad 100644 (file)
@@ -336,7 +336,6 @@ class ClassTemplate extends BaseTemplate {
                 «ELSE»\r
                     builder.append(«properties.get(0).fieldName»);\r
                 «ENDIF»\r
-                builder.append(«properties.get(0).fieldName»);\r
                 «FOR i : 1..<genTO.toStringIdentifiers.size»\r
                     builder.append(", «properties.get(i).fieldName»=");\r
                     «IF properties.get(i).returnType.name.contains("[")»\r
index 598a7538cff81a85f685b6c2fa1dd34479913e59..916bf246e7afb61e40b66cddb18cb13ee91eab36 100644 (file)
@@ -8,7 +8,7 @@
 
     <modelVersion>4.0.0</modelVersion>
     <artifactId>iana-afn-safi</artifactId>
-    <version>2013.07.04.1-SNAPSHOT</version>
+    <version>2013.07.04.2-SNAPSHOT</version>
 
     <build>
         <plugins>
index 005584995918153d699f8cdcf5cce4fd8a1d0ea4..f2a672fd6239890bf0d17629e267c0f8253e03e5 100644 (file)
@@ -8,7 +8,7 @@
 
     <modelVersion>4.0.0</modelVersion>
     <artifactId>iana-if-type</artifactId>
-    <version>2013.07.04.1-SNAPSHOT</version>
+    <version>2013.07.04.2-SNAPSHOT</version>
 
     <build>
         <plugins>
index b39644080dafbf26d710b042ab1c3d0a5fce4a1e..ab019420b7f52263ab484570d59e755cd5eccafa 100644 (file)
@@ -8,7 +8,7 @@
 
     <modelVersion>4.0.0</modelVersion>
     <artifactId>ietf-inet-types</artifactId>
-    <version>2010.09.24.1-SNAPSHOT</version>
+    <version>2010.09.24.2-SNAPSHOT</version>
     <name>${project.artifactId}</name>
     <description>${project.artifactId}</description>
 
index efe698030c9c0644fe242087d58d32b16fc74f4f..9257c7d3f295be34e94a887d1ca7ea76ef3370ad 100644 (file)
@@ -8,7 +8,7 @@
 
     <modelVersion>4.0.0</modelVersion>
     <artifactId>ietf-ted</artifactId>
-    <version>2013.07.12.1-SNAPSHOT</version>
+    <version>2013.07.12.2-SNAPSHOT</version>
     <name>${project.artifactId}</name>
     <description>${project.artifactId}</description>
 
         <dependency>
             <groupId>org.opendaylight.yangtools.model</groupId>
             <artifactId>ietf-inet-types</artifactId>
-            <version>2010.09.24.1-SNAPSHOT</version>
+            <version>2010.09.24.2-SNAPSHOT</version>
         </dependency>
         <dependency>
             <groupId>org.opendaylight.yangtools.model</groupId>
             <artifactId>ietf-yang-types</artifactId>
-            <version>2010.09.24.1-SNAPSHOT</version>
+            <version>2010.09.24.2-SNAPSHOT</version>
         </dependency>
     </dependencies>
 
index e598afd2d37633c581424e52bc1499e73a8ae7ae..27b0559f4be2265e8708028c5b61082d4199801f 100644 (file)
@@ -8,7 +8,7 @@
 
     <modelVersion>4.0.0</modelVersion>
     <artifactId>ietf-topology</artifactId>
-    <version>2013.07.12.1-SNAPSHOT</version>
+    <version>2013.07.12.2-SNAPSHOT</version>
     <name>${project.artifactId}</name>
     <description>${project.artifactId}</description>
 
         <dependency>
             <groupId>org.opendaylight.yangtools.model</groupId>
             <artifactId>ietf-inet-types</artifactId>
-            <version>2010.09.24.1-SNAPSHOT</version>
+            <version>2010.09.24.2-SNAPSHOT</version>
         </dependency>
         <dependency>
             <groupId>org.opendaylight.yangtools.model</groupId>
             <artifactId>ietf-yang-types</artifactId>
-            <version>2010.09.24.1-SNAPSHOT</version>
+            <version>2010.09.24.2-SNAPSHOT</version>
         </dependency>
     </dependencies>
 
index 606d33a1de2f8ec5eebad50e6ac3f78c9018ea9b..89900f39fa693884d5c417855e9b446914e613d3 100644 (file)
@@ -8,7 +8,7 @@
 
     <modelVersion>4.0.0</modelVersion>
     <artifactId>ietf-yang-types</artifactId>
-    <version>2010.09.24.1-SNAPSHOT</version>
+    <version>2010.09.24.2-SNAPSHOT</version>
     <name>${project.artifactId}</name>
     <description>${project.artifactId}</description>
 
index eab0624935f6e600c347de13199b5e320a3acf20..ef7fc0431e1f83983cb41895e149e02d3434c1a2 100644 (file)
@@ -10,7 +10,7 @@
         <dependency>
             <groupId>org.opendaylight.yangtools</groupId>
             <artifactId>yang-maven-plugin-spi</artifactId>
-            <version>0.5.8-SNAPSHOT</version>
+            <version>0.5.9-SNAPSHOT</version>
         </dependency>
     </dependencies>
 
@@ -19,7 +19,7 @@
             <plugin>
                 <groupId>org.opendaylight.yangtools</groupId>
                 <artifactId>yang-maven-plugin</artifactId>
-                <version>0.5.8-SNAPSHOT</version>
+                <version>0.5.9-SNAPSHOT</version>
                 <executions>
                     <execution>
                         <goals>
@@ -56,7 +56,7 @@
                     <dependency>
                         <groupId>org.opendaylight.yangtools</groupId>
                         <artifactId>yang-maven-plugin-spi</artifactId>
-                        <version>0.5.8-SNAPSHOT</version>
+                        <version>0.5.9-SNAPSHOT</version>
                         <type>test-jar</type>
                     </dependency>
                 </dependencies>
index e7babaca2e9213b7dc4776899e852275997fcf0e..eaa31257a74918ff9a557739ff5804269eeb2fbc 100644 (file)
@@ -10,7 +10,7 @@
         <dependency>
             <groupId>org.opendaylight.yangtools</groupId>
             <artifactId>yang-maven-plugin-spi</artifactId>
-            <version>0.5.8-SNAPSHOT</version>
+            <version>0.5.9-SNAPSHOT</version>
         </dependency>
     </dependencies>
 
@@ -19,7 +19,7 @@
             <plugin>
                 <groupId>org.opendaylight.yangtools</groupId>
                 <artifactId>yang-maven-plugin</artifactId>
-                <version>0.5.8-SNAPSHOT</version>
+                <version>0.5.9-SNAPSHOT</version>
                 <executions>
                     <execution>
                         <goals>
@@ -43,7 +43,7 @@
                     <dependency>
                         <groupId>org.opendaylight.yangtools</groupId>
                         <artifactId>yang-maven-plugin-spi</artifactId>
-                        <version>0.5.8-SNAPSHOT</version>
+                        <version>0.5.9-SNAPSHOT</version>
                         <type>test-jar</type>
                     </dependency>
                 </dependencies>
index cd228761661276e844ea753fbd03939a23b8f325..0cb85e9d696635e65249e61f49ce7b8c007a76b6 100644 (file)
@@ -11,7 +11,7 @@
             <plugin>
                 <groupId>org.opendaylight.yangtools</groupId>
                 <artifactId>yang-maven-plugin</artifactId>
-                <version>0.5.8-SNAPSHOT</version>
+                <version>0.5.9-SNAPSHOT</version>
                 <executions>
                     <execution>
                         <goals>
@@ -35,7 +35,7 @@
                     <dependency>
                         <groupId>org.opendaylight.yangtools</groupId>
                         <artifactId>yang-maven-plugin-spi</artifactId>
-                        <version>0.5.8-SNAPSHOT</version>
+                        <version>0.5.9-SNAPSHOT</version>
                         <type>test-jar</type>
                     </dependency>
                 </dependencies>
index 46eae7a0e51e883ff6fd659dcad159e22bf16faf..1af506399b666303c49d6c599b2a213f90617e12 100644 (file)
@@ -11,7 +11,7 @@
         <dependency>
             <groupId>org.opendaylight.yangtools</groupId>
             <artifactId>generator-test1</artifactId>
-            <version>0.5.8-SNAPSHOT</version>
+            <version>0.5.9-SNAPSHOT</version>
             <scope>system</scope>
             <systemPath>${project.basedir}/../GenerateTest1/target/generator-test1-0.5-SNAPSHOT.jar</systemPath>
         </dependency>
@@ -22,7 +22,7 @@
             <plugin>
                 <groupId>org.opendaylight.yangtools</groupId>
                 <artifactId>yang-maven-plugin</artifactId>
-                <version>0.5.8-SNAPSHOT</version>
+                <version>0.5.9-SNAPSHOT</version>
                 <executions>
                     <execution>
                         <goals>
@@ -49,7 +49,7 @@
                     <dependency>
                         <groupId>org.opendaylight.yangtools</groupId>
                         <artifactId>yang-maven-plugin-spi</artifactId>
-                        <version>0.5.8-SNAPSHOT</version>
+                        <version>0.5.9-SNAPSHOT</version>
                         <type>test-jar</type>
                     </dependency>
                 </dependencies>
index 145e39bbacbee989162ef7904ff956a273f309e5..8fbbe4b09115e8b9dca4c7a16c26d1b8cac2aeb0 100644 (file)
@@ -4,7 +4,7 @@
     <parent>
         <artifactId>binding-generator</artifactId>
         <groupId>org.opendaylight.yangtools</groupId>
-        <version>0.5.8-SNAPSHOT</version>
+        <version>0.5.9-SNAPSHOT</version>
     </parent>
     <artifactId>test</artifactId>
 
@@ -13,7 +13,7 @@
             <plugin>
                 <groupId>org.opendaylight.yangtools</groupId>
                 <artifactId>yang-maven-plugin</artifactId>
-                <version>0.5.8-SNAPSHOT</version>
+                <version>0.5.9-SNAPSHOT</version>
                 <executions>
                     <execution>
                         <goals>
@@ -40,7 +40,7 @@
                     <dependency>
                         <groupId>org.opendaylight.yangtools</groupId>
                         <artifactId>yang-maven-plugin-spi</artifactId>
-                        <version>0.5.8-SNAPSHOT</version>
+                        <version>0.5.9-SNAPSHOT</version>
                         <type>test-jar</type>
                     </dependency>
                 </dependencies>
index a61ffd93ea9baac25b977e9378c42c3d25ea00af..24ff06a9f0483f6aa74af9d62cf11ce6ea9b8ded 100644 (file)
@@ -11,7 +11,7 @@
             <plugin>
                 <groupId>org.opendaylight.yangtools</groupId>
                 <artifactId>yang-maven-plugin</artifactId>
-                <version>0.5.8-SNAPSHOT</version>
+                <version>0.5.9-SNAPSHOT</version>
                 <executions>
                     <execution>
                         <goals>
@@ -48,7 +48,7 @@
                     <dependency>
                         <groupId>org.opendaylight.yangtools</groupId>
                         <artifactId>yang-maven-plugin-spi</artifactId>
-                        <version>0.5.8-SNAPSHOT</version>
+                        <version>0.5.9-SNAPSHOT</version>
                         <type>test-jar</type>
                     </dependency>
                 </dependencies>
index 844e1b1514b2ca2cb8a6e54176d208ebe97920bd..526e7a5afa14fc8483f1fad44a63bb9ce13f1970 100644 (file)
@@ -11,7 +11,7 @@
             <plugin>
                 <groupId>org.opendaylight.yangtools</groupId>
                 <artifactId>yang-maven-plugin</artifactId>
-                <version>0.5.8-SNAPSHOT</version>
+                <version>0.5.9-SNAPSHOT</version>
                 <executions>
                     <execution>
                         <goals>
@@ -39,7 +39,7 @@
                     <dependency>
                         <groupId>org.opendaylight.yangtools</groupId>
                         <artifactId>yang-maven-plugin-spi</artifactId>
-                        <version>0.5.8-SNAPSHOT</version>
+                        <version>0.5.9-SNAPSHOT</version>
                         <type>test-jar</type>
                     </dependency>
                 </dependencies>
index 732ceea1c0ff0584d82c6d7ba7070b7d7cb31719..7d96e4fd7720840b841b5e4f29790795789d19d9 100644 (file)
@@ -11,7 +11,7 @@
             <plugin>
                 <groupId>org.opendaylight.yangtools</groupId>
                 <artifactId>yang-maven-plugin</artifactId>
-                <version>0.5.8-SNAPSHOT</version>
+                <version>0.5.9-SNAPSHOT</version>
                 <executions>
                     <execution>
                         <goals>
@@ -35,7 +35,7 @@
                     <dependency>
                         <groupId>org.opendaylight.yangtools</groupId>
                         <artifactId>yang-maven-plugin-spi</artifactId>
-                        <version>0.5.8-SNAPSHOT</version>
+                        <version>0.5.9-SNAPSHOT</version>
                         <type>test-jar</type>
                     </dependency>
                 </dependencies>
index 80a0fe8537a608e4552c98c169a030d0de6b12c0..8f884caa51deec5ded39f07606d057416b9814c1 100644 (file)
@@ -11,7 +11,7 @@
             <plugin>
                 <groupId>org.opendaylight.yangtools</groupId>
                 <artifactId>yang-maven-plugin</artifactId>
-                <version>0.5.8-SNAPSHOT</version>
+                <version>0.5.9-SNAPSHOT</version>
                 <executions>
                     <execution>
                         <goals>
@@ -38,7 +38,7 @@
                     <dependency>
                         <groupId>org.opendaylight.yangtools</groupId>
                         <artifactId>yang-maven-plugin-spi</artifactId>
-                        <version>0.5.8-SNAPSHOT</version>
+                        <version>0.5.9-SNAPSHOT</version>
                         <type>test-jar</type>
                     </dependency>
                 </dependencies>
index ce2ddfa88f7965e2cf88d7339977000baee37acf..9bbc8654a38a7f0777d8b97d19a37a1c77c18f5a 100644 (file)
@@ -12,7 +12,7 @@
             <plugin>
                 <groupId>org.opendaylight.yangtools</groupId>
                 <artifactId>yang-maven-plugin</artifactId>
-                <version>0.5.8-SNAPSHOT</version>
+                <version>0.5.9-SNAPSHOT</version>
                 <executions>
                     <execution>
                         <goals>
@@ -47,7 +47,7 @@
                     <dependency>
                         <groupId>org.opendaylight.yangtools</groupId>
                         <artifactId>yang-maven-plugin-spi</artifactId>
-                        <version>0.5.8-SNAPSHOT</version>
+                        <version>0.5.9-SNAPSHOT</version>
                         <type>test-jar</type>
                     </dependency>
                 </dependencies>
index f2fd04a1a5dbca7c35f0d4fe1eb67eaa1fe8f973..a7e8e4ced49778c17fe30a43051834646221f160 100644 (file)
@@ -12,7 +12,7 @@
             <plugin>
                 <groupId>org.opendaylight.yangtools</groupId>
                 <artifactId>yang-maven-plugin</artifactId>
-                <version>0.5.8-SNAPSHOT</version>
+                <version>0.5.9-SNAPSHOT</version>
                 <executions>
                     <execution>
                         <goals>