Hi,
I suspect some issue with IvyIDE cache mechanism.
Did you try first with /repo and switch to /libs-releases ?
Can you get the full stack trace of the NPE appearing in Ivy ?
HTH,
Fred.
On Fri, Sep 3, 2010 at 3:36 AM, matthew.madson <
[email protected]> wrote:
>
> Hello Everyone:
>
> Okay, so I have a Java Project in Eclipse with 2 dependencies specified in
> an ivy.xml file; one for commons-collections and another for junit. This is
> a toy example to test ivy and artifactory.
>
> My Ivy settings file is posted below, and when I go to resolve the
> dependencies from IvyDE, I get the following error:
>
> Some projects fail to be resolved
> Impossible to resolve dependencies of
> [redacted]#ivy-helloworld;work...@dca8pce00139756
> unresolved dependency: commons-collections#commons-collections;3.2.1:
> java.lang.NullPointerException
> unresolved dependency: commons-collections#commons-collections;3.2.1:
> java.lang.NullPointerException
> unresolved dependency: junit#junit;3.8.1: java.lang.NullPointerException
>
> Now the strange thing is, when i use Artifactories global repository repo
> (http://localhost:8082/artifactory/repo/) everything resolves from IvyDE
> without problem, but when I use libs-releases, I get the above noted error.
>
> Ideas?
>
> Environment:
>
> Eclipse Helios 3.6
> Artifactory 2.2.5 running on localhost:8082
> IvyDE 2.1.0.201008101807-RELEASE
>
> <ivysettings>
> <settings defaultResolver="artifactory" checkUpToDate="false" />
> <credentials host="localhost" realm="Artifactory Realm"
> username="admin" password="password"/>
> <resolvers>
> <ibiblio name="artifactory" m2compatible="true"
> root="http://localhost:8082/artifactory/libs-releases/"/>
> </resolvers>
> </ivysettings>
>
> Regards,
> Matthew Madson
> --
> View this message in context:
> http://forums.jfrog.org/Artifactory-IvyDE-Problems-tp5493439p5493439.html
> Sent from the Artifactory - Users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> This SF.net Dev2Dev email is sponsored by:
>
> Show off your parallel programming skills.
> Enter the Intel(R) Threading Challenge 2010.
> http://p.sf.net/sfu/intel-thread-sfd
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
--
Co. Founder and Chief Architect
JFrog Ltd
http://www.jfrog.org/
http://twitter.com/freddy33
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:
Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users