Well, my code generator is attached and it works, the problem is that
the code generator itself has to be compiled first.

regards
Leon

On Fri, Oct 29, 2010 at 11:10 PM, Paul Benedict <[email protected]> wrote:
> On Fri, Oct 29, 2010 at 4:03 PM, Leon Rosenberg
> <[email protected]> wrote:
>> Hi,
>>
>> I have following requirement. I have a project, in which I have one
>> source folder which contains a code generator (run with apt), another
>> source folder
>> which contains code, which is processed by the generator from folder
>> 1, and a third folder that relies on the code generated by the second
>> folder.
>> Therefor I need two compilation executions after each other, one for
>> the generator and one for the generated code.
>> Is this possible with maven?
>>
>
> Yes. Attach your APT generation to "generate-sources" phase. That will
> be included in the following "compile" phase.... but, I believe, the
> plugin that generates the sources has to be smart enough to add it to
> the class path.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to