CVS: jfor build.xml,1.8,1.9

Bertrand Delacretaz <[email protected]> Tue, 04 Jun 2002 08:48:09 -0700
Newsgroups gmane.text.xml.jfor.cvs
Message-ID <[email protected]>
Update of /cvsroot/jfor/jfor
In directory usw-pr-cvs1:/tmp/cvs-serv15060

Modified Files:
	build.xml 
Log Message:
testdocs target added

Index: build.xml
===================================================================
RCS file: /cvsroot/jfor/jfor/build.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** build.xml	31 Aug 2001 07:49:52 -0000	1.8
--- build.xml	4 Jun 2002 15:48:07 -0000	1.9
***************
*** 33,36 ****
--- 33,39 ----
  $Id$
  $Log$
+ Revision 1.9  2002/06/04 15:48:07  bdelacretaz
+ testdocs target added
+ 
  Revision 1.8  2001/08/31 07:49:52  bdelacretaz
  javadoc: package option set to true
***************
*** 68,72 ****
--- 71,77 ----
    <property name="build.classes" value="build/classes"/>
    <property name="build.javadocs" value="build/docs/api"/>
+   <property name="build.testdocs" value="build/testdocs"/>
    <property name="dist" value="dist"/>
+   <property name="dist.jar" value="${dist}/lib/jfor.jar"/>
  
    <!-- Establish compilation classpath -->
***************
*** 114,118 ****
      <mkdir dir="${dist}/lib"/>
      <!-- Put everything in ${build.classes} into the jfor.jar file -->
!     <jar jarfile="${dist}/lib/jfor.jar" basedir="${build.classes}"/>
    </target>
  
--- 119,123 ----
      <mkdir dir="${dist}/lib"/>
      <!-- Put everything in ${build.classes} into the jfor.jar file -->
!     <jar jarfile="${dist.jar}" basedir="${build.classes}"/>
    </target>
  
***************
*** 124,128 ****
  
    <!-- build javadoc -->
- 
    <target name="javadoc">
       <mkdir dir="${build.javadocs}"/>
--- 129,132 ----
***************
*** 135,141 ****
          noindex="true"
          windowtitle="jfor API"
!         doctitle="jfor" 
  	package="true"
  	/>
    </target>
  
--- 139,161 ----
          noindex="true"
          windowtitle="jfor API"
!         doctitle="jfor"
  	package="true"
  	/>
+   </target>
+ 
+   <!-- create the RTF example documents -->
+   <target name="testdocs" depends="dist">
+   	<mkdir dir="${build.testdocs}"/>
+ 	<path id="test.classpath">
+ 		<pathelement path="${dist.jar}"/>
+ 	</path>
+ 
+ 	<java
+ 		classname="org.jfor.jfor.rtflib.testdocs.CreateTestDocuments"
+ 		classpathref="test.classpath"
+ 		fork="yes"
+ 	>
+ 		<arg value="${build.testdocs}"/>
+ 	</java>
    </target>
  


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm