ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Munteanu (JIRA)" <j...@apache.org>
Subject [jira] Created: (IVYDE-160) Unable to create intial ivy configuration unless all configurations are selected
Date Fri, 30 Jan 2009 10:42:00 GMT
Unable to create intial ivy configuration unless all configurations are selected
--------------------------------------------------------------------------------

                 Key: IVYDE-160
                 URL: https://issues.apache.org/jira/browse/IVYDE-160
             Project: IvyDE
          Issue Type: Bug
    Affects Versions: 2.0.0.beta1
            Reporter: Robert Munteanu


Steps:

1. Create Ivy file with multiple confs and dependencies attached to those confs
2. Add to the Eclipse project an Ivy Classpath Container with only one of the confs enabled.

After clicking 'Finish' I get an error:

java.lang.RuntimeException: problem during retrieve of GROUP#ARTIFACT: java.lang.IllegalStateException:
Report file '/home/robert/.ivy2/cache/GROUP-ARTIFACT-production.xml' does not exist.
at org.apache.ivy.core.retrieve.RetrieveEngine.retrieve(RetrieveEngine.java:196)
at org.apache.ivy.Ivy.retrieve(Ivy.java:540)
at org.apache.ivyde.eclipse.cpcontainer.IvyResolveJob.maybeRetrieve(IvyResolveJob.java:456)
at org.apache.ivyde.eclipse.cpcontainer.IvyResolveJob.access$6(IvyResolveJob.java:446)
at org.apache.ivyde.eclipse.cpcontainer.IvyResolveJob$1.run(IvyResolveJob.java:292)
Caused by: java.lang.IllegalStateException: Report file '/home/robert/.ivy2/cache/GROUP-ARTIFACT-production.xml'
does not exist.
at org.apache.ivy.plugins.report.XmlReportParser.parse(XmlReportParser.java:291)
at org.apache.ivy.core.retrieve.RetrieveEngine.determineArtifactsToCopy(RetrieveEngine.java:278)
at org.apache.ivy.core.retrieve.RetrieveEngine.retrieve(RetrieveEngine.java:102)
... 4 more

Where production is one of the confs which is not enabled. A snippet of the ivy xml ( may
be relevant ):

{code}
    <dependencies defaultconfmapping="*->default,sources;ivy->default">
		
		<!-- 
			# google collections:
			
			Preferred for custom collections implementations and static factory methods
		-->
		<dependency org="com.google.collections" name="google-collections" rev="0.8" conf="production->default"/>
{/code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message