Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 367284

Summary: eclipse ant editor does not open an build.xml file
Product: [Eclipse Project] Platform Reporter: Marco Siegl <email>
Component: AntAssignee: Platform-Ant-Inbox <platform-ant-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: major    
Priority: P3 CC: Michael_Rennie
Version: 4.2Keywords: needinfo
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
corresponding error message none

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