]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.osgiboot/src/main/ant/osgiboot.xml
Improve ant
[gpl/argeo-slc.git] / 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}" />