Community
Participate
Working Groups
When using "Run ant..." context menu on a build file, the parser fails when the path to the dtd or external entity is a relative one, or doesn't contain the "file:" prefix i.e. on our system the following declaration fails: The buildfile "Run ant" is being called on: w:/a-Source/CS/build/cs.xml Our build infrastructure resides in: w:/a-Source/Build <!DOCTYPE project PUBLIC "-//ANT//DTD project//EN" "../../Build/ant/ant.dtd" [ <!ENTITY build-driver SYSTEM "../../Build/ant/build-driver.xml"> <!ENTITY build-defaults SYSTEM "../../Build/ant/build-defaults.xml"> ]> The above also fails when using the "file:" prefix The ONLY way that works is as shown: <!DOCTYPE project PUBLIC "-//ANT//DTD project//EN" "file:/w:/a-Source/Build/ant/ant.dtd" [ <!ENTITY build-driver SYSTEM "file:/w:/a-Source/Build/ant/build-driver.xml"> <!ENTITY build-defaults SYSTEM "file:/w:/a-Source/Build/ant/build-defaults.xml"> ]> Relative paths do not seem to be taken relative to the buildfile as they should be.
*** This bug has been marked as a duplicate of 18692 ***