Update of /cvsroot/xdoclet/xdoclet/modules/borland/src/xdoclet/modules/borland/bes/ejb
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3438

Modified Files:
        BorlandSubTask.java 
Log Message:
Move initialisation of settings to constructor.  Fixes XDT-1073, I hope.



Index: BorlandSubTask.java
===================================================================
RCS file: 
/cvsroot/xdoclet/xdoclet/modules/borland/src/xdoclet/modules/borland/bes/ejb/BorlandSubTask.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** BorlandSubTask.java 23 Mar 2003 13:55:37 -0000      1.2
--- BorlandSubTask.java 20 Sep 2004 23:16:25 -0000      1.3
***************
*** 56,59 ****
--- 56,68 ----
      private boolean _createTables = false;
  
+     public BorlandSubTask()
+     {
+         setTemplateURL(getClass().getResource(DEFAULT_TEMPLATE_FILE));
+         setDestinationFile(BORLAND_DD_FILE_NAME);
+         setPublicId(BORLAND_DD_PUBLICID);
+         setSystemId(BORLAND_DD_SYSTEMID);
+         setDtdURL(getClass().getResource(BORLAND_DTD_FILE_NAME));
+     }
+ 
      /**
       * Gets the Version attribute of the BorlandSubTask object
***************
*** 146,164 ****
       * @exception XDocletException  Describe the exception
       */
-     public void execute() throws XDocletException
-     {
-         setTemplateURL(getClass().getResource(DEFAULT_TEMPLATE_FILE));
-         setDestinationFile(BORLAND_DD_FILE_NAME);
-         setPublicId(BORLAND_DD_PUBLICID);
-         setSystemId(BORLAND_DD_SYSTEMID);
-         setDtdURL(getClass().getResource(BORLAND_DTD_FILE_NAME));
-         startProcess();
-     }
- 
-     /**
-      * Describe what the method does
-      *
-      * @exception XDocletException  Describe the exception
-      */
      protected void engineStarted() throws XDocletException
      {
--- 155,158 ----



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to