ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Lalevée (JIRA) <j...@apache.org>
Subject [jira] Issue Comment Edited: (IVYDE-160) Unable to create intial ivy configuration unless all configurations are selected
Date Mon, 02 Mar 2009 15:32:56 GMT

    [ https://issues.apache.org/jira/browse/IVYDE-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12678006#action_12678006
] 

hibou edited comment on IVYDE-160 at 3/2/09 7:32 AM:
---------------------------------------------------------------

You are hitting 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.

      was (Author: hibou):
    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.


Mime
View raw message