Summary: | The line numbers for Ant build scripts that include other xml files are misleading | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Markus Kohler <kohler> |
Component: | Ant | Assignee: | Platform-Ant-Inbox <platform-ant-inbox> |
Status: | RESOLVED WORKSFORME | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | Keywords: | core |
Version: | 2.0.1 | ||
Target Milestone: | 2.1 M5 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Markus Kohler
2002-09-17 09:06:48 EDT
Needs investigation I cannot reproduce the problem. Note that this is using 2.1 M4. ---build.xml---- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE project [ <!ENTITY common SYSTEM "file:common.xml"> ]> <project name="SomeProject" default="main2" basedir="."> &common; <target name="main2" depends="main"> <echo message= "Main2"> </target> </project> ---common.xml--- <target name="main"> <!-- do stuff --> <echo message= "Main"/> <echo message= "Main2"/> <echo message= "Main3"/> <echo message= "Main4"/> <echo message= "Main5"/> </target> Error message I recieve: BUILD FAILED: file:c:/1115/ApacheCon/scripts/23638.xml:12: Expected "</echo>" to terminate element starting on line 11. I guess it's an Ant 1.4.1 problem. |