Author: nextgens
Date: 2006-04-14 10:58:25 +0000 (Fri, 14 Apr 2006)
New Revision: 8549
Modified:
trunk/apps/installer/build.xml
Log:
installer: Fix a possible issue in the copy task
[12:48] < P4C0> | I'm having problems installing 0.7 selfextractpack.jar
keeps failing with /tmp/antinstall/build.xml:145: Use a fileset to copy
directories.
Modified: trunk/apps/installer/build.xml
===================================================================
--- trunk/apps/installer/build.xml 2006-04-13 22:11:03 UTC (rev 8548)
+++ trunk/apps/installer/build.xml 2006-04-14 10:58:25 UTC (rev 8549)
@@ -142,8 +142,12 @@
<copy file="${basedir}/freenet-ext.jar"
tofile="${installDir}/freenet-ext.jar" failonerror="false"/>
<property name="freenet-cvs-snapshot.location" value="true"/>
<property name="freenet-ext.location" value="true"/>
- <copy file="${freenet-cvs-snapshot.location}"
tofile="${installDir}/freenet-cvs-snapshot.jar" failonerror="false"/>
- <copy file="${freenet-ext.location}"
tofile="${installDir}/freenet-ext.jar" failonerror="false"/>
+ <copy todir="${installDir}/" failonerror="false">
+ <fileset file="${freenet-cvs-snapshot.location}"/>
+ </copy>
+ <copy todir="${installDir}/" failonerror="false">
+ <fileset file="${freenet-ext.location}" />
+ </copy>
</target>
<target name="windows" if="is_windows">