User: rinkrank
Date: 02/05/15 11:55:43
Modified: modules/jboss/src/xdoclet/modules/jboss/web Tag:
MODULE_REFACTORING_BRANCH JBossWebXmlSubTask.java
Log:
-xdoclet.web.WebDocletTask -> xdoclet.modules.bweb.WebDocletTask in various places
-introduced ${xdoclet.root.dir} in stead of relative paths from ${basedir}
-modified classpath used when building xdoclet.xml (include previously built module
jars)
-removed common.xml. obsolete
-simplified module build scripts
-renamed deploymentdescriptor subtask (in ejb and web) to ejbjarxml and webxml. due
to duplicate key lookup in DocletTask
Revision Changes Path
No revision
No revision
1.1.2.5 +89 -86
xdoclet/modules/jboss/src/xdoclet/modules/jboss/web/Attic/JBossWebXmlSubTask.java
Index: JBossWebXmlSubTask.java
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/modules/jboss/src/xdoclet/modules/jboss/web/Attic/JBossWebXmlSubTask.java,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -u -w -r1.1.2.4 -r1.1.2.5
--- JBossWebXmlSubTask.java 9 May 2002 16:42:51 -0000 1.1.2.4
+++ JBossWebXmlSubTask.java 15 May 2002 18:55:43 -0000 1.1.2.5
@@ -4,26 +4,20 @@
*/
package xdoclet.modules.jboss.web;
-import xdoclet.XmlSubTask;
-
import java.io.File;
+import xdoclet.XmlSubTask;
+
/**
* Generates jboss-web.xml deployment descriptor.
*
- * @xdoclet:subtask name="jbosswebxml" parent="xdoclet.web.WebDocletTask"
- *
* @author Dmitri Colebatch ([EMAIL PROTECTED])
* @created August 9, 2001
- * @version $Revision: 1.1.2.4 $
- */
-public class JBossWebXmlSubTask extends XmlSubTask {
-
- /**
- * The Security Domain, defaults to "" because it is not included if not set in
- * the build.xml.
+ * @xdoclet:subtask name="jbosswebxml" parent="xdoclet.modules.web.WebDocletTask"
+ * @version $Revision: 1.1.2.5 $
*/
- protected String securityDomain = "";
+public class JBossWebXmlSubTask extends XmlSubTask
+{
/**
* @todo-javadoc Describe the field
*/
@@ -52,13 +46,19 @@
*/
private static String GENERATED_FILE_NAME = "jboss-web.xml";
+ /**
+ * The Security Domain, defaults to "" because it is not included if not set in
the build.xml.
+ */
+ protected String securityDomain = "";
+
/**
* Describe what the JBossWebXmlSubTask constructor does
*
* @todo-javadoc Write javadocs for constructor
*/
- public JBossWebXmlSubTask() {
+ public JBossWebXmlSubTask()
+ {
setTemplateURL(getClass().getResource(DEFAULT_TEMPLATE_FILE));
setDestinationFile(GENERATED_FILE_NAME);
setPublicId(JBOSS_WEB_PUBLICID);
@@ -68,21 +68,12 @@
/**
- * Set the Security Domain.
- *
- * @param new_sec_dom The new Security Domain value
- */
- public void setSecuritydomain(String new_sec_dom) {
- securityDomain = new_sec_dom;
- }
-
-
- /**
* Gets the SubTaskName attribute of the JBossWebXmlSubTask object
*
* @return The SubTaskName value
*/
- public String getSubTaskName() {
+ public String getSubTaskName()
+ {
return SUBTASK_NAME;
}
@@ -92,8 +83,20 @@
*
* @return The Security Domain value
*/
- public String getSecuritydomain() {
+ public String getSecuritydomain()
+ {
return securityDomain;
}
+
+
+ /**
+ * Set the Security Domain.
+ *
+ * @param new_sec_dom The new Security Domain value
+ */
+ public void setSecuritydomain(String new_sec_dom)
+ {
+ securityDomain = new_sec_dom;
+ }
}
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel