User: rinkrank
Date: 02/05/30 11:39:04
Modified: modules/ibm/src/xdoclet/modules/ibm/websphere/ejb
WebSphereSubTask.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.3 +1 -13
xdoclet/modules/ibm/src/xdoclet/modules/ibm/websphere/ejb/WebSphereSubTask.java
Index: WebSphereSubTask.java
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/modules/ibm/src/xdoclet/modules/ibm/websphere/ejb/WebSphereSubTask.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -w -r1.2 -r1.3
--- WebSphereSubTask.java 28 May 2002 22:35:32 -0000 1.2
+++ WebSphereSubTask.java 30 May 2002 18:39:04 -0000 1.3
@@ -19,12 +19,10 @@
* @author Minh Yie
* @created 15 August 2001
* @xdoclet:subtask display-name="WebSphere" name="websphere"
parent="xdoclet.modules.ejb.EjbDocletTask"
- * @version $Revision: 1.2 $
+ * @version $Revision: 1.3 $
*/
public class WebSphereSubTask extends AbstractEjbDeploymentDescriptorSubTask
{
- public final static String SUBTASK_NAME = "websphere";
-
private static String WEBSPHERE_DEFAULT_BND_TEMPLATE_FILE =
"resources/ibm-ejb-jar-bnd_xmi.xdt";
private static String WEBSPHERE_DD_BND_FILE_NAME = "ibm-ejb-jar-bnd.xmi";
@@ -40,16 +38,6 @@
public WebSphereSubTask()
{
setUseIds(true);
- }
-
- /**
- * Gets the SubTaskName attribute of the WebSphereSubTask 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