Update of /cvsroot/xdoclet/xdoclet/modules/ibm/src/xdoclet/modules/ibm/websphere/web
In directory
sc8-pr-cvs1:/tmp/cvs-serv12145/xdoclet/modules/ibm/src/xdoclet/modules/ibm/websphere/web
Modified Files:
WebSphereWebXmlSubTask.java
Log Message:
fixes silly templateFile probelm
Index: WebSphereWebXmlSubTask.java
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/modules/ibm/src/xdoclet/modules/ibm/websphere/web/WebSphereWebXmlSubTask.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** WebSphereWebXmlSubTask.java 11 Sep 2002 08:58:22 -0000 1.4
--- WebSphereWebXmlSubTask.java 27 Nov 2002 14:25:08 -0000 1.5
***************
*** 95,105 ****
*/
private final static String
! BINDINGS_TEMPLATE_FILE = "resources/ibm-web-bnd_xsl.xdt";
!
! /**
! * The name for the file generated by the bindings template - ibm-web-bnd.xsl
! */
! private final static String
! GENERATED_BINDINGS_STYLESHEET_NAME = "ibm-web-bnd.xsl";
/**
--- 95,99 ----
*/
private final static String
! BINDINGS_TEMPLATE_FILE = "resources/ibm-web-bnd_xmi.xdt";
/**
***************
*** 114,124 ****
*/
private final static String
! EXTENSIONS_TEMPLATE_FILE = "resources/ibm-web-ext_xsl.xdt";
!
! /**
! * The name for the file generated by the extensions template - ibm-web-ext.xsl
! */
! private final static String
! GENERATED_EXTENSIONS_STYLESHEET_NAME = "ibm-web-ext.xsl";
/**
--- 108,112 ----
*/
private final static String
! EXTENSIONS_TEMPLATE_FILE = "resources/ibm-web-ext_xmi.xdt";
/**
***************
*** 129,138 ****
/**
- * The template file resource used to style web.xml into a form that can be used
by WebSphere
- */
- private final static String
- WEB_XML_STYLESHEET_RESOURCE = "resources/web.xsl";
-
- /**
* Flag indicating whether we've styled the web.xml file
*/
--- 117,120 ----
***************
*** 140,148 ****
/**
- * The name of the descriptor file being generated
- */
- private String descriptorFilename;
-
- /**
* The virtual host name. Used by the container to locate external resources and
EJBs required by a module or
* application. The value is not mandatory. "A virtual host is a configuration
enabling a single host machine to
--- 122,125 ----
***************
*** 416,426 ****
{
setTemplateURL(getClass().getResource(BINDINGS_TEMPLATE_FILE));
! setDestinationFile(GENERATED_BINDINGS_STYLESHEET_NAME);
! setDescriptorFilename(GENERATED_BINDINGS_FILE_NAME);
startProcess();
setTemplateURL(getClass().getResource(EXTENSIONS_TEMPLATE_FILE));
! setDestinationFile(GENERATED_EXTENSIONS_STYLESHEET_NAME);
! setDescriptorFilename(GENERATED_EXTENSIONS_FILE_NAME);
startProcess();
}
--- 393,401 ----
{
setTemplateURL(getClass().getResource(BINDINGS_TEMPLATE_FILE));
! setDestinationFile(GENERATED_BINDINGS_FILE_NAME);
startProcess();
setTemplateURL(getClass().getResource(EXTENSIONS_TEMPLATE_FILE));
! setDestinationFile(GENERATED_EXTENSIONS_FILE_NAME);
startProcess();
}
***************
*** 433,454 ****
protected void engineStarted() throws XDocletException
{
- }
-
- /**
- * @return the name of the deployment descriptor file being generated.
- */
- private String getDescriptorFilename()
- {
- return descriptorFilename;
- }
-
- /**
- * The name of the deployment descriptor file being generated.
- *
- * @param descriptorFilename the name of the deployment descriptor file being
generated
- */
- private void setDescriptorFilename(String descriptorFilename)
- {
- this.descriptorFilename = descriptorFilename;
}
}
--- 408,411 ----
-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T
handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel