anybody has a tool to extract variable and class names out of Java Business and Java-Struts-ActionForm classes into xml, i.e. a free-marker usable data format?
"Ralf Hauser" <[email protected]> Thu, 25 Sep 2003 12:05:53 +0200
| Newsgroups | gmane.comp.text.fmpp |
|---|---|
| Message-ID | <[email protected]> |
Hi, In a similar spirit as http://sourceforge.net/mailarchive/message.php?msg_id=6066563 re exporting sql field names etc. into an xml for fmpp usage, it would be great if for all Java Business and Java-Struts-ActionForm classes, the variable names could be distilled in an ant-able/batchable way into a JavaConstants.ftl file (possibly via an interim xml step) such that I could create <#assign jc_UserClassLoginVar="login" /> to use in struts as property of its <logic:... and <html:... tags. This would make the struts views much more manageable: If there was a way to extract the class and private variable names in a fmpp-able manner, this would be significant efficiency gain! Anybody on the list has a recommendation, please share! Regards Ralf P.S.: Shall I post this as RFEs to fmpp and freemarker on sourceforge? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf