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 10303 - incubator/depot/trunk/version
Date Tue, 27 Apr 2004 06:00:09 GMT
Author: nickchalko
Date: Mon Apr 26 23:00:08 2004
New Revision: 10303

Modified:
   incubator/depot/trunk/version/build.xml
Log:
set the correct antlets repo.

Modified: incubator/depot/trunk/version/build.xml
==============================================================================
--- incubator/depot/trunk/version/build.xml	(original)
+++ incubator/depot/trunk/version/build.xml	Mon Apr 26 23:00:08 2004
@@ -26,7 +26,7 @@
 	<property name="project.name" value="depot-version" />
 	<property name="project.version" value="0.1-dev-${DSTAMP}" />
 	<property name="project.src.dir" value="src/java" />
-	
+
 	<property name="project.test.dir" value="src/test" />
 
 
@@ -47,12 +47,14 @@
     
     But this is not gump friendly need to think about it .
     -->
-	<importer name="init-0.1" href="http://metamorphosis.krysalis.org/antlet/" />
-	<importer name="makeantlet-0.2" href="http://metamorphosis.krysalis.org/antlet/" />
-	<importer name="java-0.1" href="http://metamorphosis.krysalis.org/antlet/" />
-	<importer name="junit-0.1" href="http://metamorphosis.krysalis.org/antlet/" />
-	<importer name="forrest_0_6-0.1" href="http://metamorphosis.krysalis.org/antlet/" />
-	<importer name="apache-0.1" href="http://metamorphosis.krysalis.org/antlet/" />
+	<property name="antlets.repo" value="http://antworks.sourceforge.net/library/antlets/"
/>
+	
+	<importer name="init-0.1" href="${antlets.repo}" />
+	<importer name="makeantlet-0.2" href="${antlets.repo}" />
+	<importer name="java-0.1" href="${antlets.repo}" />
+	<importer name="junit-0.1" href="${antlets.repo}" />
+	<importer name="forrest_0_6-0.1" href="${antlets.repo}" />
+	<importer name="apache-0.1" href="${antlets.repo}" />
 
 
 
@@ -64,8 +66,18 @@
 
 
 	<target name="all" depends="dist-jar,make-antlet" />
-	
-	
+
+	<target name="compile" depends="hand-stamp,java.antlet.compile" />
+
+	<target name="hand-stamp" description="Hand create a version stamp">
+		<copy file="${project.src.dir}/org/apache/depot/version/version/Version.java.txt"
+		      tofile="${project.src.dir}/org/apache/depot/version/version/Version.java"
+		      overwrite="true">
+			<filterset>
+				<filter token="project.version" value="${project.version}" />
+			</filterset>
+		</copy>
+	</target>
 	<target name="pre-make-antlet" depends="antlet-prep-makeantlet">
 		<mkdir dir="${makeantlet.antlet.namedbuild.dir}/lib" />
 		<copy todir="${makeantlet.antlet.namedbuild.dir}/lib">
@@ -80,6 +92,6 @@
 
 	<target name="gump" depends="all,install-antlet">
 		<move file="${dist.dir}/${project.name}-${project.version}.jar"
-		      tofile="${dist.dir}/${project.name}-gump-${DSTAMP}.jar" /> 
+		      tofile="${dist.dir}/${project.name}-gump-${DSTAMP}.jar" />
 	</target>
 </project>

Mime
View raw message