summaryrefslogtreecommitdiffstats
path: root/dgbuilder
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-04-11 15:16:32 +0530
committerKanagaraj Manickam <kanagaraj.manickam@huawei.com>2017-04-18 04:06:38 +0000
commitd3615740001815f534ba264ebf248c762748582b (patch)
treeb4fcc99abc40810b2fb270ecb82d4a4ac2806fb9 /dgbuilder
parentac889177cc3086d57545abcfcd01986340db424e (diff)
Fix sdnc dgbuilder build failure
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
Diffstat (limited to 'dgbuilder')
-rw-r--r--dgbuilder/pom.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/dgbuilder/pom.xml b/dgbuilder/pom.xml
index 0b5386dc..6c4f7587 100644
--- a/dgbuilder/pom.xml
+++ b/dgbuilder/pom.xml
@@ -117,11 +117,11 @@
<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>