buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <>
Subject Re: Compiling twice in one project
Date Thu, 10 Nov 2011 21:48:34 GMT

On Fri, Nov 11, 2011 at 4:35 AM, Allen Riddle <> wrote:
> I have a project that needs 1 .java file compiled to be fed to a JAXB
> compiler.  However, I'm unsure on how to essentially have a single project
> run a compile task twice.  My question is, using one project, how do I:
> 1.  Compile a .java file
> 2.  Invoke the JAXB compiler using the .class file from step one (I have
> this working)
> 3.  Compile the generated JAXB .java classes to .class files

I don't think there is any real way to do this. The way that I would
do it would be to have a separate project for the initial compile.


Peter Donald

View raw message