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
GERMANY
www.bosch.com

Tel. +49 (711) 811-3607689
PC-Fax +49 (711) 811-51849753
[email protected]

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


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


Hello

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

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
this.

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?

Thanks,

Jon Roberts

Reply via email to