You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@depot.apache.org by mm...@apache.org on 2004/07/09 20:12:38 UTC

svn commit: rev 22758 - incubator/depot/trunk/common

Author: mmay
Date: Fri Jul  9 13:12:38 2004
New Revision: 22758

Added:
   incubator/depot/trunk/common/build-ant-get.xml
Modified:
   incubator/depot/trunk/common/build.xml
Log:
Added needed jars


Added: incubator/depot/trunk/common/build-ant-get.xml
==============================================================================
--- (empty file)
+++ incubator/depot/trunk/common/build-ant-get.xml	Fri Jul  9 13:12:38 2004
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--$Id: $-->
+<!--This is a autogenerated file designed to be checked in to Source Control-->
+<project default="get-all" name="">
+	<property name="depot.home" value="${user.home}/.apache.depot" />
+	<property name="repository.dir" value="${depot.home}/local-repository" />
+	<fileset id="depot-update.dependent.jars.fileset" dir="${repository.dir}">
+		<include name="junit/jars/junit-3.8.jar" />		
+		<include name="ant/jars/ant-1.6.1.jar" />		
+	</fileset>
+	<target name="get-all"
+	        depends="get-junit,get-ant" />
+	<target name="get-junit">
+		<mkdir dir="${repository.dir}/junit/jars/" />
+		<get verbose="true"
+		     usetimestamp="true"
+		     dest="${repository.dir}/junit/jars/junit-3.8.jar"
+		     src="http://www.ibiblio.org/maven/junit/jars/junit-3.8.jar" />
+	</target>	
+	<target name="get-ant">
+		<mkdir dir="${repository.dir}/ant/jars/" />
+		<get verbose="true"
+		     usetimestamp="true"
+		     dest="${repository.dir}/ant/jars/ant-1.6.1.jar"
+		     src="http://www.ibiblio.org/maven/ant/jars/ant-1.6.1.jar" />
+	</target>	
+</project>

Modified: incubator/depot/trunk/common/build.xml
==============================================================================
--- incubator/depot/trunk/common/build.xml	(original)
+++ incubator/depot/trunk/common/build.xml	Fri Jul  9 13:12:38 2004
@@ -43,14 +43,22 @@
 	<importer name="forrest_0_6-0.1" href="${antlets.repo}" />
 	<importer name="apache-0.1" href="${antlets.repo}" />
 
+	<fileset id="depot-common.dependent.jars.fileset" dir=".">
+		<include name="lib/*.jar" />
+	</fileset>
+	<import file="build-ant-get.xml" />
+
 	<path id="depot-common.classpath">
+		<fileset refid="depot-common.dependent.jars.fileset" />
 		<fileset dir=".">
 			<include name="lib/*.jar" />
 		</fileset>
 	</path>
-
-
+	
 	<target name="all" depends="compile" />
+	<target name="compile" depends="-init-path,java.antlet.compile" />
+	<target name="-init-path" depends="get-all"/>	
+	
 	<target name="gump" depends="compile,dist-jar">
 		<move file="${dist.dir}/${project.name}-${project.version}.jar"
 		      tofile="${dist.dir}/${project.name}-gump-${DSTAMP}.jar" />