You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Nicolas Lalevée (JIRA)" <ji...@apache.org> on 2009/03/02 16:07:56 UTC
[jira] Resolved: (IVYDE-160) Unable to create intial ivy
configuration unless all configurations are selected
[ https://issues.apache.org/jira/browse/IVYDE-160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nicolas Lalevée resolved IVYDE-160.
-----------------------------------
Resolution: Duplicate
You are a bug in IvyDE which was fixed with : IVYDE-140
The configuration used for the retrieve job is not automatically taken into account in the resolve process.
> 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
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> 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:
> {code}
> 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
> {code}
> 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.