# Please note this path must be absolute, not relative,
# as it is referenced with different working directory
# contexts by the various build scripts.
-base.path=/usr/share/java
+base.path=/home/mturk/Workplace/tomcat/repository
#base.path=C:/path/to/the/repository
#base.path=/usr/local
nsis.loc=${base-sf.loc}/nsis/nsis-2.45.zip
# ----- Commons Daemon, version 1.0-Alpha or later -----
-commons-daemon.home=${base.path}/commons-daemon-1.0.1
+commons-daemon.version=1.0.2
+commons-daemon.home=${base.path}/commons-daemon-${commons-daemon.version}
commons-daemon.lib=${commons-daemon.home}
-commons-daemon.jar=${commons-daemon.lib}/commons-daemon.jar
-commons-daemon.loc=${base-commons.loc}/daemon/binaries/commons-daemon-1.0.1.tar.gz
-commons-daemon.jsvc.tar.gz=${commons-daemon.lib}/bin/jsvc.tar.gz
+commons-daemon.jar=${commons-daemon.lib}/commons-daemon-${commons-daemon.version}.jar
+commons-daemon.bin.loc=${base-commons.loc}/daemon/binaries/${commons-daemon.version}/commons-daemon-${commons-daemon.version}-bin.tar.gz
+commons-daemon.native.src.tgz=${commons-daemon.home}/commons-daemon-${commons-daemon.version}-native-src.tar.gz
+commons-daemon.native.win.zip=${commons-daemon.home}/commons-daemon-${commons-daemon.version}-bin-windows.zip
+commons-daemon.native.src.loc=${base-commons.loc}/daemon/source/commons-daemon-${commons-daemon.version}-native-src.tar.gz
+commons-daemon.native.win.loc=${base-commons.loc}/daemon/binaries/${commons-daemon.version}/windows/commons-daemon-${commons-daemon.version}-bin-windows.zip
# ----- JUnit Unit Test Suite, version 3.7 or later -----
junit.home=${base.path}/junit3.8.2
<copy tofile="${tomcat.build}/bin/tomcat-native.tar.gz"
file="${tomcat-native.tar.gz}" />
+ <copy tofile="${tomcat.build}/bin/commons-daemon-native.tar.gz"
+ file="${commons-daemon.native.src.tgz}" />
- <copy todir="${tomcat.build}/bin" file="${commons-daemon.jar}" />
- <copy todir="${tomcat.build}/bin" file="${commons-daemon.jsvc.tar.gz}" />
+ <copy tofile="${tomcat.build}/bin/commons-daemon.jar" file="${commons-daemon.jar}" />
<!-- Copy scripts -->
<copy todir="${tomcat.build}/bin">
<!-- Windows binaries -->
<!-- 32 bit -->
- <copy file="res/procrun/tomcat${version.major}.exe"
+ <copy file="${commons-daemon.home}/windows/prunsrv.exe"
tofile="${tomcat.dist}/bin/tomcat${version.major}.exe" />
- <copy file="res/procrun/tomcat${version.major}w.exe"
+ <copy file="${commons-daemon.home}/windows/prunmgr.exe"
tofile="${tomcat.dist}/bin/tomcat${version.major}w.exe" />
<!-- 64 bit amd -->
- <copy file="res/procrun/amd64/tomcat${version.major}.exe"
+ <copy file="${commons-daemon.home}/windows/amd64/prunsrv.exe"
tofile="${tomcat.dist}/bin/x64/tomcat${version.major}.exe" />
<!-- 64 bit ia -->
- <copy file="res/procrun/ia64/tomcat${version.major}.exe"
+ <copy file="${commons-daemon.home}/windows/ia64/prunsrv.exe"
tofile="${tomcat.dist}/bin/i64/tomcat${version.major}.exe" />
<!-- tc native -->
<copy file="${tomcat-native.home}/tcnative-1.dll.x86"
<param name="destdir" value="${tomcat-native.home}"/>
</antcall>
+ <!-- Download src and build Commons Daemon -->
<antcall target="downloadgz">
- <param name="sourcefile" value="${commons-daemon.loc}"/>
+ <param name="sourcefile" value="${commons-daemon.bin.loc}"/>
<param name="destfile" value="${commons-daemon.jar}"/>
</antcall>
+ <antcall target="downloadfile">
+ <param name="sourcefile" value="${commons-daemon.native.src.loc}"/>
+ <param name="destfile" value="${commons-daemon.native.src.tgz}"/>
+ <param name="destdir" value="${commons-daemon.home}"/>
+ </antcall>
+
<!-- Download src and build Tomcat DBCP bundle -->
<antcall target="downloadgz">
<param name="sourcefile" value="${commons-pool-src.loc}"/>
</antcall>
<antcall target="downloadzip">
+ <param name="sourcefile" value="${commons-daemon.native.win.loc}"/>
+ <param name="destdir" value="${commons-daemon.home}/windows"/>
+ </antcall>
+
+ <antcall target="downloadzip">
<param name="sourcefile" value="${nsis.loc}"/>
<param name="destfile" value="${nsis.exe}"/>
<param name="destdir" value="${nsis.home}/.."/>