Bug 19122 - ANT executes in wrong directory
Summary: ANT executes in wrong directory
Status: RESOLVED DUPLICATE of bug 18692
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 2.0   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: DJ Houghton CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-04 12:16 EDT by Stephen Cooper CLA
Modified: 2002-06-04 14:17 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***