Do we want to do this so close to 1.0?

On Sat, 10 Jul 2004 13:33:30 +0100, Eric Pugh <[EMAIL PROTECTED]> wrote:
> Hi all,
> 
> Can we add maven.gen.src=${maven.build.dest}/generated-sources?
> 
> I've been doing a bunch of work with the Hibernate, Xdoclet, and Eclipse
> plugins for a client.  One of the challenges we had was getting source code
> generated via the Xdoclet and Hibernate plugins to play nice w/ a normal
> Maven build as well as using it within Eclipse.  Eclipse is their primary
> environment for their developers, so Maven had to play nice with Eclipse.
> 
> The biggest challenge was getting various generated code bits into the
> /target directory.  When we put files in /target/classes and then ran builds
> in Eclipse the /target/classes directory would be completely cleaned, and
> wiped out the generated code that was needed.
> 
> After chatting with JvZ, I added to the Eclipse plugin the ability to add as
> seperate source directories anything in ${maven.gen.src}.  So, after
> generating hibernate mapping files and a ddl I would have:
> /target/generated-sources/xdoclet
> /target/generated-sources/schema
> 
> and they would each be a source folder in Eclipse.  Works great.  However,
> because maven.gen.src is defined in the Eclipse plugin only, you have to
> specify for the hibernate and xdoclet plugins the full path to generate
> source into.  It would be much simpler if maven.gen.src worked the same way
> that maven.build.dest and other properties like that work.
> 
> Eric
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
http://www.multitask.com.au/people/dion/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to