ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laun Thomas (CI/TMP)" <>
Subject AW: Provided conf
Date Mon, 24 Aug 2009 15:35:17 GMT
Hello Jonathan,

When you use the ivy:retrieve task, you can select which configurations you want to get. So
I simply call ivy:retrieve twice. During the first call I get everything everything:

<ivy:retrieve conf="all" pattern="lib/..." .../>

The second call gets everything I want to have in my WAR:

<ivy:retrieve conf="package" pattern="build/web/WEB-INF/lib..." .../>

Mit freundlichen Grüßen / Best regards

Thomas Laun

Robert Bosch GmbH
Telemedicine Platform  (CI/TMP)
Postfach 11 27
71301 Waiblingen

Tel. +49 (711) 811-3607689
PC-Fax +49 (711) 811-51849753

Sitz: Stuttgart, Registergericht: Amtsgericht Stuttgart, HRB 14000;
Aufsichtsratsvorsitzender: Hermann Scholl; Geschäftsführung: Franz Fehrenbach, Siegfried
Bernd Bohr, Rudolf Colm, Volkmar Denner, Gerhard Kümmel, Wolfgang Malchow, Peter Marks,
Peter Tyroller; Uwe Raschke

-----Ursprüngliche Nachricht-----
Von: Jonathan Roberts []
Gesendet: Monday, August 24, 2009 5:16 PM
Betreff: Provided conf


We are trying to model all our dependency confs off of something like

Now I have some dependencies that are provided by the web server and I
don't want put in my war, I figure that the provided conf is used for

I just don't really get how this is done in a nice way.  Is there a way
to say get me all the "compile" dependencies, except the ones are that
are in the "provided" conf?
Is the "system" conf the one for specifiying which jars to include in
the war?


Jon Roberts

View raw message