User: ara_e_w
Date: 02/05/03 04:40:24
Modified: modules/bea/src/xdoclet/modules/bea/wls/ejb Tag:
MODULE_REFACTORING_BRANCH WebLogicSubTask.java
WeblogicRelationTagsHandler.java
Log:
opps, forgot to move these files
Revision Changes Path
No revision
No revision
1.1.2.4 +8 -12
xdoclet/modules/bea/src/xdoclet/modules/bea/wls/ejb/Attic/WebLogicSubTask.java
Index: WebLogicSubTask.java
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/modules/bea/src/xdoclet/modules/bea/wls/ejb/Attic/WebLogicSubTask.java,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -u -w -r1.1.2.3 -r1.1.2.4
--- WebLogicSubTask.java 2 May 2002 20:20:31 -0000 1.1.2.3
+++ WebLogicSubTask.java 3 May 2002 11:40:24 -0000 1.1.2.4
@@ -20,14 +20,10 @@
*
* @author <a href="mailto:[EMAIL PROTECTED]">Aslak Helles�y</a>
* @created Sept 11, 2001
- * @version $Revision: 1.1.2.3 $
+ * @version $Revision: 1.1.2.4 $
*/
-public class WebLogicSubTask extends AbstractEjbDeploymentDescriptorSubTask {
- /**
- * @todo make a getDir() method in superclass that we can use. It can use
classname and convert to dir.
- */
- private static final String RESOURCES_DIR = "/xdoclet/bea/wls/ejb/";
-
+public class WebLogicSubTask extends AbstractEjbDeploymentDescriptorSubTask
+{
/**
* @todo-javadoc Describe the field
*/
@@ -48,7 +44,7 @@
/**
* @todo-javadoc Describe the field
*/
- private final static String WEBLOGIC_DEFAULT_TEMPLATE_FILE = RESOURCES_DIR +
"weblogic-ejb-jar-xml.j";
+ private final static String WEBLOGIC_DEFAULT_TEMPLATE_FILE =
"resources/weblogic-ejb-jar-xml.xdt";
/**
* @todo-javadoc Describe the field
*/
@@ -64,12 +60,12 @@
/**
* @todo-javadoc Describe the field
*/
- private final static String WEBLOGIC_DTD_FILE_NAME = RESOURCES_DIR +
"weblogic600-ejb-jar.dtd";
+ private final static String WEBLOGIC_DTD_FILE_NAME =
"resources/weblogic600-ejb-jar.dtd";
/**
* @todo-javadoc Describe the field
*/
- private final static String WEBLOGIC_CMP_DEFAULT_TEMPLATE_FILE = RESOURCES_DIR
+ "weblogic-cmp-rdbms-jar-xml.j";
+ private final static String WEBLOGIC_CMP_DEFAULT_TEMPLATE_FILE =
"resources/weblogic-cmp-rdbms-jar-xml.xdt";
/**
* @todo-javadoc Describe the field
*/
@@ -93,11 +89,11 @@
/**
* @todo-javadoc Describe the field
*/
- private final static String WEBLOGIC_CMP11_DTD_FILE_NAME = RESOURCES_DIR +
"weblogic-rdbms11-persistence-600.dtd";
+ private final static String WEBLOGIC_CMP11_DTD_FILE_NAME =
"resources/weblogic-rdbms11-persistence-600.dtd";
/**
* @todo-javadoc Describe the field
*/
- private final static String WEBLOGIC_CMP20_DTD_FILE_NAME = RESOURCES_DIR +
"weblogic-rdbms20-persistence-600.dtd";
+ private final static String WEBLOGIC_CMP20_DTD_FILE_NAME =
"resources/weblogic-rdbms20-persistence-600.dtd";
// public WebLogicSubTask() {
// register all the tag handlers we need. No need to specify it in
xdoclet.xml or
1.1.2.3 +3 -3
xdoclet/modules/bea/src/xdoclet/modules/bea/wls/ejb/Attic/WeblogicRelationTagsHandler.java
Index: WeblogicRelationTagsHandler.java
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/modules/bea/src/xdoclet/modules/bea/wls/ejb/Attic/WeblogicRelationTagsHandler.java,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -w -r1.1.2.2 -r1.1.2.3
--- WeblogicRelationTagsHandler.java 27 Apr 2002 13:53:34 -0000 1.1.2.2
+++ WeblogicRelationTagsHandler.java 3 May 2002 11:40:24 -0000 1.1.2.3
@@ -18,7 +18,7 @@
* @xdoclet:taghandler namespace="WlEjbRel"
*
* @author <a href="mailto:[EMAIL PROTECTED]">Aslak Helles�y</a>
- * @version $Revision: 1.1.2.2 $
+ * @version $Revision: 1.1.2.3 $
*/
public class WeblogicRelationTagsHandler extends RelationTagsHandler {
/**
@@ -142,10 +142,10 @@
joinTableName = rightJoinTableName;
}
if (leftJoinTableName != null && rightJoinTableName != null) {
- throw new
XDocletException(Translator.getString("xdoclet.ejb.vendor.WeblogicMessages",
"join_table_name_only_one_side"));
+ throw new
XDocletException(Translator.getString("xdoclet.modules.bea.wls.ejb.resources.Messages",
"join_table_name_only_one_side"));
}
if (leftJoinTableName == null && rightJoinTableName == null) {
- throw new
XDocletException(Translator.getString("xdoclet.ejb.vendor.WeblogicMessages",
+ throw new
XDocletException(Translator.getString("xdoclet.modules.bea.wls.ejb.resources.Messages",
"join_table_name_needed", new
String[]{relationName()}));
}
return joinTableName;
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel