Greetings,

Has anyone seen this error when including entity references in their Ant buildfiles?

"Parameter entity references must not appear within markup declarations in the 
internal DTD subset."

What I have is:

=====================
===== build.xml =====
=====================
<?xml version="1.0" encoding="utf-8"?>

<!DOCTYPE project [
    <!ENTITY deploy SYSTEM "file:./deploy.xml">
]>

<project name="Project Name" default="compile" basedir=".">

    ...
    
    &deploy;
    
    <target name="deploy">
        ...
    </target>

    ...

</project>

======================
===== deploy.xml =====
======================

    <target name="deploy-dev">
        ...
    </target>

    <target name="deploy-prod">
        ...
    </target>

-----

This works fine under most circumstances (e.g., running Ant from command-line on 
Win/Unix, invoking the Ant buildfile from org.apache.tools.ant.Project, etc.), but 
sometimes fails under other circumstances.

Thanks,
Jeff

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@;jakarta.apache.org>

Reply via email to