[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-857) Hiberate Code Generation doesn't allow generate code to separate output directories

Marshall Culpepper (JIRA) jira-events at lists.jboss.org
Mon Sep 10 06:38:11 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBIDE-857?page=comments#action_12376057 ] 
            
Marshall Culpepper commented on JBIDE-857:
------------------------------------------

Denis, 

I know it is possible to do this in ant with multiple <hibernatetool> calls, i.e.

<hibernatetool destdir="seam-ejb/EjbContent">
 <configuration configurationfile="xx"/>
 <hbm2java/>
</hibernatetool>

<hibernatetool destdir="seam-web/WebContent">
 <configuration configurationfile="xx"/>
 <hbmtemplate ... />
</hibernatetool>

Couldn't you just create seperate Code Generation Launch Configurations, one for the EJB project, one for the Web Project?

A new UI for specific output directories would be extremely awkward for the user and non-trivial to implement as well..

> Hiberate Code Generation doesn't allow generate code to separate output directories
> -----------------------------------------------------------------------------------
>
>                 Key: JBIDE-857
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-857
>             Project: JBoss Tools
>          Issue Type: Feature Request
>    Affects Versions: 2.0.0.Beta3
>            Reporter: Denis Golovin
>         Assigned To: Max Andersen
>             Fix For: 2.0.0.Beta4
>
>
> For example during Entity Generation Entity classes should go to EJB Project, at the same time xhtml pages to Dynamic Web Project web content.

-- 
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 jbosstools-issues mailing list