<citation de="John McNally">
> Is there any reason you are only changing one use of the lib
> directory?

absent-minded :-p

I now replaced all the occurences.

-- 
arnaud @ somewhere

Index: build.xml
===================================================================
RCS file: /home/cvspublic/jakarta-commons/fileupload/build.xml,v
retrieving revision 1.5
diff -u -r1.5 build.xml
--- build.xml   27 Oct 2002 18:47:51 -0000      1.5
+++ build.xml   2 Jun 2003 07:28:58 -0000
@@ -9,6 +9,7 @@
   <property name="distdir" value="dist"></property>
   <property name="javadocdir" value="target/docs/apidocs"></property>
   <property name="final.name" value="commons-fileupload-1.0-dev"></property>
+  <property name="lib" value="lib"></property>
 
   <!-- The test runner to execute -->
   <property name="test.runner"             value="junit.textui.TestRunner"/>
@@ -34,7 +35,7 @@
         <pathelement location="src/java"></pathelement>
       </src>
       <classpath>
-        <fileset dir="lib">
+        <fileset dir="${lib}">
           <include name="*.jar"></include>
         </fileset>
       </classpath>
@@ -68,7 +69,7 @@
         failonerror="${test.failonerror}">
           <arg value="org.apache.commons.fileupload.TestAll"/>
       <classpath>
-        <fileset dir="lib">
+        <fileset dir="${lib}">
           <include name="*.jar"></include>
         </fileset>
         <pathelement location="target/${final.name}.jar"></pathelement>
@@ -85,7 +86,7 @@
         <pathelement location="src/test"></pathelement>
       </src>
       <classpath>
-        <fileset dir="lib">
+        <fileset dir="${lib}">
           <include name="*.jar"></include>
         </fileset>
         <pathelement location="target/${final.name}.jar"></pathelement>
@@ -114,7 +115,7 @@
  
     <javadoc use="true" private="true" destdir="${javadocdir}" author="true" 
version="true" sourcepath="src/java" packagenames="org.apache.commons.fileupload.*">
       <classpath>
-        <fileset dir="lib">
+        <fileset dir="${lib}">
           <include name="*.jar"></include>
         </fileset>
         <pathelement location="target/${final.name}.jar"></pathelement>
@@ -125,11 +126,11 @@
 
   <target name="get-deps" unless="noget" depends="init">
   
-    <mkdir dir="lib"></mkdir>
+    <mkdir dir="${lib}"></mkdir>
     
-    <get dest="lib/commons-beanutils-1.3.jar" usetimestamp="true" ignoreerrors="true" 
src="http://www.ibiblio.org/maven/commons-beanutils/jars/commons-beanutils-1.3.jar";></get>
-    <get dest="lib/servletapi-2.3.jar" usetimestamp="true" ignoreerrors="true" 
src="http://www.ibiblio.org/maven/servletapi/jars/servletapi-2.3.jar";></get>
-    <get dest="lib/junit-3.8.1.jar" usetimestamp="true" ignoreerrors="true" 
src="http://www.ibiblio.org/maven/junit/jars/junit-3.8.1.jar";></get>
+    <get dest="${lib}/commons-beanutils-1.3.jar" usetimestamp="true" 
ignoreerrors="true" 
src="http://www.ibiblio.org/maven/commons-beanutils/jars/commons-beanutils-1.3.jar";></get>
+    <get dest="${lib}/servletapi-2.3.jar" usetimestamp="true" ignoreerrors="true" 
src="http://www.ibiblio.org/maven/servletapi/jars/servletapi-2.3.jar";></get>
+    <get dest="${lib}/junit-3.8.1.jar" usetimestamp="true" ignoreerrors="true" 
src="http://www.ibiblio.org/maven/junit/jars/junit-3.8.1.jar";></get>
   
   </target>
 


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

Reply via email to