KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > xdoclet > modules > webwork > WebWorkConfigPropertiesSubTask


1 /*
2  * Copyright (c) 2001, 2002 The XDoclet team
3  * All rights reserved.
4  */

5 package xdoclet.modules.webwork;
6
7 import xdoclet.*;
8
9 /**
10  * Generates views.properties.
11  *
12  * @author Rickard Oberg (rickard@xpedio.com)
13  * @created September 4, 2001
14  * @ant.element display-name="WebWork views.properties" name="webworkconfigproperties"
15  * parent="xdoclet.modules.web.WebDocletTask"
16  * @version $Revision: 1.6 $
17  * @xdoclet.merge-file file="views.properties" relates-to="views.properties" description="Properties file containing
18  * forwards definitions."
19  */

20 public class WebWorkConfigPropertiesSubTask extends TemplateSubTask
21 {
22     protected static String JavaDoc DEFAULT_TEMPLATE_FILE = "resources/webwork_views.xdt";
23
24     protected static String JavaDoc GENERATED_FILE_NAME = "views.properties";
25
26     /**
27      * Describe what the WebWorkConfigPropertiesSubTask constructor does
28      */

29     public WebWorkConfigPropertiesSubTask()
30     {
31         setTemplateURL(getClass().getResource(DEFAULT_TEMPLATE_FILE));
32         setDestinationFile(GENERATED_FILE_NAME);
33         addOfType("webwork.action.Action");
34     }
35
36 }
37
Popular Tags