You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by "Stromas, Aaron (NIH/OD) [C]" <st...@od.nih.gov> on 2009/12/01 14:04:05 UTC

Dependency resolution fails in Eclipse 3.5, works in 3.2

Greetings!

We use Eclipse 3.2 with IvyIDE around here and for a number of reasons I would like to move to 3.5. I've installed the IvyIDE plugin but am getting a number of unresolved dependency errors importing existing projects, like this one:

unresolved dependency: apache#commons-httpclient;3.0.+: java.text.ParseException: Cannot add dependency 'apache#commons-logging;1.0.+' to configuration 'ide' of module apache#commons-httpclient;3.0.1 because this configuration doesn't exist! in file:/C:/workspace/builds/ivy-cache/apache/commons-httpclient-3.0.1/commons-httpclient-3.0.1-ivy.xml.original

I can't understand the error, what configuration file supposedly does not exist? As I mentioned, everything resolves in Eclipse 3.2.
Any help resolving this would be greatly appreciated.

-a

RE: Dependency resolution fails in Eclipse 3.5, works in 3.2

Posted by "Stromas, Aaron (NIH/OD) [C]" <st...@od.nih.gov>.
Unfortunately, nothing that make sense to me. There are about thirty dependencies in the ivy.xml of which about a third fails:

!ENTRY org.apache.ivyde.eclipse 1 0 2009-12-01 07:22:06.984
!MESSAGE IvyDE plugin started

!ENTRY org.apache.ivyde.eclipse 1 0 2009-12-01 07:22:39.832
!MESSAGE resolved dependencies of ivy.xml in 'framework'

!ENTRY org.apache.ivyde.eclipse 4 4 2009-12-01 07:22:39.832
!MESSAGE Impossible to resolve dependencies of eRA#framework;working@ODSTROMASAM01WXP
!SUBENTRY 1 org.apache.ivyde.eclipse 4 4 2009-12-01 07:22:39.832
!MESSAGE unresolved dependency: opensymphony#quartz;1.4.+: java.text.ParseException: Cannot add dependency 'apache#commons-beanutils;1.6' to configuration 'ide' of module opensymphony#quartz;1.4.3 because this configuration doesn't exist! in file:/C:/workspace/builds/ivy-cache/opensymphony/quartz-1.4.3/quartz-1.4.3-ivy.xml.original
!SUBENTRY 1 org.apache.ivyde.eclipse 4 4 2009-12-01 07:22:39.832
!MESSAGE unresolved dependency: sun#jaxb;1.0.+: java.text.ParseException: Cannot add dependency 'sun#jwsdp-shared;1.5' to configuration 'ide' of module sun#jaxb;1.0.4 because this configuration doesn't exist! in file:/C:/workspace/builds/ivy-cache/sun/jaxb-1.0.4/jaxb-1.0.4-ivy.xml.original
!SUBENTRY 1 org.apache.ivyde.eclipse 4 4 2009-12-01 07:22:39.832
!MESSAGE unresolved dependency: drools#drools;2.+: java.text.ParseException: Cannot add dependency 'antlr#antlr;2.+' to configuration 'ide' of module drools#drools;2.0 because this configuration doesn't exist! in file:/C:/workspace/builds/ivy-cache/drools/drools-2.0/drools-2.0-ivy.xml.original
!SUBENTRY 1 org.apache.ivyde.eclipse 4 4 2009-12-01 07:22:39.832
!MESSAGE unresolved dependency: apache#axis;1.+: java.text.ParseException: Cannot add dependency 'apache#commons-discovery;0.2' to configuration 'ide' of module apache#axis;1.4 because this configuration doesn't exist! in file:/C:/workspace/builds/ivy-cache/apache/axis-1.4/axis-1.4-ivy.xml.original
!SUBENTRY 1 org.apache.ivyde.eclipse 4 4 2009-12-01 07:22:39.832
!MESSAGE unresolved dependency: apache#commons-httpclient;3.0.+: java.text.ParseException: Cannot add dependency 'apache#commons-logging;1.0.+' to configuration 'ide' of module apache#commons-httpclient;3.0.1 because this configuration doesn't exist! in file:/C:/workspace/builds/ivy-cache/apache/commons-httpclient-3.0.1/commons-httpclient-3.0.1-ivy.xml.original
!SUBENTRY 1 org.apache.ivyde.eclipse 4 4 2009-12-01 07:22:39.832
!MESSAGE unresolved dependency: apache#cactus;latest.integration: java.text.ParseException: Cannot add dependency 'junit#junit;3.+' to configuration 'ide' of module apache#cactus;1.7.2 because this configuration doesn't exist! in file:/C:/workspace/builds/ivy-cache/apache/cactus-1.7.2/cactus-1.7.2-ivy.xml.original
!SUBENTRY 1 org.apache.ivyde.eclipse 4 4 2009-12-01 07:22:39.832
!MESSAGE unresolved dependency: sourceforge#strutstest;2.1.3: java.text.ParseException: Cannot add dependency 'apache#commons-beanutils;1.7' to configuration 'ide' of module sourceforge#strutstest;2.1.3 because this configuration doesn't exist! in file:/C:/workspace/builds/ivy-cache/sourceforge/strutstest-2.1.3/strutstest-2.1.3-ivy.xml.origina

-----Original Message-----
From: Tim Brown [mailto:tpbrown@gmail.com] 
Sent: Tuesday, December 01, 2009 11:10 AM
To: ivy-user@ant.apache.org
Subject: Re: Dependency resolution fails in Eclipse 3.5, works in 3.2

Is there anything in the workspace log? (workspace/.metadata/.log)

On Dec 1, 2009, at 8:07 AM, "Stromas, Aaron (NIH/OD) [C]" <stromasam@od.nih.gov
 > wrote:

> Thanks for the tip but, unfortunately, it's not that. IvyIDE
> resolves most of the dependencies correctly, but is having problems
> with some. I did check whether the proxy is enabled, though. It's not.
>
> -a
>
> -----Original Message-----
> From: Tim Brown [mailto:tpbrown@gmail.com]
> Sent: Tuesday, December 01, 2009 11:01 AM
> To: ivy-user@ant.apache.org
> Subject: Re: Dependency resolution fails in Eclipse 3.5, works in 3.2
>
> Check to see if Eclipse has a proxy enabled.  I've seen similar
> messaging when IvyDE is trying to resolve through a proxy and fails.
>
>
>
> On Dec 1, 2009, at 5:04 AM, "Stromas, Aaron (NIH/OD) [C]" <stromasam@od.nih.gov
>> wrote:
>
>> Greetings!
>>
>> We use Eclipse 3.2 with IvyIDE around here and for a number of
>> reasons I would like to move to 3.5. I've installed the IvyIDE
>> plugin but am getting a number of unresolved dependency errors
>> importing existing projects, like this one:
>>
>> unresolved dependency: apache#commons-httpclient;3.0.+:
>> java.text.ParseException: Cannot add dependency 'apache#commons-
>> logging;1.0.+' to configuration 'ide' of module apache#commons-
>> httpclient;3.0.1 because this configuration doesn't exist! in file:/
>> C:/workspace/builds/ivy-cache/apache/commons-httpclient-3.0.1/
>> commons-httpclient-3.0.1-ivy.xml.original
>>
>> I can't understand the error, what configuration file supposedly
>> does not exist? As I mentioned, everything resolves in Eclipse 3.2.
>> Any help resolving this would be greatly appreciated.
>>
>> -a

Re: Dependency resolution fails in Eclipse 3.5, works in 3.2

Posted by Tim Brown <tp...@gmail.com>.
Is there anything in the workspace log? (workspace/.metadata/.log)

On Dec 1, 2009, at 8:07 AM, "Stromas, Aaron (NIH/OD) [C]" <stromasam@od.nih.gov
 > wrote:

> Thanks for the tip but, unfortunately, it's not that. IvyIDE
> resolves most of the dependencies correctly, but is having problems
> with some. I did check whether the proxy is enabled, though. It's not.
>
> -a
>
> -----Original Message-----
> From: Tim Brown [mailto:tpbrown@gmail.com]
> Sent: Tuesday, December 01, 2009 11:01 AM
> To: ivy-user@ant.apache.org
> Subject: Re: Dependency resolution fails in Eclipse 3.5, works in 3.2
>
> Check to see if Eclipse has a proxy enabled.  I've seen similar
> messaging when IvyDE is trying to resolve through a proxy and fails.
>
>
>
> On Dec 1, 2009, at 5:04 AM, "Stromas, Aaron (NIH/OD) [C]" <stromasam@od.nih.gov
>> wrote:
>
>> Greetings!
>>
>> We use Eclipse 3.2 with IvyIDE around here and for a number of
>> reasons I would like to move to 3.5. I've installed the IvyIDE
>> plugin but am getting a number of unresolved dependency errors
>> importing existing projects, like this one:
>>
>> unresolved dependency: apache#commons-httpclient;3.0.+:
>> java.text.ParseException: Cannot add dependency 'apache#commons-
>> logging;1.0.+' to configuration 'ide' of module apache#commons-
>> httpclient;3.0.1 because this configuration doesn't exist! in file:/
>> C:/workspace/builds/ivy-cache/apache/commons-httpclient-3.0.1/
>> commons-httpclient-3.0.1-ivy.xml.original
>>
>> I can't understand the error, what configuration file supposedly
>> does not exist? As I mentioned, everything resolves in Eclipse 3.2.
>> Any help resolving this would be greatly appreciated.
>>
>> -a

RE: Dependency resolution fails in Eclipse 3.5, works in 3.2

Posted by "Stromas, Aaron (NIH/OD) [C]" <st...@od.nih.gov>.
Thanks for the tip but, unfortunately, it's not that. IvyIDE resolves most of the dependencies correctly, but is having problems with some. I did check whether the proxy is enabled, though. It's not.

-a

-----Original Message-----
From: Tim Brown [mailto:tpbrown@gmail.com] 
Sent: Tuesday, December 01, 2009 11:01 AM
To: ivy-user@ant.apache.org
Subject: Re: Dependency resolution fails in Eclipse 3.5, works in 3.2

Check to see if Eclipse has a proxy enabled.  I've seen similar
messaging when IvyDE is trying to resolve through a proxy and fails.



On Dec 1, 2009, at 5:04 AM, "Stromas, Aaron (NIH/OD) [C]" <stromasam@od.nih.gov
 > wrote:

> Greetings!
>
> We use Eclipse 3.2 with IvyIDE around here and for a number of
> reasons I would like to move to 3.5. I've installed the IvyIDE
> plugin but am getting a number of unresolved dependency errors
> importing existing projects, like this one:
>
> unresolved dependency: apache#commons-httpclient;3.0.+:
> java.text.ParseException: Cannot add dependency 'apache#commons-
> logging;1.0.+' to configuration 'ide' of module apache#commons-
> httpclient;3.0.1 because this configuration doesn't exist! in file:/
> C:/workspace/builds/ivy-cache/apache/commons-httpclient-3.0.1/
> commons-httpclient-3.0.1-ivy.xml.original
>
> I can't understand the error, what configuration file supposedly
> does not exist? As I mentioned, everything resolves in Eclipse 3.2.
> Any help resolving this would be greatly appreciated.
>
> -a

Re: Dependency resolution fails in Eclipse 3.5, works in 3.2

Posted by Tim Brown <tp...@gmail.com>.
Check to see if Eclipse has a proxy enabled.  I've seen similar
messaging when IvyDE is trying to resolve through a proxy and fails.



On Dec 1, 2009, at 5:04 AM, "Stromas, Aaron (NIH/OD) [C]" <stromasam@od.nih.gov
 > wrote:

> Greetings!
>
> We use Eclipse 3.2 with IvyIDE around here and for a number of
> reasons I would like to move to 3.5. I've installed the IvyIDE
> plugin but am getting a number of unresolved dependency errors
> importing existing projects, like this one:
>
> unresolved dependency: apache#commons-httpclient;3.0.+:
> java.text.ParseException: Cannot add dependency 'apache#commons-
> logging;1.0.+' to configuration 'ide' of module apache#commons-
> httpclient;3.0.1 because this configuration doesn't exist! in file:/
> C:/workspace/builds/ivy-cache/apache/commons-httpclient-3.0.1/
> commons-httpclient-3.0.1-ivy.xml.original
>
> I can't understand the error, what configuration file supposedly
> does not exist? As I mentioned, everything resolves in Eclipse 3.2.
> Any help resolving this would be greatly appreciated.
>
> -a

RE: Dependency resolution fails in Eclipse 3.5, works in 3.2

Posted by "Stromas, Aaron (NIH/OD) [C]" <st...@od.nih.gov>.
Maarten, thanks a lot for you for your explanation!

-a


-----Original Message-----
From: Maarten Coene [mailto:maarten_coene@yahoo.com] 
Sent: Tuesday, December 01, 2009 6:03 PM
To: ivy-user@ant.apache.org
Subject: Re: Dependency resolution fails in Eclipse 3.5, works in 3.2

The error means that your commons-httpclient module depends on the 'ide' configuration of your commons-logging module, but your commons-logging module doesn't has an 'ide' configuration.

Your commons-httpclient Ivy file probably contains something like (the exact value of the conf attribute may look different in your situation):
<dependency org="apache" name="commons-logging" rev="1.0.+" conf="ide->ide" />

So in order to fix this problem, you'll have to correct the Ivy files in your repository.

Older versions of Ivy were more tolerant about non-existing configurations, so that's probably the reason why it works in your Eclipse 3.2 which probably uses an older Ivy...

Maarten



----- Original Message ----
From: "Stromas, Aaron (NIH/OD) [C]" <st...@od.nih.gov>
To: "ivy-user@ant.apache.org" <iv...@ant.apache.org>
Sent: Tue, December 1, 2009 2:04:05 PM
Subject: Dependency resolution fails in Eclipse 3.5, works in 3.2

Greetings!

We use Eclipse 3.2 with IvyIDE around here and for a number of reasons I would like to move to 3.5. I've installed the IvyIDE plugin but am getting a number of unresolved dependency errors importing existing projects, like this one:

unresolved dependency: apache#commons-httpclient;3.0.+: java.text.ParseException: Cannot add dependency 'apache#commons-logging;1.0.+' to configuration 'ide' of module apache#commons-httpclient;3.0.1 because this configuration doesn't exist! in file:/C:/workspace/builds/ivy-cache/apache/commons-httpclient-3.0.1/commons-httpclient-3.0.1-ivy.xml.original

I can't understand the error, what configuration file supposedly does not exist? As I mentioned, everything resolves in Eclipse 3.2.
Any help resolving this would be greatly appreciated.

-a



      

Re: Dependency resolution fails in Eclipse 3.5, works in 3.2

Posted by Maarten Coene <ma...@yahoo.com>.
The error means that your commons-httpclient module depends on the 'ide' configuration of your commons-logging module, but your commons-logging module doesn't has an 'ide' configuration.

Your commons-httpclient Ivy file probably contains something like (the exact value of the conf attribute may look different in your situation):
<dependency org="apache" name="commons-logging" rev="1.0.+" conf="ide->ide" />

So in order to fix this problem, you'll have to correct the Ivy files in your repository.

Older versions of Ivy were more tolerant about non-existing configurations, so that's probably the reason why it works in your Eclipse 3.2 which probably uses an older Ivy...

Maarten



----- Original Message ----
From: "Stromas, Aaron (NIH/OD) [C]" <st...@od.nih.gov>
To: "ivy-user@ant.apache.org" <iv...@ant.apache.org>
Sent: Tue, December 1, 2009 2:04:05 PM
Subject: Dependency resolution fails in Eclipse 3.5, works in 3.2

Greetings!

We use Eclipse 3.2 with IvyIDE around here and for a number of reasons I would like to move to 3.5. I've installed the IvyIDE plugin but am getting a number of unresolved dependency errors importing existing projects, like this one:

unresolved dependency: apache#commons-httpclient;3.0.+: java.text.ParseException: Cannot add dependency 'apache#commons-logging;1.0.+' to configuration 'ide' of module apache#commons-httpclient;3.0.1 because this configuration doesn't exist! in file:/C:/workspace/builds/ivy-cache/apache/commons-httpclient-3.0.1/commons-httpclient-3.0.1-ivy.xml.original

I can't understand the error, what configuration file supposedly does not exist? As I mentioned, everything resolves in Eclipse 3.2.
Any help resolving this would be greatly appreciated.

-a



      

RE: Dependency resolution fails in Eclipse 3.5, works in 3.2

Posted by "Stromas, Aaron (NIH/OD) [C]" <st...@od.nih.gov>.
Yes (one of the first things I did)
I might add that the same problem occurs with SpringSource Tool Suite (STS), which is also based on Eclipse 3.5

-a

-----Original Message-----
From: james.carnegie@nokia.com [mailto:james.carnegie@nokia.com] 
Sent: Tuesday, December 01, 2009 8:33 AM
To: ivy-user@ant.apache.org
Subject: RE: Dependency resolution fails in Eclipse 3.5, works in 3.2

I'm new to Ivy, but have you tried clearing your cache?

	/j.

> -----Original Message-----
> From: ext Stromas, Aaron (NIH/OD) [C] [mailto:stromasam@od.nih.gov]
> Sent: 01 December 2009 13:04
> To: 'ivy-user@ant.apache.org'
> Subject: Dependency resolution fails in Eclipse 3.5, works in 3.2
> 
> Greetings!
> 
> We use Eclipse 3.2 with IvyIDE around here and for a number of reasons
> I would like to move to 3.5. I've installed the IvyIDE plugin but am
> getting a number of unresolved dependency errors importing existing
> projects, like this one:
> 
> unresolved dependency: apache#commons-httpclient;3.0.+:
> java.text.ParseException: Cannot add dependency 'apache#commons-
> logging;1.0.+' to configuration 'ide' of module apache#commons-
> httpclient;3.0.1 because this configuration doesn't exist! in
> file:/C:/workspace/builds/ivy-cache/apache/commons-httpclient-
> 3.0.1/commons-httpclient-3.0.1-ivy.xml.original
> 
> I can't understand the error, what configuration file supposedly does
> not exist? As I mentioned, everything resolves in Eclipse 3.2.
> Any help resolving this would be greatly appreciated.
> 
> -a

RE: Dependency resolution fails in Eclipse 3.5, works in 3.2

Posted by ja...@nokia.com.
I'm new to Ivy, but have you tried clearing your cache?

	/j.

> -----Original Message-----
> From: ext Stromas, Aaron (NIH/OD) [C] [mailto:stromasam@od.nih.gov]
> Sent: 01 December 2009 13:04
> To: 'ivy-user@ant.apache.org'
> Subject: Dependency resolution fails in Eclipse 3.5, works in 3.2
> 
> Greetings!
> 
> We use Eclipse 3.2 with IvyIDE around here and for a number of reasons
> I would like to move to 3.5. I've installed the IvyIDE plugin but am
> getting a number of unresolved dependency errors importing existing
> projects, like this one:
> 
> unresolved dependency: apache#commons-httpclient;3.0.+:
> java.text.ParseException: Cannot add dependency 'apache#commons-
> logging;1.0.+' to configuration 'ide' of module apache#commons-
> httpclient;3.0.1 because this configuration doesn't exist! in
> file:/C:/workspace/builds/ivy-cache/apache/commons-httpclient-
> 3.0.1/commons-httpclient-3.0.1-ivy.xml.original
> 
> I can't understand the error, what configuration file supposedly does
> not exist? As I mentioned, everything resolves in Eclipse 3.2.
> Any help resolving this would be greatly appreciated.
> 
> -a