Community
Participate
Working Groups
Bugzilla – Bug 238839
Unable to find an Ant file to run
Last modified: 2009-02-02 12:10:02 EST
Build ID: I20080617-2000 Steps To Reproduce: 1. Open a Java Class File on Java Editor; 2. Create a simple Ant Build file on root of the current Java Project; 3. Rebind Run Ant Build to Ctrl + F10; 4. Unbind "Show Ruler Context Menu" and "Show View Menu" on Preferences -> General -> Keys; 5. Type Ctrl + F10 on Java Source Code Editor; 6. The message "Unable to find an Ant file to run" will popup. More information: Eclipse 3.3 can find the ant file Eclipse 3.4 cant.
Moving to Platform/Ant
Is there anyone working on this issue?
I can reproduce this on Linux/gtk+ with I20080716-1200. I don't have a 3.3.x build at the moment to test whether it's a regression or not though.
I am running 3.3 and 3.4 side by side. I used the default binding (alt+shift+x, q). It works perfectly in 3.3 and does not work in 3.4.
It looks like "Run Ant Build" will "find" a build.xml file when launched from a selection (e.g. a file in the navigator), but not when launched from the editor.
Created attachment 123097 [details] patch to find build file associated with editor's project
Fixed in HEAD.
Requesting PMC approval to fix in 3.4.2 since this is a regression from 3.3
Released to 3.4.2
Please verify, Mike (R).
verified