ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Johnson" <jeff.john...@digeo.com>
Subject entity reference
Date Wed, 13 Nov 2002 22:26:45 GMT
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>


Mime
View raw message