Update of /cvsroot/junit/junit
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv4902
Modified Files:
build.xml
Log Message:
Created a separate build directory for new build scripts, including FTP upload
Index: build.xml
===================================================================
RCS file: /cvsroot/junit/junit/build.xml,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- build.xml 7 Mar 2007 19:47:59 -0000 1.23
+++ build.xml 10 Mar 2007 07:10:32 -0000 1.24
@@ -11,7 +11,8 @@
<property name="jarfile" value="junit-${version}.jar" />
<property name="javadocdir" value="${dist}/javadoc" />
<property name="javadoczip" value="${dist}-javadoc.zip" />
-
+ <property name="javadocpackages" value="org.junit, org.junit.runner, org.junit.runner.description, org.junit.runner.manipulation, org.junit.runner.notification, org.junit.runners" />
+
<target name="init">
<tstamp/>
</target>
@@ -65,7 +66,7 @@
</antcall>
<antcall target="javadoc" />
-
+
<copy todir="${dist}/doc">
<fileset dir="doc"/>
</copy>
@@ -89,10 +90,10 @@
<zip basedir="${javadocdir}" file="${javadoczip}" />
</target>
- <target name="javadoc">
+ <target name="javadoc">
<mkdir dir="${javadocdir}" />
<javadoc sourcepath="${src}"
- packagenames="org.junit, org.junit.runner, org.junit.runner.description, org.junit.runner.manipulation, org.junit.runner.notification, org.junit.runners"
+ packagenames="${javadocpackages}"
destdir="${javadocdir}"
author="false"
version="false"
@@ -115,4 +116,15 @@
<delete file="${javadoczip}" />
</target>
+
+ <target name="upload.to.sourceforge">
+ <ftp server="upload.sourceforge.net"
+ userid="anonymous"
+ password="sa...@mi..."
+ remotedir="incoming"
+ >
+ <fileset dir="${dist}" includes="*.jar" />
+ <fileset file="${zipfile}" />
+ </ftp>
+ </target>
</project>
|