You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by Francisc Simon <c0...@googlemail.com> on 2011/05/04 08:36:43 UTC
Multiple ivy:resolve in one ant file
Hi,
i have a problem wich i try to solve now for more than a day :-)
we have 2 projects, every project has a ant build.xml file.
in every build.xml file there is one ivy:resolve and ivy:retrieve.
now i created a 3 build.xml file and included the project build files into it.
as a logical conclusion for me it is trivial because i want now to build both projects one after each other.
there is no dependency between them, so i run into the issue that ivy resolves alway only the first project.
the second one will never be resolved i guess it is a caching issue but i could not figure out how to solve it.
thx for help!
frank :-)
Re: Multiple ivy:resolve in one ant file
Posted by Francisc Simon <c0...@googlemail.com>.
Hi Kirby,
thx a lot for you help it works great!
Frank :-)
Am 04.05.2011 um 15:10 schrieb Kirby Files:
> Frank,
>
> Francisc Simon wrote on 05/04/2011 02:36 AM:
>> Hi,
>>
>> i have a problem wich i try to solve now for more than a day :-)
>> we have 2 projects, every project has a ant build.xml file.
>> in every build.xml file there is one ivy:resolve and ivy:retrieve.
>> now i created a 3 build.xml file and included the project build files into it.
>
> Have you considered SubAnt for building multiple projects, as an alternative to lumping them into a single buildfile?
>
> http://ant.apache.org/manual/Tasks/subant.html
>
> Thanks,
> ---
> Kirby Files
> Software Architect
> Masergy Communications
> kfiles@masergy.com
Re: Multiple ivy:resolve in one ant file
Posted by Kirby Files <kf...@masergy.com>.
Frank,
Francisc Simon wrote on 05/04/2011 02:36 AM:
> Hi,
>
> i have a problem wich i try to solve now for more than a day :-)
> we have 2 projects, every project has a ant build.xml file.
> in every build.xml file there is one ivy:resolve and ivy:retrieve.
> now i created a 3 build.xml file and included the project build files into it.
Have you considered SubAnt for building multiple projects, as an
alternative to lumping them into a single buildfile?
http://ant.apache.org/manual/Tasks/subant.html
Thanks,
---
Kirby Files
Software Architect
Masergy Communications
kfiles@masergy.com