Skip to main content

Source code Changes To

repository / build.xml

From revision 203 to 204:

diff -r 5144970a131a -r 0d3596dee60a build.xml
--- a/build.xml	Sun Mar 23 19:07:32 2008 +0000
+++ b/build.xml	Sun Mar 23 19:43:53 2008 +0000
@@ -1,6 +1,5 @@
 <project name="quickcheck" default="dist">
 
-	<property name="src.test" value="test" />
 	<property name="src" value="src" />
 	<property name="test.src" value="test" />
 	<property name="lib" value="lib/bin" />
@@ -9,7 +8,8 @@
 	<property name="test.classes" value="${build}/test_classes" />
 	<property name="dirst" value="dist" />
 	<property name="jar.dir" value="${build}/jar" />
-	<property name="version" value="0.3a" />
+	<property name="version" value="0.3" />
+	<property name="product" value="${ant.project.name} ${version}"/>
 	<property name="filename" value="${ant.project.name}.${version}" />
 	<property name="jar.file" value="${jar.dir}/${filename}.jar" />
 	<property name="src.jar.file" value="${jar.dir}/${ant.project.name}-src.${version}.zip" />
@@ -67,14 +67,16 @@
 
 		<mkdir dir="${jar.dir}" />
 		<jar destfile="${jar.file}" basedir="${classes}" includes="**">
-
+			<manifest><attribute name="version" value="${product}"/></manifest>
 		</jar>
 		<jar destfile="${src.jar.file}">
 			<fileset dir="${src}" includes="**" />
 			<fileset dir="." includes="*.xml" />
+			<manifest><attribute name="version" value="${product}"/></manifest>
 		</jar>
 		<jar destfile="${javadoc.jar.file}">
 			<fileset dir="${javadoc}" includes="**" />
+			<manifest><attribute name="version" value="${product}"/></manifest>
 		</jar>
 	</target>
 
@@ -92,8 +94,9 @@
 
 	<target name="javadoc">
 		<mkdir dir="${javadoc}" />
+		
 		<javadoc excludepackagenames="net.java.quickcheck.io, 
-				net.java.quickcheck.util" sourcepath="${src}" destdir="${javadoc}" version="true" use="true" windowtitle="${ant.project.name} ${version}">
+				net.java.quickcheck.util" sourcepath="${src}" destdir="${javadoc}" version="true" use="true" footer="${product}" doctitle="${product}" windowtitle="${product}">
 			<classpath refid="src.classpath" />
 		</javadoc>
 	</target>

 
 
Close
loading
Please Confirm
Close