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/05/30 10:12:07 UTC

[jira] Resolved: (IVYDE-182) Importing a project with Ivy fails if properties files are specified in settings

     [ https://issues.apache.org/jira/browse/IVYDE-182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicolas Lalevée resolved IVYDE-182.
-----------------------------------

    Resolution: Fixed

Your are right, it was just like IVYDE-181. Thank you for the bug report.

> Importing a project with Ivy fails if properties files are specified in settings
> --------------------------------------------------------------------------------
>
>                 Key: IVYDE-182
>                 URL: https://issues.apache.org/jira/browse/IVYDE-182
>             Project: IvyDE
>          Issue Type: Bug
>    Affects Versions: 2.0.0.beta1
>         Environment: Eclipse SDK Version: 3.4.1
> Build id: M20080911-1700
> Ubuntu Linux 9.0.4
>            Reporter: Adrian Gould
>            Assignee: Nicolas Lalevée
>             Fix For: 2.0.0.final
>
>
> Specifying a property file in settings and then  importing ivy projects into the workspace causes  IvyDE to fail during import, complaining that it can't find the property file.  Removing and re-adding the ivy library by hand after the import works fine, as the property file does exist.  It appears that IvyDE is trying to use the facilities of the project to locate the file prior to the project's instantiation into the workspace.  This may be related to IVYDE-181.
> relevant .log entry:
> !ENTRY org.apache.ivyde.eclipse 4 4 2009-05-27 12:03:59.668
> !MESSAGE Error while resolving the ivy instance for ivy.xml in 'myproj':
>   The property file 'build.properties' could not be read
> !STACK 0
> org.apache.ivyde.eclipse.IvyDEException: Error while resolving the ivy instance for ivy.xml in 'base-web':
>   The property file 'build.properties' could not be read
> 	at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainerConfiguration.createIvySettings(IvyClasspathContainerConfiguration.java:628)
> 	at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainerConfiguration.getIvy(IvyClasspathContainerConfiguration.java:573)
> 	at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainerConfiguration.doGetIvy(IvyClasspathContainerConfiguration.java:535)
> 	at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainerConfiguration.getIvy(IvyClasspathContainerConfiguration.java:453)
> 	at org.apache.ivyde.eclipse.cpcontainer.IvyResolveJob.run(IvyResolveJob.java:200)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> Caused by: org.eclipse.core.internal.resources.ResourceException: Resource '/base-web/build.properties' does not exist.
> 	at org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:317)
> 	at org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:194)
> 	at org.eclipse.core.internal.resources.File.getContents(File.java:296)
> 	at org.eclipse.core.internal.resources.File.getContents(File.java:287)
> 	at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainerConfiguration.createIvySettings(IvyClasspathContainerConfiguration.java:626)
> 	... 5 more

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