Author: toad
Date: 2006-03-31 17:54:11 +0000 (Fri, 31 Mar 2006)
New Revision: 8406
Modified:
trunk/apps/installer/build.xml
Log:
fix dependancy problems etc.
now the node will successfully start after we have installed it, rather than
fail before we have installed it!
Modified: trunk/apps/installer/build.xml
===================================================================
--- trunk/apps/installer/build.xml 2006-03-31 17:17:10 UTC (rev 8405)
+++ trunk/apps/installer/build.xml 2006-03-31 17:54:11 UTC (rev 8406)
@@ -114,7 +114,10 @@
</replace>
</target>
- <target name="default"
depends="pre,config_default,tgmain,tgext,darknet,testnet,windows,unix,frost,start_browser">
+ <target name="default"
depends="pre,config_default,tgmain,tgext,darknet,testnet,copy,windows,unix,unix-start,frost,start_browser">
+ </target>
+
+ <target name="copy">
<copy todir="${installDir}/bin/">
<fileset dir="${basedir}/bin/"/>
</copy>
@@ -198,14 +201,15 @@
<echo message="Registering as a system service if possible"/>
+ </target>
+
+ <target name="unix-start" if="is_unix">
+ <echo message="Starting the node up"/>
<exec executable="sh" dir="${installDir}/">
<arg value="run.sh"/>
<arg value="start"/>
</exec>
-
-
- <echo message="Starting the node up"/>
- <sleep seconds="10"/>
+ <sleep seconds="5"/>
</target>
<target name="start_browser">