Author: toad
Date: 2006-03-31 18:06:32 +0000 (Fri, 31 Mar 2006)
New Revision: 8410
Modified:
trunk/apps/installer/build.xml
Log:
start windows after installing windows
Modified: trunk/apps/installer/build.xml
===================================================================
--- trunk/apps/installer/build.xml 2006-03-31 18:02:25 UTC (rev 8409)
+++ trunk/apps/installer/build.xml 2006-03-31 18:06:32 UTC (rev 8410)
@@ -114,7 +114,7 @@
</replace>
</target>
- <target name="default"
depends="pre,config_default,tgmain,tgext,darknet,testnet,copy,windows,unix,unix-start,frost,start_browser">
+ <target name="default"
depends="pre,config_default,tgmain,tgext,darknet,testnet,copy,windows,windows-start,unix,unix-start,frost,start_browser">
</target>
<target name="copy">
@@ -164,6 +164,9 @@
<arg value="${fproxyport}"/>
</exec>
+ </target>
+
+ <target name="windows-start" if="is_windows">
<echo message="Registering as a system service if possible"/>
<exec executable="cmd" dir="${installDir}/" >
<arg value="/c"/>
@@ -172,11 +175,8 @@
<echo message="Starting the node up"/>
<sleep seconds="10"/>
- <java classpath="${basedir}/browser.jar"
classname="BareBonesBrowserLaunch" failonerror="false" fork="true"
logError="true">
- <arg value="http://localhost:${fproxyport}/"/>
- </java>
- </target>
-
+ </target>
+
<target name="unix" if="is_unix">
<copy file="${basedir}/run.sh" tofile="${installDir}/run.sh"/>
<chmod file="${installDir}/run.sh" perm="755"/>