User: rinkrank
Date: 02/10/08 18:33:21
Modified: src/xjavadoc/ant Tag: XDOCLET_2_0 XJavadocTask.java
Log:
-Added support for different XTag implementations
-Added getClasspath() util method in XJavadocTask
Revision Changes Path
No revision
No revision
1.25.2.1 +11 -1 xjavadoc/src/xjavadoc/ant/XJavadocTask.java
Index: XJavadocTask.java
===================================================================
RCS file: /cvsroot/xdoclet/xjavadoc/src/xjavadoc/ant/XJavadocTask.java,v
retrieving revision 1.25
retrieving revision 1.25.2.1
diff -u -w -r1.25 -r1.25.2.1
--- XJavadocTask.java 3 Oct 2002 20:16:21 -0000 1.25
+++ XJavadocTask.java 9 Oct 2002 01:33:20 -0000 1.25.2.1
@@ -7,6 +7,7 @@
import org.apache.tools.ant.Task;
import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.DirectoryScanner;
+import org.apache.tools.ant.AntClassLoader;
import org.apache.tools.ant.types.Path;
import org.apache.tools.ant.types.FileSet;
@@ -102,6 +103,16 @@
}
/**
+ * Returns the classpath
+ *
+ * @return the classpath
+ */
+ protected String getClasspath()
+ {
+ return ( ( AntClassLoader ) getClass().getClassLoader()
).getClasspath();
+ }
+
+ /**
* Implement this method and play with XJavaDoc.getInstance()
*
* @exception BuildException Ant's way of reporting exception
@@ -120,6 +131,5 @@
throw new BuildException( "At least one fileset must be
specified", location );
}
}
-
}
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel