ehatcher2003/04/29 12:42:00
Modified:proposal/xdocs build.xml
Added: proposal/xdocs/metadata xdoclet.xml
proposal/xdocs/src/org/apache/ant/xdoclet AntDocletTask.java
AntSubTask.java IndexGen.java
TaskDefPropertiesSubTask.java
TaskDescriptorSubTask.java TaskTagsHandler.java
proposal/xdocs/src/org/apache/ant/xdoclet/resources
task_xml.xdt taskdef_properties.xdt
Removed: proposal/xdocs/lib xdoclet-apache-module-1.2b3-dev.jar
proposal/xdocs/src/org/apache/tools/ant/xdoclet
AntXDocletTask.java DatatypeSubTask.java
DatatypeTagsHandler.java IndexGen.java
Log:
migrated Ant XDoclet code here, to maintain it easier
Revision ChangesPath
1.22 +18 -5 ant/proposal/xdocs/build.xml
Index: build.xml
===
RCS file: /home/cvs/ant/proposal/xdocs/build.xml,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- build.xml 16 Mar 2003 02:33:59 - 1.21
+++ build.xml 29 Apr 2003 19:41:59 - 1.22
@@ -384,10 +384,14 @@
delete dir=${gen.dir}/
/target
- target name=gen depends=init
+ target name=gen depends=jar
taskdef name=antdoclet
- classname=xdoclet.modules.apache.ant.AntDocletTask
- classpathref=xdoclet.classpath/
+ classname=org.apache.ant.xdoclet.AntDocletTask
+ classpath
+path refid=xdoclet.classpath/
+pathelement location=${build.dir}/xdoclet-ant.jar/
+ /classpath
+/taskdef
antdoclet destdir=${gen.dir}
excludedtags=@version,@author
force=${xdoclet.force}
@@ -462,15 +466,24 @@
mkdir dir=${build.dir}/classes/
javac destdir=${build.dir}/classes
srcdir=src
+ deprecation=on
debug=true
- includes=**/IndexGen.java
+ classpathref=xdoclet.classpath
/
/target
+ target name=jar depends=compile
+jar destfile=${build.dir}/xdoclet-ant.jar
+ fileset dir=${build.dir}/classes/
+ metainf dir=metadata includes=xdoclet.xml/
+ fileset dir=src includes=**/*.xdt/
+/jar
+ /target
+
target name=indexgen depends=compile
taskdef name=indexgen
classpath=${build.dir}/classes
- classname=org.apache.tools.ant.xdoclet.IndexGen
+ classname=org.apache.ant.xdoclet.IndexGen
/
indexgen rootdir=${build.dir}/docs/manual/
/target
1.1 ant/proposal/xdocs/metadata/xdoclet.xml
Index: xdoclet.xml
===
?xml version=1.0 encoding=UTF-8?
!--
!DOCTYPE xdoclet-module PUBLIC -//XDoclet Team//DTD XDoclet Module 1.0//EN
http://xdoclet.sourceforge.net/dtd/xdoclet-module_1_0.dtd;
--
xdoclet-module
taghandler
namespace=Ant
class=org.apache.ant.xdoclet.TaskTagsHandler
/
subtask
name=taskdescriptor
implementation-class=org.apache.ant.xdoclet.TaskDescriptorSubTask
parent-task-class=org.apache.ant.xdoclet.AntDocletTask
/
subtask
name=taskdefproperties
implementation-class=org.apache.ant.xdoclet.TaskDefPropertiesSubTask
parent-task-class=org.apache.ant.xdoclet.AntDocletTask
/
/xdoclet-module
1.1
ant/proposal/xdocs/src/org/apache/ant/xdoclet/AntDocletTask.java
Index: AntDocletTask.java
===
/*
* The Apache Software License, Version 1.1
*
* Copyright (c) 2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
*notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
*notice, this list of conditions and the following disclaimer in
*the documentation and/or other materials provided with the
*distribution.
*
* 3. The end-user documentation included with the redistribution, if
*any, must include the following acknowlegement:
* This product includes software developed by the
*Apache Software Foundation (http://www.apache.org/).
*Alternately, this acknowlegement may appear in the software itself,
*if and wherever such third-party acknowlegements normally appear.
*
* 4. The names The Jakarta Project, Ant, and Apache Software
*