Have you published the first jar somewhere? You need to publish the first jar in project 1 to a local or shared repository so the second one can find it.
On Nov 24, 2007 11:17 PM, Jim Adams <[EMAIL PROTECTED]> wrote: > Try using BuildList to run Ant with. That will order each build by > dependencies. Then you just let Ivy download your first file from the repo > when you build the second project. > > ________________________________ > > From: jpyork [mailto:[EMAIL PROTECTED] > Sent: Sat 11/24/2007 9:08 AM > To: [email protected] > Subject: Re: Help with multi projects > > > > > > > jpyork wrote: > > > > I have a ant script that uses Ivy that works fine to create a jar file, > > but I know have a 2nd project that needs that jar file. The problem I > am > > having is that the they are both part of a bigger script so every time I > > run it the jar file is new and needs a new version, but I can't get the > > 2nd project to find the jar file that is created in the first project. > > > > Any help, I have tried to use the publish target, but can't seem to get > > that to work. > > > > > The two replies I have had do not help me, any ideas. > > Here is the example. > > Project 1 when all is done ends up spitting out a Jar file in say > C:\test\example.Jar > > I want Project 2 to be able to find that jar and everytime I run this > program example.jar will have a version number added and increased, but > then > I need Project 2 to find it. > > This is the page I am trying to use to help me with this issue: > > http://ant.apache.org/ivy/history/trunk/tutorial/multi-project.html > -- > View this message in context: > http://www.nabble.com/Help-with-multi-projects-tf4859457.html#a13925016 > Sent from the ivy-user mailing list archive at Nabble.com. > > > > -- Regards, John Gill
