I saw the original posting and I tried this, but my XML editor complains
that "This file is not valid: No content model available for validation
(possible empty DTD/Schema)."

Am I doing something wrong?

I have this in the beginning of my build.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE project [
    <!ENTITY commonTargets SYSTEM "../build-calls.xml">
]>


> -----Original Message-----
> From: Eric Rosengren [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 11, 2001 4:26 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: How do I include common targets from an external file?
> 
> 
> Here's an example from Mark Hewitt that works.
> It uses relative pathing to get to the common XMl files though.
> I've been searching for a way to use an environment variable 
> to specify
> the path. Some how get the parser to dereference 
> %COMMON_FILES%/common.xml.
> No luck so far.
> 

Reply via email to