User: rinkrank
Date: 02/06/07 07:54:16
Modified: . build.xml
Log:
Migrated to Jakarta commons logging
Removed dead code from grammar
Minor changes I don't remember
JUnit is working again 100%
Revision Changes Path
1.37 +18 -12 xjavadoc/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/xdoclet/xjavadoc/build.xml,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -w -r1.36 -r1.37
--- build.xml 21 May 2002 18:46:49 -0000 1.36
+++ build.xml 7 Jun 2002 14:54:16 -0000 1.37
@@ -44,6 +44,9 @@
<fileset dir="${lib.dir}">
<include name="*.jar"/>
</fileset>
+ <fileset dir="${ant.home}/lib">
+ <include name="*.jar"/>
+ </fileset>
<pathelement path="${build.classes.dir}"/>
<pathelement path="${java.home}/../lib/tools.jar"/>
</path>
@@ -122,6 +125,7 @@
<taskdef
name="document"
classname="xdoclet.doc.DocumentDocletTask"
+ classpathref="classpath"
/>
<document
sourcepath="${java.src.dir}"
@@ -168,19 +172,9 @@
</target>
<!-- =================================================================== -->
- <!-- Runs JUnit Swing UI -->
- <!-- =================================================================== -->
- <target name="junit-swing" depends="compile" description="Runs the JUnit Swing
UI">
- <java classname="junit.swingui.TestRunner" fork="yes">
- <classpath refid="classpath"/>
- <jvmarg value="-Dlog4j.configuration=${log4j.properties.file}"/>
- </java>
- </target>
-
- <!-- =================================================================== -->
<!-- Generates JUnit tests -->
<!-- =================================================================== -->
- <target name="generate-tests" depends="clean,generate-parsers"
description="Generates JUnit tests">
+ <target name="generate-tests" depends="generate-parsers" description="Generates
JUnit tests">
<!--
WE'RE USING THE OLD XDOCLET, THE ONE THAT USES SUN'S JAVADOC.
IT'S TO SEE IF XJAVADOC DOES THE SAME JOB AS JAVADOC
@@ -188,14 +182,16 @@
<taskdef
name="xdoclet"
classname="xdoclet.DocletTask"
+ classpathref="classpath"
/>
<xdoclet
sourcepath="${build.java.src.dir}"
destdir="${build.java.src.dir}"
+ classpathref="classpath"
>
<fileset dir="${build.java.src.dir}">
- <exclude name="**/*.java"/>
+ <exclude name="**/*__GENERATED__Test.java"/>
</fileset>
<template
templateFile="${basedir}/etc/xjavadoctest.j"
@@ -203,6 +199,16 @@
subTaskClassName="xdoclet.NoInnerClassSubTask"
/>
</xdoclet>
+ </target>
+
+ <!-- =================================================================== -->
+ <!-- Runs JUnit Swing UI -->
+ <!-- =================================================================== -->
+ <target name="junit-swing" depends="generate-tests,compile" description="Runs
the JUnit Swing UI">
+ <java classname="junit.swingui.TestRunner" fork="yes">
+ <classpath refid="classpath"/>
+ <jvmarg value="-Dlog4j.configuration=${log4j.properties.file}"/>
+ </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
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel