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

Bug 128552

Summary: Can't run ant targets anymore
Product: [Eclipse Project] Platform Reporter: Jörg von Frantzius <jfrantzius>
Component: AntAssignee: Platform-Ant-Inbox <platform-ant-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3    
Version: 3.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Jörg von Frantzius CLA 2006-02-19 13:15:29 EST
[3.2 M5]

When I doubleclick an ant target in the Ant View, all I get is a dialog saying "Build failed
Reason:
Unable to find ant target to run." 
This also happens when I chose right-click "Run As... / Ant Build..." on a target. The file is really just called build.xml, and I looked in the preferences where there is "build.xml" listed in the "Names" section of the Global Ant Settings. 

This used to work just great in Eclipse 3.2 M4.
Comment 1 Darin Swanson CLA 2006-02-19 22:01:30 EST
Is there anything in your .log file indicating more of a problem?

From the debug view of Eclipse, is a process created and if so what is the process commandline (Right click on the process>Properties)?

I am wondering if bug 128553 is the root cause of this problem as well?
Comment 2 Jörg von Frantzius CLA 2006-02-20 07:19:33 EST
(In reply to comment #1)
> Is there anything in your .log file indicating more of a problem?
No, unfortunately not. I cleared the log and doubled-clicked an ant-target, which gave me the said dialog but no entry in the Error Log.

> From the debug view of Eclipse, is a process created and if so what is the
> process commandline (Right click on the process>Properties)?

No process seems to get created. The dialog appears immediately.

> I am wondering if bug 128553 is the root cause of this problem as well?

That's what I also wondered, but as I don't get the NPE here, at least not visible anywhere, I don't think so.
Comment 3 Darin Swanson CLA 2006-02-24 10:48:39 EST
I cannot reproduce the problem.
Is this for all Ant buildfiles?
Comment 4 Darin Swanson CLA 2006-03-20 12:33:28 EST
Anything more to report here? We have had no other reports of problems.
Comment 5 Jörg von Frantzius CLA 2006-03-20 17:08:13 EST
(In reply to comment #4)
> Anything more to report here? We have had no other reports of problems.
> 

Sorry can't currently test M5 as it was unusable for me, I'll reopen when I see the problem again with next milestone, in case you want to get it out of your list of open bugs...
Comment 6 Darin Swanson CLA 2006-03-20 17:10:50 EST
Thank you for reporting back.