Update of /cvsroot/xdoclet/xdoclet2/src/java/xdoclet/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv17169/src/java/xdoclet/plugins
Modified Files:
ScriptPlugin.java
Log Message:
SetTemplate never throws XDocletException. The check if the template name is there is
the resp of the implementor of the plugin.
Index: ScriptPlugin.java
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet2/src/java/xdoclet/plugins/ScriptPlugin.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** ScriptPlugin.java 8 Mar 2003 14:21:09 -0000 1.3
--- ScriptPlugin.java 9 Mar 2003 15:48:00 -0000 1.4
***************
*** 17,20 ****
--- 17,29 ----
/**
+ * Gets the template name.
+ *
+ * @return the template name
+ */
+ public final String getTemplateName() {
+ return _templatePath;
+ }
+
+ /**
* Sets the path to the template. This should be a relative path. The template
* will be searched for on the classpath, using the relative path inside
***************
*** 28,42 ****
}
- /**
- * Gets the template name.
- *
- * @return the template name.
- * @throws xdoclet.XDocletException if the templateName wasn't specified.
- */
- public final String getTemplateName()
- throws XDocletException {
- return _templatePath;
- }
-
protected void generateOneFileForAll(File file)
throws XDocletException {
--- 37,40 ----
***************
*** 51,56 ****
/**
* Generates a file.
* @param file file to be generated.
! * @throws xdoclet.XDocletException if generation fails.
*/
protected abstract void generate(File file)
--- 49,55 ----
/**
* Generates a file.
+ *
* @param file file to be generated.
! * @throws XDocletException if generation fails.
*/
protected abstract void generate(File file)
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel