User: rinkrank
Date: 02/05/30 11:38:57
Modified: modules/apache/src/xdoclet/modules/apache/soap/ejb
ApacheSoapSubTask.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 -14
xdoclet/modules/apache/src/xdoclet/modules/apache/soap/ejb/ApacheSoapSubTask.java
Index: ApacheSoapSubTask.java
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/modules/apache/src/xdoclet/modules/apache/soap/ejb/ApacheSoapSubTask.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -w -r1.3 -r1.4
--- ApacheSoapSubTask.java 28 May 2002 22:58:07 -0000 1.3
+++ ApacheSoapSubTask.java 30 May 2002 18:38:56 -0000 1.4
@@ -17,13 +17,10 @@
* @author Ara Abrahamian ([EMAIL PROTECTED])
* @created Oct 15, 2001
* @xdoclet.subtask display-name="Apache SOAP" name="apachesoap"
parent="xdoclet.modules.ejb.EjbDocletTask"
- * @version $Revision: 1.3 $
+ * @version $Revision: 1.4 $
*/
public class ApacheSoapSubTask extends XmlSubTask
{
-
- public final static String SUBTASK_NAME = "apacheSoap";
-
private final static String SOAP_SCHEMA =
"http://xml.apache.org/xml-soap/deployment";
private static String DEFAULT_TEMPLATE_FILE = "resources/apache-soap.xdt";
@@ -54,16 +51,6 @@
//setPublicId( APACHE_SOAP_PUBLICID );
//setDtdURL(getClass().getResource( APACHE_SOAP_DTD_FILE_NAME_2_3 ));
- }
-
- /**
- * Gets the SubTaskName attribute of the ApacheSoapSubTask 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