I've created the jira issue [1], added a unit test and fixed the bug. The
build is now performing without problem on my box.
Could someone confirm it's working on other environment?
Xavier
[1] https://issues.apache.org/jira/browse/IVY-507
On 5/14/07, Xavier Hanin <[EMAIL PROTECTED]> wrote:
Ok, I was wondering why we suddenly have this problem, and it's due to a
bug in Ivy. Indeed, if you look at the commons vfs ivy file we use, you will
see that it specifies which artifact of slide should be used:
<dependency org="apache" name="slide" rev=" 20050629.161100"
conf="webdav->default">
<artifact name="slide-webdavlib" type="jar"/>
</dependency>
So there is no problem with the repository, but with Ivy itself. After
some investigation I've found that this is due to a change on how dependency
artifacts are handled in Ivy code. I will open an issue and try to fix it
asap.
Xavier
On 5/13/07, Maarten Coene <[EMAIL PROTECTED]> wrote:
>
> I see now why the resolve fails...
> There is no slide.jar here:
> http://www.jaya.free.fr/ivyrep/apache/slide/20050629.161100/
> The file is called " slide-webdavlib.jar.
>
> --
> Maarten
>
> ----- Original Message ----
> From: Maarten Coene <[EMAIL PROTECTED]>
> To: [email protected]
> Sent: Sunday, May 13, 2007 8:51:00 PM
> Subject: Re: trunk build is failing ...
>
> The NullPointerException
> is fixed now.
> However, I receive now an error saying that the slide dependency was not
> found (see log below).
>
> I don't know why Ivy doesn't find that dependency, since it's available
> here:
> http://www.jaya.free.fr/ivyrep/apache/slide/
>
> Maybe it is caused by the fact that there is no ivy file for the slide
> module in the repository?
> Xavier: maybe you could add such an Ivy file untill we have time to
> investigate this?
>
> --
> Maarten
>
> resolve:
> [ivy:retrieve] :: resolving dependencies ::
> [ivy:retrieve] confs: [default, test]
> [ivy:retrieve] found [ apache | ant | 1.6.5 ] in public
> [ivy:retrieve] found [ apache | commons-httpclient | 3.0 ] in public
> [ivy:retrieve] found [ apache | commons-logging | 1.0.3 ] in public
> [ivy:retrieve] found [ apache | commons-codec | 1.2 ] in public
> [ivy:retrieve] found [ apache | commons-cli | 1.0 ] in public
> [ivy:retrieve] found [ apache | commons-lang | 1.0 ] in public
> [ivy:retrieve] found [ apache | oro | 2.0.8 ] in public
> [ivy:retrieve] found [ apache | commons-vfs | 20060920 ] in public
> [ivy:retrieve] found [ apache | commons-logging | 1.0.4 ] in public
> [ivy:retrieve] found [ jdom | jdom | 1.0 ] in public
> [ivy:retrieve] found [ jcraft | jsch | 0.1.25 ] in public
> [ivy:retrieve] found [ junit | junit | 3.8.2 ] in public
> [ivy:retrieve] :: resolution report ::
> [ivy:retrieve] :: evicted modules:
> [ivy:retrieve] [ apache | commons-logging | 1.0.3 ] by [[ apache |
> commons-logg
> ing | 1.0.4 ]] in [default]
> ---------------------------------------------------------------------
>
> | | modules ||
> artifacts |
> | conf | number| search|dwnlded|evicted||
> number|dwnlded|
> ---------------------------------------------------------------------
>
> | default | 12 | 0 | 0 | 1 || 10 |
> 0 |
> | test | 1 | 0 | 0 | 0 || 1 |
> 0 |
> ---------------------------------------------------------------------
>
> [ivy:retrieve]
> [ivy:retrieve] :: problems summary ::
> [ivy:retrieve] :::: WARNINGS
> [ivy:retrieve] module not found: [ apache | slide |
> 20050629.161100 ]
> [ivy:retrieve] ==== public: tried
> [ivy:retrieve]
> http://ivyrep.jayasoft.org/apache/slide/ivy-20050629.161100.xm
> l
> [ivy:retrieve] -- artifact [ apache | slide |
20050629.161100]/slide.jar[jar
> ]:
> [ivy:retrieve]
> http://ivyrep.jayasoft.org/apache/slide/20050629.161100/slide.
> jar
> [ivy:retrieve]
http://repo1.maven.org/maven/slide/jars/slide-20050629.161100
> .
> jar
> [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve] :: UNRESOLVED DEPENDENCIES ::
> [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve] :: [ apache | slide | 20050629.161100 ]: not
> found
> [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve]
> [ivy:retrieve]
> [ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
>
> BUILD FAILED
>
>
>
>
> ----- Original Message ----
>
> From: jeff < [EMAIL PROTECTED]>
>
> To: [email protected]
>
> Sent: Saturday, May 12, 2007 7:21:13 PM
>
> Subject: Re: trunk build is failing ...
>
>
>
> maarten,
>
>
>
> the log you requested is attached.
>
>
>
> thnx.
>
>
>
> Maarten Coene <[EMAIL PROTECTED]> wrote: Hi Jeff,
>
>
>
> I cannot reproduce your problem,
>
> could you build ivy again in verbose mode and post the log here?
>
>
>
> For instance:
>
> ant jar -v
>
>
>
> regards,
>
> Maarten
>
>
>
> ----- Original Message ----
>
> From: jeff
>
> To: ivy users
>
> Sent: Saturday, May 12, 2007 12:35:58 AM
>
> Subject: trunk build is failing ...
>
>
>
> log is below ...
>
>
>
> ...
>
> resolve:
>
> [ivy:retrieve] :: resolving dependencies :: [ apache | ivy |
> [EMAIL PROTECTED] ]
>
> [ivy:retrieve] confs: [default, test]
>
> [ivy:retrieve] found [ apache | ant | 1.6.5 ] in public
>
> [ivy:retrieve] found [ apache | commons-httpclient | 3.0 ] in public
>
> [ivy:retrieve] found [ apache | commons-logging | 1.0.3 ] in public
>
> [ivy:retrieve] found [ apache | commons-codec | 1.2 ] in public
>
> [ivy:retrieve] found [ apache | commons-cli | 1.0 ] in public
>
> [ivy:retrieve] found [ apache | commons-lang | 1.0 ] in public
>
> [ivy:retrieve] found [ apache | oro | 2.0.8 ] in public
>
> [ivy:retrieve] found [ apache | commons-vfs | 20060920 ] in public
>
> [ivy:retrieve] found [ apache | commons-logging | 1.0.4 ] in public
>
> [ivy:retrieve] found [ jdom | jdom | 1.0 ] in public
>
> [ivy:retrieve] found [ jcraft | jsch | 0.1.25 ] in public
>
> [ivy:retrieve] found [ junit | junit | 3.8.2 ] in public
>
> [ivy:retrieve] :: resolution report ::
>
> [ivy:retrieve] :: evicted modules:
>
> [ivy:retrieve] [ apache | commons-logging | 1.0.3 ] by [[ apache |
> commons-logging | 1.0.4 ]] in [default]
>
> ---------------------------------------------------------------------
>
>
> | | modules ||
> artifacts |
>
> | conf | number| search|dwnlded|evicted||
> number|dwnlded|
>
> ---------------------------------------------------------------------
>
>
> | default | 12 | 0 | 0 | 1 || 10 |
> 0 |
>
> | test | 1 | 0 | 0 | 0 || 1 |
> 0 |
>
> ---------------------------------------------------------------------
>
>
>
>
> BUILD FAILED
>
> /home/jtb/src/ivy/build.xml:150: impossible to resolve dependencies:
> java.lang.NullPointerException
>
>
>
>
>
>
>
>
>
> ---------------------------------
>
> Yahoo! oneSearch: Finally, mobile search that gives answers, not web
> links.
>
>
>
>
>
>
>
>
>
>
>
>
>
____________________________________________________________________________________
>
> Moody friends. Drama queens. Your life? Nope! - their life, your story.
> Play Sims Stories at Yahoo! Games.
>
> http://sims.yahoo.com/
>
>
>
>
>
> Luggage? GPS? Comic books?
>
> Check out fitting gifts for grads at Yahoo! Search.
>
>
>
>
>
>
>
>
>
>
____________________________________________________________________________________
>
> Park yourself in front of a world of choices in alternative vehicles.
> Visit the Yahoo! Auto Green Center.
> http://autos.yahoo.com/green_center/
>
>
>
>
>
>
>
____________________________________________________________________________________Get
> the Yahoo! toolbar and be alerted to new email wherever you're surfing.
> http://new.toolbar.yahoo.com/toolbar/features/mail/index.php
>
--
Xavier Hanin - Independent Java Consultant
Manage your dependencies with Ivy!
http://incubator.apache.org/ivy/
--
Xavier Hanin - Independent Java Consultant
Manage your dependencies with Ivy!
http://incubator.apache.org/ivy/