Re: How to compile generated java code from test phase ?

2007-08-20 Thread Wayne Fay
I'm honestly not sure what the best/right approach would be in this situation. Off the top of my head, I have no idea if Maven can even handle your requirements, at least not with a single execution. But I can tell you what I might try... I would generate the java sources in the Maven test

Re: How to compile generated java code from test phase ?

2007-08-20 Thread Chuck Canning
I think the best way would be to create a plugin for your code generator and have it add the output directory to the test sources in the project object. On 8/19/07, Wayne Fay [EMAIL PROTECTED] wrote: I'm honestly not sure what the best/right approach would be in this situation. Off the top of

How to compile generated java code from test phase ?

2007-08-19 Thread Luciano Resende
I have some unit tests that generate some java files in the maven test phase. How can I tell maven to now compile these files as source ? -- Luciano Resende Apache Tuscany Committer http://people.apache.org/~lresende http://lresende.blogspot.com/