ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc Batchelor (JIRA)" <>
Subject [jira] Created: (IVYDE-222) Cannot specify file - FileNotFoundException
Date Wed, 18 Nov 2009 14:10:39 GMT
Cannot specify file - FileNotFoundException

                 Key: IVYDE-222
             Project: IvyDE
          Issue Type: Bug
          Components: classpath container
    Affects Versions:
         Environment: Windows 7, Eclipse 3.5
            Reporter: Marc Batchelor
            Priority: Critical

Trying the Final IvyDE which has the properties file support contributed by Pentaho. The only
thing that IvyDE will accept is a fully qualified path, and then it's able to find the file. (fails)
./ (fails)

The exception says "The property file '' could not be found"

The problem is a result of a code change in IvyClasspathContainerConfiguration (2.0.0 final
code) that was made because of IVYDE-182. On line 626/627:

is = javaProject.getProject().getFile(file).getContents();

                        is = new FileInputStream(javaProject.getProject().getFile(file)

The problem (I believe) is the use of .getFullPath(). It should have been (back then):
                        is = new FileInputStream(javaProject.getProject().getFile(file)

In the configuration screen, if I click Refresh, I can see a more complete error which illuminates
the underlying problem:

Error while resolving the ivy instance for ivy.xml in 'bi-platform-api':
  The property file '' could not be found

Underlying error (
\bi-platform-api\ (The system cannot find the path specified)

Note - the "\bi-platform-api\" - that is the path minus the workspace. It should be "\japps\bi-platform-v2\bi-platform-api\...."

Ultimately this can be closed since it's fixed in the trunk as a result of changes made to
IvyClasspathContainerState in IVYDE-203 where the line became (notice it's getLocation and
not getFullPath) .:

                        is = new FileInputStream(conf.getJavaProject().getProject().getLocation()

So - since it's fixed in the trunk, why am I opening a case? Well, the only release out there
is unusable for us (unfortunately). I'd really like to be able to point our developers/contributors
to an actual release with an Eclipse update site instead of us building it ourselves and putting
another build of IvyDE in our wiki with directions on how to manually install it into Eclipse.
Any chance of:

a- A 2.0.1 patch in the very near future?
b- A 2.1.0 release in the very near future?

Thanks for your time and consideration

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

View raw message