donaldp 02/05/12 00:09:26
Modified: . gen-blockinfo.xml
Log:
Update to latest phoenix Doclet task.
Revision Changes Path
1.3 +7 -46 jakarta-avalon-cornerstone/gen-blockinfo.xml
Index: gen-blockinfo.xml
===================================================================
RCS file: /home/cvs/jakarta-avalon-cornerstone/gen-blockinfo.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- gen-blockinfo.xml 26 Feb 2002 11:20:53 -0000 1.2
+++ gen-blockinfo.xml 12 May 2002 07:09:26 -0000 1.3
@@ -1,19 +1,6 @@
<?xml version="1.0"?>
-<!--
-==============================================================================
-
- Phoenix build file to generate BlockInfo from Javadoc tags
-
-Authors:
- Peter Donald <[EMAIL PROTECTED]>
-
-Legal:
- Copyright (c) 2002 The Apache Software Foundation. All Rights Reserved.
-
-==============================================================================
--->
-
+<!-- Sample Build file to generate BlockInfo from Javadoc tags -->
<project default="main" basedir=".">
<property name="src.base" value="src"/>
@@ -31,43 +18,17 @@
</path>
<!-- Main target -->
- <target name="main" depends="xdoclet" />
-
- <target name="check-uptodate">
- <!--
- <uptodate property="xdoclet.uptodate"
targetfile="${gen.dir}/${antlib.descriptor}" >
- <srcfiles dir= "${java.dir}" includes="${antlib.include}/*.java"/>
- </uptodate>
- -->
- </target>
-
- <!-- runs xdoclet if need be -->
- <target name="xdoclet" depends="check-uptodate" unless="xdoclet.uptodate">
- <taskdef name="xdoclet" classname="xdoclet.DocletTask"
classpathref="project.class.path"/>
-
- <xdoclet sourcepath="${java.dir}" destdir="${gen.dir}"
classpathref="project.class.path">
- <fileset dir="${java.dir}">
- <include
name="org/apache/avalon/cornerstone/blocks/connection/*.java"/>
- </fileset>
- <template templateFile="${manifest.dir}/blockinfo-template.xml"
- destinationfile="{0}.xml"
- ofType="org.apache.avalon.phoenix.Block"
- extent="hierarchy"/>
-
- <!--
- <template templateFile="${manifest.dir}/manifest-template.mf"
- destinationfile="cornerstone.mf"/>
- -->
- </xdoclet>
- </target>
+ <target name="main" depends="test-xdoclet" />
<!-- runs xdoclet if need be -->
<target name="test-xdoclet">
- <taskdef name="phoenix-blocks"
-
classname="org.apache.avalon.phoenix.tools.xdoclet.PhoenixXDoclet"
+ <taskdef name="phoenix-blocks"
+
classname="org.apache.avalon.phoenix.tools.xdoclet.PhoenixXDoclet"
classpathref="project.class.path"/>
- <phoenix-blocks sourcepath="${java.dir}" destdir="${gen.dir}"
classpathref="project.class.path">
+ <phoenix-blocks
+ destdir="${gen.dir}"
+ classpathref="project.class.path">
<fileset dir="${java.dir}">
<include name="**/*.java" />
</fileset>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>