Fix sdnc dgbuilder build failure 13/3313/5
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Tue, 11 Apr 2017 09:46:32 +0000 (15:16 +0530)
committerKanagaraj Manickam <kanagaraj.manickam@huawei.com>
Tue, 18 Apr 2017 04:06:38 +0000 (04:06 +0000)
ant reports build_pom_for_yang_compile as invalid
command on windows as ant plugin consider it as native
command. executable directive make it explicit.

Change-Id: I25d202eafeda6102cba38bd12e78a1d2a617e785
Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com>
Former-commit-id: 7e56426b59afa7866cd28a04efc6e133907d625d

dgbuilder/pom.xml

index 0b5386d..6c4f758 100644 (file)
                                        <execution>
                                        <phase>generate-sources</phase>
                                        <configuration>
-                                       <tasks>
-                                               <exec executable="${project.basedir}/build_pom_for_yang_compile">
-                                                       <arg value="${project.parent.version}"/>
-                                               </exec>
-                                       </tasks>
+                                               <workingDirectory>"${project.basedir}"</workingDirectory>
+                                               <executable>build_pom_for_yang_compile</executable>
+                                               <arguments>
+                                                       <argument>"${project.parent.version}"</argument>
+                                               </arguments>
                                        </configuration>
                                        <goals>
                                                <goal>run</goal>