incubator-depot-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nickcha...@apache.org
Subject svn commit: rev 9904 - incubator/depot/trunk/version
Date Wed, 07 Apr 2004 05:47:17 GMT
Author: nickchalko
Date: Tue Apr  6 22:47:17 2004
New Revision: 9904

Modified:
   incubator/depot/trunk/version/build.xml
Log:
Put the antlib.xml in the path.

Modified: incubator/depot/trunk/version/build.xml
==============================================================================
--- incubator/depot/trunk/version/build.xml	(original)
+++ incubator/depot/trunk/version/build.xml	Tue Apr  6 22:47:17 2004
@@ -80,11 +80,17 @@
 
   <!-- Should Java compilations set the 'optimize' compiler option? -->
   <property name="compile.optimize"        value="true"/>
+  
+  
+   <property name="common.class.dir"
+              location="${basedir}/../common/target/classes"
+     />
 
   <!-- Construct compile classpath -->
   <path id="compile.classpath">
     <pathelement location="${build.home}/classes"/>
     <pathelement location="${junit.jar}"/>
+    <pathelement location="${common.class.dir}"/>
   </path>
 
 <!-- ========== Test Execution Defaults =================================== -->
@@ -225,15 +231,20 @@
 
   <target name="compile" depends="static"
           description="Compile shareable components">
-    <javac srcdir      ="${source.home}/java/core"
+    <javac srcdir      ="${source.home}/java/"
            destdir     ="${build.home}/classes"
            debug       ="${compile.debug}"
            deprecation ="${compile.deprecation}"
            optimize    ="${compile.optimize}">
-           <src path="${source.home}/java/core"/>
-           <src path="${source.home}/java/ant"/>
+
       <classpath refid="compile.classpath"/>
     </javac>
+    <copy todir="${build.home}/classes" >
+    	<fileset dir="${build.home}/classes" >
+    		<include  name="version"/>
+    		<include  name="version-antlib.xml"/>
+    	</fileset>
+    </copy>
   </target>
 
   <target name="compile.tests" depends="compile"

Mime
View raw message