On May 27, 2009, at 2:09 PM, Rwanou wrote:


Hi all,

I'm facing a weird behaviour, which looks like a bug to me...

here's the important parts of my configuration:

        configurations {
                // Dependencies needed for jibx binding
                jibxAntBind
        }

        dependencies {
                compile "org.jibx:jibx-run:1.1"
                jibxAntBind "org.jibx:jibx-run:1.1"
                jibxAntBind "org.jibx:jibx-bind:1.1"
                jibxAntBind "bcel:bcel:5.1"
                jibxAntBind "xpp3:xpp3:1.1.3.3"
        }


As you see, I need the jibx library for compilation, as well as for my
custom ant task (for the classpath).

When running compilation, and Eclipse plugin, everything goes fine. jibx-run is inside classpath and project can compile, then the jibx ant task binds OK. Eclipse claspath file references the jibx-run library (and only this
one), the project has no dependency error.

The problem comes when I run the war task. jibx-run is not included in the
lib folder of my WAR file!!!
How come? is that a bug?

I can't reproduce this problem. I have created a sample war project with your above set up. The war that is generated contains the jibx- run jar.


Note that the project referencing jibx-run lib is a referenced project, not
the WAR project itself.

Should I open a JIRA? Is there a descent workaround for that?

Please. Could you attach a test case reproducing this problem? As soon as we can reproduce it, we can think of a work around.

- Hans

--
Hans Dockter
Gradle Project Manager
http://www.gradle.org


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to