Hi Siegfried,

Thanks for the response.  The build.xml in question is already being used by 
another project as part of their standard build process.  As such it compiles 
all the code for their jar and produces this jar as output.  It is not 
producing sources.

So yes it is creating a jar, but I think this isn't the one I want to install.  
It seems like I should be repackaging their compilation results as a normal 
maven jar (ie with pom.xml, pom.properties, etc.).  Is this not the correct 
view?

The  point of this integration from my perspective is actually to get their 
JAR in my repo with associated project info.  Since modifying their build 
system is not an option, and I don't want to create a parallel build system, 
I suppose their ant build system is in charge.  I just want to 'wrap' it with 
my maven build system, so that my build system runs smoothly.

Cheers,
Chris

Am Dienstag, 27. Februar 2007 12:02 schrieb Siegfried Goeschl:
> Hi Chris,
>
> what is your build.xml actually doing?! Is it creating sources than this
> is supported by the maven-antrun-plugin. If it is creating a JAR you
> might be able to upload it to your repo. So the main question is which
> build system is in charge ....
>
> Cheers,
>
> Siegfried Goeschl
>
> Chris Miner wrote:
> > Hi All
> >
> > I am trying to integrate my maven 2.0 oriented build system with another
> > project which uses ant.  So I thought to use the maven-antrun-plugin to
> > execute an ant task during the compile phase, and thus take advantage of
> > the existing build.xml file.
> >
> > The problems come at jar creation time.  My jar is empty because no
> > content was marked for inclusion, and the empty jar ends up under target,
> > along with all the results from the ant build.
> >
> > How can I get the ant produced content in my maven produced jar?  Is it a
> > problem at jar creation time for Maven to be writing to the same target
> > directory?
> >
> > And finally, Is there better documentation regarding  how to integrate
> > legacy ant builds into a Maven 2.0 build system than can be found at:
> >
> > http://maven.apache.org/plugins/maven-antrun-plugin/introduction.html
> >
> > Cheers,
> > Chris
> >
> > ---------------------------------------------------------------------
> > 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]

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

Reply via email to