ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 31681] - Regression in processing XML Entity includes from 1.6.1
Date Tue, 12 Oct 2004 23:19:26 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31681>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31681

Regression in processing XML Entity includes from 1.6.1





------- Additional Comments From kgambrel@seebeyond.com  2004-10-12 23:19 -------
ANT 1.6.2 fails with "duplicate targets" error for the following construction. 
ANT 1.6.1 and previous processed it successfully.

----------------------------------------------
File entityinclude.xml contains:
<?xml version="1.0" encoding="UTF-8"?>
    <target name="jar" >
        <echo>included jar target</echo>
    </target>
----------------------------------------------
File build.xml contains:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE project [
    <!ENTITY targets SYSTEM "entityincludes.xml">
]>
<project name="ICAN Suite" default="install" basedir=".">

    <target name="jar" >
        <echo>base jar target</echo>
    </target>
    &targets;

</project>

1.6.1 -- "ant jar" gives:
jar:
     [echo] base jar target

BUILD SUCCESSFUL

1.6.2 -- "ant jar" gives:
BUILD FAILED
F:\510Dev\eGate\eGatenew\testemp\targets.xml:2: Duplicate target 'jar'

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message