hammant 2002/08/11 02:57:48
Modified: . build.xml
Log:
A different way to ensure untar of apps/ and ext/
Revision Changes Path
1.151 +9 -10 jakarta-avalon-phoenix/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-avalon-phoenix/build.xml,v
retrieving revision 1.150
retrieving revision 1.151
diff -u -r1.150 -r1.151
--- build.xml 11 Aug 2002 01:59:06 -0000 1.150
+++ build.xml 11 Aug 2002 09:57:48 -0000 1.151
@@ -45,7 +45,6 @@
<property name="java.dir" value="${src.dir}/java"/>
<property name="conf.dir" value="${src.dir}/conf"/>
<property name="script.dir" value="${src.dir}/script"/>
- <property name="static.dir" value="${src.dir}/static"/>
<property name="lib.dir" value="lib"/>
<property name="tools.dir" value="../jakarta-avalon/tools"/>
@@ -411,14 +410,6 @@
</fileset>
</copy>
- <!--
- These files added so that the /apps and /ext directories would not be
empty. If empty, they are not created
- when a binary disribution is unpacked, causing a runtime error.
- -->
- <copy todir="${bin.dist.dir}">
- <fileset dir="${static.dir}"/>
- </copy>
-
<antcall target="dist-mx4j"/>
<antcall target="dist-beanshell"/>
@@ -594,6 +585,14 @@
<param name="bin.dist.dir" value="${dist.name}" />
</antcall>
+ <!-- Two readme files to ensure directories are untarred -->
+ <echo file="${dist.name}/apps/readme.txt" append="false">
+ Place SAR files in here for Phoenix to launch.
+ </echo>
+ <echo file="${dist.name}/ext/readme.txt" append="false">
+ Place extension jars here. It is very rare to need to do this.
+ </echo>
+
<zip zipfile="${dist.base}/${dist.name}-bin.zip"
basedir="${dist.name}/.."
includes="${dist.name}/**"/>
@@ -621,7 +620,7 @@
<zip zipfile="${dist.base}/${dist.name}-src.zip"
basedir="${dist.name}/.."
includes="${dist.name}/**"/>
-
+
<tar longfile="gnu" tarfile="${dist.base}/${dist.name}-src.tar" >
<tarfileset dir="${dist.name}/.." username="avalon" group="avalon">
<include name="${dist.name}/**"/>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>