]> git.argeo.org Git - gpl/argeo-slc.git/commitdiff
Improve ant
authorMathieu Baudier <mbaudier@argeo.org>
Wed, 4 Mar 2009 19:23:11 +0000 (19:23 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Wed, 4 Mar 2009 19:23:11 +0000 (19:23 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@2226 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

runtime/org.argeo.slc.osgiboot/src/main/ant/osgiboot.xml

index 3e17370c2ce10dbde789a5ff8e8d2ea73615af36..c6ba4a96b9aa5899f04621182c0fc3fdda8ead59 100644 (file)
@@ -58,13 +58,14 @@ osgi.bundles=reference:file:${osgiBootBundle}@start
                                </not>
                        </and>
                </condition>
-               <condition property="starter" value="start">
+               <condition property="starter" value="cmd">
                        <os family="windows" />
                </condition>
                <property name="starterArgs" value="" />
                <property name="javaCommand" value="java" />
 
                <echo message="commandArgs=${commandArgs}"/>
+               <echo message="${javaCommand} ${commandArgs}" file="${equinoxDir}/start.bat"/>
                <exec executable="${starter}" dir="${equinoxDir}">
                        <arg line="${starterArgs}" />
                        <arg value="${javaCommand}" />