CVS: junit build.xml,1.23,1.24

David Saff <[email protected]>
Newsgroups gmane.comp.java.junit.devel
Message-ID <[email protected]>
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="[email protected]"
+		     remotedir="incoming"
+		>
+			<fileset dir="${dist}" includes="*.jar" />
+			<fileset file="${zipfile}" />
+		</ftp>
+	</target>
 </project>


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.