[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-843) Generate application from existing entities
Pierre Raoul (JIRA)
jira-events at lists.jboss.org
Thu Aug 2 10:52:51 EDT 2007
[ http://jira.jboss.com/jira/browse/JBSEAM-843?page=all ]
Pierre Raoul updated JBSEAM-843:
--------------------------------
Attachment: build-jpa.xml
It is NOT a patch, but just a temporary trick. Put in seam-gen/build.xml:
<target name="generate-ui" depends="validate-project">
<ant antfile="build-jpa.xml"
target="generate-ui"
inheritrefs="true"
/>
</target>
and copy the file build-jpa.xml in directory seam-gen. Then use "genrate-ui" as any other targets of seam-gen.
About editproperty.xml.ftl.patch and viewproperty.xml.ftl.patch, they should be still ok.
If you want to use also the new target "create-entities", add a redirection target in seam-gen/build.xml as above for generate-ui
> Generate application from existing entities
> -------------------------------------------
>
> Key: JBSEAM-843
> URL: http://jira.jboss.com/jira/browse/JBSEAM-843
> Project: JBoss Seam
> Issue Type: Feature Request
> Components: Tools
> Affects Versions: 1.1.6.GA
> Reporter: Kent Lam
> Assigned To: Max Andersen
> Priority: Minor
> Attachments: build-jpa.xml, editproperty.xhtml.ftl.patch, seam-gen.patch, viewproperty.xhtml.ftl.patch
>
>
> Would it be great that seam-gen will generate crud pages and classes for an existing Entity class,just like seam-gen generate the crud pages,classes and entity classes from database.
> Thanks
--
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