Tommy Nordgren wrote:
Quoting the following example from "Extreme Programming with Ant"
<?xml version="1.0" ?>

<!DOCTYPE project [<!ENTITY sales SYSTEM
                    "file:sales.xml>
                    <!ENTITY common SYSTEM
                    "file:common.xml">]>

<project name="eMarket" default="compile" basedir=".">

.....

    &common;
    &sales;

</project>

Where can I put files for entities, so that they are available to ALL my projects?


I would use <import> on Ant1.6+, rather than XML includes. Then use properties to define locations

  <property name="root.dir" location="../.."/>
  <import file="${root.dir}/common.xml"/>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to