If I remove the (-[revision]) from the ivysettings section, it works. As far as I understand the () allows for the possibility the condition might occur, and should check for both possibilities (artifact does and does not have a -[revision] section in the filename) Does this mean it's a bug in Ivy, or am I not understanding how the () brackets work in Ivy?
On Wed, Sep 17, 2008 at 2:33 PM, Dave <[EMAIL PROTECTED]> wrote: > I'm using the following parameter in my ivysettings.xml: > ==================================== > [organisation]/[module]/[revision]/[artifact](-[revision]).[ext] > ==================================== > > In the ivy.xml file of a particular component, I've placed the following > dependency: > ==================================== > <dependency org="weblogic" name="webserviceclient" rev="1.0" > conf="compile->default"/> > ==================================== > > I've added the webserviceclient.jar to the following location: > ==================================== > Ivy\weblogic\webserviceclient\1.0 > ==================================== > > > According to the documentation, Ivy should try and resolve both > ===================== > webserviceclient.jar AND > webserviceclient-1.0.jar > ===================== > > > but it fails with the following message: > ============================ > [ivy:resolve] > [ivy:resolve] :: problems summary :: > [ivy:resolve] :::: WARNINGS > [ivy:resolve] module not found: weblogic#webserviceclient;1.0 > [ivy:resolve] ==== local: tried > [ivy:resolve] C:\Documents and > Settings\dc2/ivy/local/weblogic/webserviceclient/1.0/ivy.xml > [ivy:resolve] -- artifact > weblogic#webserviceclient;1.0!webserviceclient.jar: > [ivy:resolve] C:\Documents and > Settings\dc2/ivy/local/weblogic/webserviceclient/1.0/webserviceclient-1.0.jar > [ivy:resolve] ==== shared: tried > [ivy:resolve] > //abate/data/build_lib/Ivy/weblogic/webserviceclient/1.0/ivy.xml > [ivy:resolve] -- artifact > weblogic#webserviceclient;1.0!webserviceclient.jar: > [ivy:resolve] > //abate/data/build_lib/Ivy/weblogic/webserviceclient/1.0/webserviceclient-1.0.jar > [ivy:resolve] :::::::::::::::::::::::::::::::::::::::::::::: > [ivy:resolve] :: UNRESOLVED DEPENDENCIES :: > [ivy:resolve] :::::::::::::::::::::::::::::::::::::::::::::: > [ivy:resolve] :: weblogic#webserviceclient;1.0: not found > [ivy:resolve] :::::::::::::::::::::::::::::::::::::::::::::: > [ivy:resolve] > [ivy:resolve] > [ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS > > BUILD FAILED > C:\CC\workareas\410\INT\uwe\impl\build.xml:28: The following error occurred > while executing this line: > C:\CC\workareas\410\INT\master_build\build-common-classpaths.xml:14: > impossible to resolve dependencies: > resolve failed - see output for details > > ============================= > > Am I missing something simple, or is Ivy giving up looking for > webserviceclient.jar after it tries and fails to find > webserviceclient-1.0.jar? > > -- > "A lot of people are afraid of heights. Not me, I'm afraid of widths." > -- "A lot of people are afraid of heights. Not me, I'm afraid of widths."
