A recent name change in the license file breaks 
build.xml. Here is a patch to fix this problem. Also 
included is an optional target that will add 
platform specific source to the distribution jar. 
Please consider adding this enhancment along with the 
fix.

Thanks,

David Morris
Index: build.xml
===================================================================
RCS file: /home/cvspublic/jakarta-commons/beanutils/build.xml,v
retrieving revision 1.41
diff -u -r1.41 build.xml
--- build.xml   5 Jan 2003 05:33:05 -0000       1.41
+++ build.xml   8 Jan 2003 17:45:06 -0000
@@ -217,7 +217,7 @@
   <target name="dist" depends="compile,javadoc"
    description="Create binary distribution">
     <mkdir      dir="${dist.home}"/>
-    <copy      file="../LICENSE"
+    <copy      file="LICENSE.txt"
               todir="${dist.home}"/>
     <copy      file="RELEASE-NOTES.txt"
               todir="${dist.home}"/>
@@ -225,11 +225,19 @@
   </target>
 
 
+  <target name="dist.src">
+     <copy todir="${build.home}/classes">
+        <fileset dir="${source.home}" includes="**/*.java"/>
+     </copy>
+     <fixcrlf srcdir="${build.home}/classes" includes="**/*.java"/>
+  </target>
+
+
   <target name="jar" depends="compile"
    description="Create jar">
     <mkdir      dir="${dist.home}"/>
     <mkdir      dir="${build.home}/classes/META-INF"/>
-    <copy      file="../LICENSE"
+    <copy      file="LICENSE.txt"
              tofile="${build.home}/classes/META-INF/LICENSE.txt"/>
     <jar    jarfile="${dist.home}/commons-${component.name}.jar"
             basedir="${build.home}/classes"

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to