river-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sijs...@apache.org
Subject svn commit: r1028726 - /incubator/river/jtsk/trunk/build.xml
Date Fri, 29 Oct 2010 13:23:27 GMT
Author: sijskes
Date: Fri Oct 29 13:23:26 2010
New Revision: 1028726

URL: http://svn.apache.org/viewvc?rev=1028726&view=rev
Log:
allow deletion of lib dir

Modified:
    incubator/river/jtsk/trunk/build.xml

Modified: incubator/river/jtsk/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/build.xml?rev=1028726&r1=1028725&r2=1028726&view=diff
==============================================================================
--- incubator/river/jtsk/trunk/build.xml (original)
+++ incubator/river/jtsk/trunk/build.xml Fri Oct 29 13:23:26 2010
@@ -427,12 +427,18 @@
             browser-dl.jar" />
 
     <target name="compile" description="Build classes"
-		depends="copy-resources">
+		depends="copy-resources,copy-extlibs">
         <javac-cmd source.dir="${src.dir}" dest.dir="${build.classes.dir}">
             <classpath refid="asm.classpath" />
         </javac-cmd>
     </target>
 
+    <target name="copy-extlibs" >
+        <copy todir="lib">
+            <fileset dir="extlibs" includes="*.jar"/>
+        </copy>
+    </target>
+
     <target name="install-policy"
 		description="Installs jsk-policy.jar into the JRE extensions directory.">
         <copy file="${lib-ext.dir}/jsk-policy.jar" todir="${jre.ext.dir}"/>
@@ -464,9 +470,7 @@
 
     <target name="clean-jars"
 		description="Deletes the lib, lib-dl, and lib-ext directories.">
-        <delete dir="${lib.dir}" quiet="true">
-            <exclude name="${asm.jars.pattern}"/>
-        </delete>
+        <delete dir="${lib.dir}" quiet="true" />
         <delete dir="${lib-dl.dir}"	quiet="true"/>
         <delete dir="${lib-ext.dir}" quiet="true"/>
     </target>



Mime
View raw message