]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
Fixing sysdyn product build site projects for 1.8.1.
authorlehtonen <lehtonen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Mon, 23 Jun 2014 05:31:05 +0000 (05:31 +0000)
committerlehtonen <lehtonen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Mon, 23 Jun 2014 05:31:05 +0000 (05:31 +0000)
refs #4984

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29680 ac1ea38d-2e2b-0410-8846-a27921b304fc

org.simantics.sysdyn.product.site.feature/build/product.ant
org.simantics.sysdyn.product.site.feature/feature.xml
org.simantics.sysdyn.product.site.feature/jenkins.buckminster.script

index 9dd09c8c617cb1f042310b8b0384ea5b176f3ce2..53fe0cb99f15e71f8ec4f945b7bca32eed18faf1 100644 (file)
@@ -19,7 +19,7 @@
                <echo message="${equinox.launcher.jar}"/>\r
                <echo message="${repository}"/>\r
                <echo message="${destination}"/>\r
-               <java jar="${equinox.launcher.jar}" fork="true" failonerror="true" >\r
+               <java jar="${equinox.launcher.jar}" fork="true" failonerror="false" resultproperty="director.result" outputproperty="director.out" errorproperty="director.err">\r
                        <arg value="-application"/>\r
                        <arg value="org.eclipse.equinox.p2.director"/>\r
                        <arg value="-artifactRepository"/>\r
                        <arg value="${target.arch}" />\r
                        <arg value="-consoleLog"/>\r
                </java>\r
+               <echo message="director.out: '${director.out}'"/>\r
+               <echo message="director.err: '${director.err}'"/>\r
+               <fail message="P2 director failed">\r
+                       <condition>\r
+                               <not>\r
+                                       <equals arg1="${director.result}" arg2="0" />\r
+                               </not>\r
+                       </condition>\r
+               </fail>\r
        </target>\r
 </project>
\ No newline at end of file
index 8612af15263b275521d86f5c45c87805f9bdb409..dba1b2c230fddc2cf05fe7879471ecb227938255 100644 (file)
@@ -2,7 +2,7 @@
 <feature\r
       id="org.simantics.sysdyn.product.site"\r
       label="Sysdyn Product Site"\r
-      version="1.5.1.qualifier"\r
+      version="1.9.0.qualifier"\r
       provider-name="VTT Technical Research Centre of Finland">\r
 \r
    <description url="http://www.example.com/description">\r
index f7398637e5c7c0c6d49e29d085fd4364bb383012..e3d6ae2d222a312bd97a3a0f58c3e7d6b61a6e4d 100644 (file)
@@ -1,4 +1,4 @@
-importtargetdefinition -A 'd:/target/3.7.1/target-win.target'\r
+importtargetdefinition -A 'http://www.simantics.org/download/head/simantics.target'\r
 import 'site.cquery'\r
 build\r
 perform -D target.os=* -D target.ws=* -D target.arch=* org.simantics.sysdyn.product.site#site.p2\r