User: rinkrank
  Date: 02/02/22 08:28:20

  Modified:    core/src/xdoclet/web/vendor/webwork
                        WebWorkConfigPropertiesSubTask.java
                        WebWorkActionDocsSubTask.java
  Log:
  -renamed the setTemplateFile(URL) to setTemplateURL(URL)
  -changed File getTemplateFile() to URL getTemplateURL()
  
  This was needed for backwards compatibility. The TemplateSubTask still has
  a setTemplateURL that is called from Ant, and this method converts the File to an URL
  and calls setTemplateURL.
  
  Revision  Changes    Path
  1.8       +2 -2      
xdoclet/core/src/xdoclet/web/vendor/webwork/WebWorkConfigPropertiesSubTask.java
  
  Index: WebWorkConfigPropertiesSubTask.java
  ===================================================================
  RCS file: 
/cvsroot/xdoclet/xdoclet/core/src/xdoclet/web/vendor/webwork/WebWorkConfigPropertiesSubTask.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -w -r1.7 -r1.8
  --- WebWorkConfigPropertiesSubTask.java       11 Feb 2002 00:08:05 -0000      1.7
  +++ WebWorkConfigPropertiesSubTask.java       22 Feb 2002 16:28:19 -0000      1.8
  @@ -13,7 +13,7 @@
    *
    * @author    Rickard Oberg ([EMAIL PROTECTED])
    * @created   September 4, 2001
  - * @version   $Revision: 1.7 $
  + * @version   $Revision: 1.8 $
    */
   public class WebWorkConfigPropertiesSubTask extends TemplateSubTask
   {
  @@ -24,7 +24,7 @@
   
        public WebWorkConfigPropertiesSubTask()
        {
  -             setTemplateFile( getClass().getResource( DEFAULT_TEMPLATE_FILE ) );
  +             setTemplateURL( getClass().getResource( DEFAULT_TEMPLATE_FILE ) );
                setDestinationFile( GENERATED_FILE_NAME );
                setOfType( "webwork.action.Action" );
        }
  
  
  
  1.6       +2 -2      
xdoclet/core/src/xdoclet/web/vendor/webwork/WebWorkActionDocsSubTask.java
  
  Index: WebWorkActionDocsSubTask.java
  ===================================================================
  RCS file: 
/cvsroot/xdoclet/xdoclet/core/src/xdoclet/web/vendor/webwork/WebWorkActionDocsSubTask.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -w -r1.5 -r1.6
  --- WebWorkActionDocsSubTask.java     11 Feb 2002 00:08:05 -0000      1.5
  +++ WebWorkActionDocsSubTask.java     22 Feb 2002 16:28:19 -0000      1.6
  @@ -10,7 +10,7 @@
    *
    * @author    Rickard Oberg ([EMAIL PROTECTED])
    * @created   September 4, 2001
  - * @version   $Revision: 1.5 $
  + * @version   $Revision: 1.6 $
    */
   public class WebWorkActionDocsSubTask extends TemplateSubTask
   {
  @@ -22,7 +22,7 @@
   
        public WebWorkActionDocsSubTask()
        {
  -             setTemplateFile( getClass().getResource( DEFAULT_TEMPLATE_FILE ) );
  +             setTemplateURL( getClass().getResource( DEFAULT_TEMPLATE_FILE ) );
                setDestinationFile( GENERATED_FILE_NAME );
        }
   
  
  
  

_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to