Hi,

Is it possible to extract the value of a (constant) field ?

I'm trying to write a template to create a properties file (message bundle) form java constants.
My java files are of the form:

...
   /** @my.msg text="Some message text" */
   public static final String C_MSG_SOME_MESSAGE = "MY_SPECIAL_MESSAGE";
...

From this I would like this to generate a file containing lines like this:
...
MY_SPECIAL_MESSAGE = Some message text
...

The right hand side poses no problem, but I haven't found any way to generate the left hand side (using xdoclet).

Any suggestions...

Thanks,

Erik.






-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to