User: rinkrank
Date: 02/05/30 11:39:05
Modified: modules/macromedia/src/xdoclet/modules/macromedia/jrun/web
JRunWebXmlSubTask.java
Log:
Refactoring which removes redundant subtask names (both in @xdoclet.subtask
name="blabla" and in code)
-Removed the static SUBTASK_NAME and overridden getSubTaskName() from all SubTasks
(it's final now in SubTask)
-DocletTask stores all subtask names in a Class->String Map, using the name from
xdoclet.xml (which in turn comes from @xdoclet.subtask name="blabla"
-All references to SomeSubTask.SUBTASK_NAME replaced by a call to
DocletTask.getSubTaskName(Class subTaskClass)
-Improved error reporting in DocletTask
-Reverted the ejbjarxml/webxml to deploymentdescriptor
-Added omit.docs flag in xdoclet/build.xml set it to true in ANT_OPTS for faster
build
Revision Changes Path
1.4 +1 -17
xdoclet/modules/macromedia/src/xdoclet/modules/macromedia/jrun/web/JRunWebXmlSubTask.java
Index: JRunWebXmlSubTask.java
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/modules/macromedia/src/xdoclet/modules/macromedia/jrun/web/JRunWebXmlSubTask.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -w -r1.3 -r1.4
--- JRunWebXmlSubTask.java 28 May 2002 22:35:19 -0000 1.3
+++ JRunWebXmlSubTask.java 30 May 2002 18:39:05 -0000 1.4
@@ -14,18 +14,13 @@
* @author Dan Schaffer ([EMAIL PROTECTED])
* @created February 7, 2002
* @xdoclet:subtask display-name="JRun" name="jrunwebxml"
parent="xdoclet.modules.web.WebDocletTask"
- * @version $Revision: 1.3 $
+ * @version $Revision: 1.4 $
*/
public class JRunWebXmlSubTask extends XmlSubTask
{
/**
* @todo-javadoc Describe the field
*/
- public final static String SUBTASK_NAME = "jrunWebXml";
-
- /**
- * @todo-javadoc Describe the field
- */
private final static String JRUN_WEB_PUBLICID = "-//Macromedia, Inc.//DTD
jrun-web 4.0//EN";
/**
* @todo-javadoc Describe the field
@@ -76,17 +71,6 @@
setPublicId(JRUN_WEB_PUBLICID);
setSystemId(JRUN_WEB_SYSTEMID);
setDtdURL(getClass().getResource(JRUN_WEB_DTD_FILE_NAME));
- }
-
-
- /**
- * Gets the SubTaskName attribute of the JRunWebXmlSubTask object
- *
- * @return The SubTaskName value
- */
- public String getSubTaskName()
- {
- return SUBTASK_NAME;
}
_______________________________________________________________
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