You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by re...@apache.org on 2003/06/05 20:18:25 UTC
cvs commit: jakarta-commons-sandbox/daemon build.xml
remm 2003/06/05 11:18:25
Modified: daemon build.xml
Log:
- Cleanup: Remove the launcher classes.
Revision Changes Path
1.9 +9 -49 jakarta-commons-sandbox/daemon/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/daemon/build.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- build.xml 30 Apr 2003 19:34:35 -0000 1.8
+++ build.xml 5 Jun 2003 18:18:25 -0000 1.9
@@ -204,7 +204,7 @@
<target name="dist" depends="compile,javadoc"
description="Create binary distribution">
<mkdir dir="${dist.home}"/>
- <mkdir dir="${dist.home}/bin"/>
+ <mkdir dir="${dist.home}/bin/unix"/>
<mkdir dir="${dist.home}/lib"/>
<mkdir dir="${dist.home}/logs"/>
<copy file="LICENSE"
@@ -216,49 +216,14 @@
<include name="*.exe" />
</fileset>
</copy>
- <copy file="${bin.home}/launcher.properties"
- todir="${dist.home}/bin"/>
- <copy file="${bin.home}/launcher.xml"
- todir="${dist.home}/bin"/>
- <fixcrlf srcdir="${bin.home}"
- includes="launch-ant.bat"
- destdir="${dist.home}/bin"
- eol="crlf"/>
- <fixcrlf srcdir="${bin.home}"
- includes="launch-ant.sh"
- destdir="${dist.home}/bin"
- eol="lf"/>
- <chmod file="${dist.home}/bin/launch-ant.sh"
- perm="a+x"/>
- <antcall target="jar"/>
- <!-- Bundle Ant jars to support launcher classes and sample scripts -->
- <copy todir="${dist.home}/lib" filtering="off">
- <fileset dir="${ant.lib}" includes="${ant.jars.pattern}"/>
+ <copy todir="${dist.home}/bin/unix">
+ <fileset dir="src/native/unix" />
</copy>
- <fixcrlf srcdir="${ant.home}/bin"
- includes="antRun.bat"
- destdir="${dist.home}/bin"
- eol="crlf"/>
- <fixcrlf srcdir="${ant.home}/bin"
- includes="antRun"
- destdir="${dist.home}/bin"
- eol="lf"/>
- <chmod file="${dist.home}/bin/antRun"
- perm="a+x"/>
- <pathconvert property="ant.jar.list" targetos="unix">
- <path>
- <fileset dir="${dist.home}/lib" includes="*.jar"/>
- </path>
- </pathconvert>
- <pathconvert property="dist.home.converted" targetos="unix">
- <path>
- <pathelement location="${dist.home}"/>
- </path>
- </pathconvert>
- <replace file="${dist.home}/bin/launcher.properties">
- <replacefilter token="@ANTJARLIST@" value="${ant.jar.list}"/>
- <replacefilter token="${dist.home.converted}" value=".."/>
- </replace>
+ <fixcrlf srcdir="${dist.home}/bin/unix" eol="lf" />
+ <tar compression="gzip" destfile="${dist.home}/bin/jsvc.tar.gz"
+ basedir="${dist.home}/bin/unix" />
+ <delete dir="${dist.home}/bin/unix" />
+ <antcall target="jar"/>
</target>
@@ -273,11 +238,6 @@
basedir="${build.home}/classes"
manifest="${build.home}/conf/MANIFEST.MF"
includes="org/apache/commons/daemon/**"/>
- <jar jarfile="${dist.home}/bin/commons-launcher.jar"
- basedir="${build.home}/classes"
- includes="org/apache/commons/launcher/**"/>
- <copy file="${build.home}/classes/LauncherBootstrap.class"
- todir="${dist.home}/bin"/>
</target>
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org