Subject: Struts CodeMaker
Date: 26 Jul 2001
From
: Ravindran Ramaiah <ravi@sengen.com>

Modifications Made
1. Attached the header template with apache information
2. Package name with org.apache.struts.codemaker
3. Modifications in the validation.xml generation


Subject: Struts CodeMaker
Date: Mon, 25 Jun 2001 09:05:49 -0400
From: Ravindran Ramaiah <ravi@sengen.com>

I have developed a code generator for struts. It can generate Action and Form class by reading the JSP files.

I have been successfully using it for my project.

1. Introspects all the JSPs (including sub directories) from a root directory  specified on the struts.ini (./config/struts.ini)

2. Creates the Form bean elements for the "property" items in the JSPs (excluding any image and hidden property names). It also generates the Action file.

3. Package Name for the Root level files will be assigned with the name "CHANGE THIS LATER". For all other files under sub-directories, package name will be assigned as with the JSP file structures.


Subject: Code Generation.
Date: Mon, 6 Aug 2001 16:47:39 -0400
From: Ravindran Ramaiah <ravi@sengen.com>

I had completed the code for "Complete Struts Application" code generator. Meaning, it now generates Jsp's, Action and Form beans, validation.xml, struts-config.xml and web.xml in one pass. 

The same code can be used to generate JSP -> Action and Form beans alone(existing one).

Can you please try this once and if you feel its worth to add, you can either update to your site or apache.

To Generate Struts Application
------------------------------
1. Edit /config/jsp.xml, for the JSP information and /config/struts.ini for
output information.
2. Execute /bin/runJsp.bat

To Generate Action and Form beans from existing JSP's
-----------------------------------------------------
1. Edit /config/struts.ini for output information
2. Execute /bin/run.bat


Subject:  RE: about Struts CodeMaker
Date: Tue, 21 Aug 2001 13:38:22 -0400
From: Ravindran Ramaiah <ravi@sengen.com>

Following enhancements are made effective in the code and attached.

1. forwared slash in the forward tag of struts-config.xml
2. form-bean tag type attribute correction
3. default package name configurable through struts.ini file. If nothing
is specified package name will not be generated in the Java files.


DOWNLOAD THE LATEST SOURCE