Bug 367284 - eclipse ant editor does not open an build.xml file
Summary: eclipse ant editor does not open an build.xml file
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 4.2   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-Ant-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2011-12-21 05:20 EST by Marco Siegl CLA
Modified: 2012-03-20 11:51 EDT (History)
1 user (show)

See Also:


Attachments
corresponding error message (5.86 KB, text/plain)
2011-12-21 05:21 EST, Marco Siegl CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Siegl CLA 2011-12-21 05:20:08 EST
Build Identifier: M20110909-1335

while opening an ant's build.xml file in project explorer, the file does not open in ant editor but throws an error, see attachment.

Reproducible: Always
Comment 1 Marco Siegl CLA 2011-12-21 05:21:02 EST
Created attachment 208666 [details]
corresponding error message
Comment 2 Michael Rennie CLA 2012-01-13 13:18:02 EST
The exception indicates that the location provider is returning null for the resolved path of the buildfile.

Where is the buildfile located on your computer? Is it in your workspace? External to your workspace? On a network drive?
Comment 3 Michael Rennie CLA 2012-03-20 11:05:52 EDT
Version: 4.2.0
Build id: I20120315-1300

Using the above build I can open Ant buildfiles in and out of the workspace without error. Closing as worksforme without more info
Comment 4 Marco Siegl CLA 2012-03-20 11:35:33 EDT
Hi Michael,

i recently upgrade to Eclipse, Version: 3.7.2, Build id: M20120208-0800 and re-opened the "build.xml", which previously caused the reported error. Just a note back to your request: the problematic ant file resided and still resides on my computer, in the eclipse workspace of the current project.

Thanks for checking back. Problem resolved for me with an Eclipse upgrade.

Kind regards,
Marco
Comment 5 Michael Rennie CLA 2012-03-20 11:51:58 EDT
(In reply to comment #4)
> Hi Michael,
> 
> i recently upgrade to Eclipse, Version: 3.7.2, Build id: M20120208-0800 and
> re-opened the "build.xml", which previously caused the reported error. Just a
> note back to your request: the problematic ant file resided and still resides
> on my computer, in the eclipse workspace of the current project.
> 
> Thanks for checking back. Problem resolved for me with an Eclipse upgrade.
> 
> Kind regards,
> Marco

Perfect! Thanks for reporting back Marco