Ignore:
Timestamp:
2005-04-22T15:33:28+12:00 (19 years ago)
Author:
kjdon
Message:

some changes for windows and axis

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ant-install-branch/gsdl3/build.xml

    r9733 r9736  
    453453    </waitfor>
    454454  </target>
    455   <!-- windows:
    456   set CATALINA_HOME=%GSDL3HOME%\comms\jakarta\tomcat
    457 set CATALINA_OPTS="-Djava.util.prefs.syncInterval=2000000 -DGSDL3HOME=%GSDL3HOME% -DGSDLOS=%GSDLOS% -DPATH=%PATH%"
    458     call "%GSDL3HOME%\comms\jakarta\tomcat\bin\startup.bat"
    459   # launch a web browser
    460     start http://localhost:8080/gsdl3
    461 
    462 -->
     455  <!-- windows: do we want to launch a webrowser?? -->
    463456  <target name="shutdown-tomcat" description="Shutdown only Tomcat" depends="init" if="tomcat.islocal">
    464457    <exec executable="${catalina.home}/bin/shutdown.sh" os="${os.linux}" dir="${catalina.home}/bin" spawn="false"/>
    465     <!-- windows:
    466 
    467     call "%GSDL3HOME%\comms\jakarta\tomcat\bin\shutdown.bat"
    468 -->
     458    <exec executable="${catalina.home}/bin/shutdown.bat" os="${os.windows}" dir="${catalina.home}/bin" spawn="false"/>
    469459  </target>
    470460
     
    552542      dest="${packages.home}"/>
    553543    <move todir="${packages.home}/mysql">
    554       <fileset dir="${packages.home}/mysql-noinstall-4.1.11-win32"/>
     544      <fileset dir="${packages.home}/mysql-4.1.11-win32"/>
    555545    </move>
    556546  </target>
     
    666656  </target>
    667657
    668   <target name="get-sitename">
     658  <target name="get-sitename" unless="axis.sitename">
    669659    <input addproperty="axis.sitename" message="What site? (press enter for default:localsite)" defaultvalue="localsite"/>
     660  </target>
     661
     662  <target name="get-siteuri" depends="get-sitename" unless="axis.siteuri">
     663    <input addproperty="axis.siteuri" message="What name do you want the service to have? (press enter for default:${axis.sitename})" defaultvalue="${axis.sitename}"/>
     664    <echo>${axis.sitename}, ${axis.siteuri}</echo>
     665  </target>
     666  <target name="check-deployment-files" depends="get-sitename">
    670667    <condition property="deploy.exists">
    671668      <available file="${basedir}/resources/soap/${axis.sitename}.wsdd"/>
     
    675672    </condition>
    676673    <echo>${axis.sitename}, ${deploy.exists}, ${undeploy.exists}</echo>
    677   </target>
    678 
    679   <target name="get-siteuri" depends="get-sitename">
    680     <input addproperty="axis.siteuri" message="What name do you want the service to have? (press enter for default:${axis.sitename})" defaultvalue="${axis.sitename}"/>
    681     <echo>${axis.sitename}, ${axis.siteuri}</echo>
    682   </target>
    683   <target name="create-deployment-files" depends="get-sitename"
     674  </target>
     675  <target name="create-deployment-files" depends="get-sitename,check-deployment-files"
    684676    if="axis.sitename" unless="deploy.exists">
    685677    <filter token="sitename" value="${axis.sitename}"/>
Note: See TracChangeset for help on using the changeset viewer.