Bug 19122

Summary: ANT executes in wrong directory
Product: [Eclipse Project] Platform Reporter: Stephen Cooper <disabled1234>
Component: AntAssignee: DJ Houghton <dj.houghton>
Status: RESOLVED DUPLICATE QA Contact:
Severity: major    
Priority: P3    
Version: 2.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Stephen Cooper CLA 2002-06-04 12:16:34 EDT
I have an build.xml that includes the following declaration:
<!DOCTYPE project PUBLIC "-//ANT//DTD project//EN" "build.dtd">
The file build.dtd is in the same directory as the file build.xml.

Up until F2, the ant plugin has been able to parse build.xml.  With F2 QT
version, I now get the error:
Problems reading Ant build file: /UCDTest/build.xml
Reason:
/home/stephen/build.dtd (No such file or directory)

The build.xml & build.dtd files are located in /home/stephen/projects/UCDTest.
I start eclipse with the -data /home/stephen/projects directive.

If I run ant externally, with CWD=/home/stephen/projects/UCDTest, then
everything works fine.  Also, if I run an earlier version than F2, things work fine.
Comment 1 Rodrigo Peretti CLA 2002-06-04 14:17:16 EDT

*** This bug has been marked as a duplicate of 18692 ***