[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1136) Support multiple projects in Seam Gen

Dan Allen (JIRA) jira-events at lists.jboss.org
Sun Jul 15 01:08:03 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-1136?page=comments#action_12369000 ] 
            
Dan Allen commented on JBSEAM-1136:
-----------------------------------

I think this issue is really important. I am using seam-gen to manage a number of different projects now, and having to constantly remember to copy the build.properties file from a safe location into place in the seam-gen directory to regenerate stuff for the project is become quite labor intensive. Granted, eventually a project "graduates" from the seam-gen lab, but when you are starting 3 prototypes at once, you run into this issue.

For example, if I have three projects, and a database changes that one of those project uses, I have to restore build.properties specific for that project to run the generate-entities command again.

Fixing this issue is actually quite simple. We just need to add a profile property that indicates which build.properties file to load. You would pass that as an argument to ant. It would look something like:

./seam -Dprofile=project1 generate-entities

Obviously tools, such as the RHDS, would hide this behind a prompt or something.

> Support multiple projects in Seam Gen
> -------------------------------------
>
>                 Key: JBSEAM-1136
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1136
>             Project: JBoss Seam
>          Issue Type: Feature Request
>            Reporter: Michael Yuan
>         Assigned To: Michael Yuan
>            Priority: Minor
>
> Support seam-gen property files in project directories, and the SEAM_HOME/seam-gen/build.properties is just the "default" property file if you do not specify the target project.
> See the forum thread below for more discussions.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list