User: ara_e_w
Date: 02/05/23 15:25:06
Modified: core/src/xdoclet Tag: MODULE_REFACTORING_BRANCH
TemplateSubTask.java
Log:
Implemented <externalizer/> subtask. It generates (externalizes) a properties file
by looking after some specified tags in code. We use it in core and modules for
generating message bundle files. As an example two classes were modified to contain
@msg:bundle tags. It was tricky for core, because of chicken/egg problem :-)
Revision Changes Path
No revision
No revision
1.41.2.12 +2 -1 xdoclet/core/src/xdoclet/TemplateSubTask.java
Index: TemplateSubTask.java
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/core/src/xdoclet/TemplateSubTask.java,v
retrieving revision 1.41.2.11
retrieving revision 1.41.2.12
diff -u -w -r1.41.2.11 -r1.41.2.12
--- TemplateSubTask.java 21 May 2002 20:25:06 -0000 1.41.2.11
+++ TemplateSubTask.java 23 May 2002 22:25:06 -0000 1.41.2.12
@@ -34,7 +34,7 @@
* @author Ara Abrahamian ([EMAIL PROTECTED])
* @created Sep 25, 2001
* @xdoclet:subtask name="template" parent="xdoclet.DocletTask"
- * @version $Revision: 1.41.2.11 $
+ * @version $Revision: 1.41.2.12 $
*/
public class TemplateSubTask extends SubTask
{
@@ -434,6 +434,7 @@
* Called to validate configuration parameters.
*
* @exception XDocletException Description of Exception
+ * @msg:bundle id="template_parameter_missing" msg="template
parameter is missing."
*/
public void validateOptions() throws XDocletException
{
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel