Well, I've tried it.
I edited project.xml as follows:
<ivyConfiguration xmlns="
http://code.google.com/p/ivybeans/ns/
ivy-module/1">
<descriptorFile>ivy.xml</descriptorFile>
<settingsFile>C:\s3resolv\ivysettings.xml</settingsFile>
<configurationMapping>
<scope confs="compile,provided" name="COMPILE"/>
<scope confs="compile,runtime" name="RUNTIME"/>
<scope confs="compile,compile-test"
name="COMPILE_TEST"/>
<scope confs="compile,compile-test,runtime,runtime-
test,provided" name="RUNTIME_TEST"/>
</configurationMapping>
</ivyConfiguration>
and the ivy.xml looks like:
<configurations>
<conf name="provided"/>
<conf name="compile"/>
<conf name="runtime"/>
<conf name="compile-test"/>
<conf name="runtime-test"/>
</configurations>
<dependencies>
<dependency org="apache" name="commons-logging" rev="1.1"
conf="provided->default" />
<dependency org="springsource" name="spring-framework"
rev="2.5.6" conf="compile->default" />
<dependency org="springsource" name="spring-web" rev="2.5.6"
conf="compile->default" />
<dependency org="amazon" name="aws-sdk" rev="1.0.004"
conf="compile->default" />
<dependency org="soupdragon" name="base64" rev="1.0"
conf="provided->default;runtime-test->default" />
<dependency org="sun" name="openmq" rev="1.0" conf="compile-
>default" />
<dependency org="json" name="json-parser" rev="1.0"
conf="compile->default" />
<dependency org="costcutter" name="mercury-jms" rev="1.1.1"
conf="" />
<dependency org="costcutter" name="awslib" rev="1.0" conf="" /
>
</dependencies>
And yet both the commons logging and the base-64 have found their way
into the war file.
Now, in the case of the commons logging, it may be because one or more
of the other libraries has it as a dependency. Of course that doesn't
stop it being a problem.
In the case of the base64 library, though, I don't think any
dependencies would invoke it.
Another symptom: on the ivy tab of the project properties the scope
list hasn't changed to reflect the changes in project.xml
> Laurent Forêthttp://
www.devcoop.fr,
http://laurentforet.org
> IvyBeans Creator
> Membre du JUG Bordeaux
>
> On Wed, Sep 22, 2010 at 11:13 AM, Soupdragon <
Malcolm.McMa...@costcutter.com
>
> > wrote:
> > When building web applications I commonly want to exclude some of the
> > jar files needed for compilation because I know they are already in
> > the server's shared library area, in particular the library containing
> > the J2EE stuff, like the servlet interfaces, clearly should be
> > excluded.
>
> > In normal Netbeans projects there's a check box on the libraries tab
> > rows for the library to be included in the war file.
>
> > Any equivalent for IvyBeans?
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "usr-ivybeans" group.
> > To post to this group, send email to
usr-iv...@googlegroups.com.
> > To unsubscribe from this group, send email to
> >
usr-ivybeans...@googlegroups.com<
usr-ivybeans%2Bunsu...@googlegroups.com>
> > .