Assuming that the term "behind" means on the Public Internet Connection side
If not you can setup a NAT server to relay requests for a specific Port (80)
to
specific Application (apache) that would honor the request

Regards,

Martin

----- Original Message -----
From: "Steve Cohen" <[EMAIL PROTECTED]>
To: "Ant Users List" <[EMAIL PROTECTED]>
Sent: Sunday, March 02, 2003 6:48 AM
Subject: RE: Include xml file in build.xml


One thing that's wrong is that it won't work in a heterogenous environment
where some machines are using Windows and others unix.  In that case, this
can work:
<!DOCTYPE project [
    <!ENTITY repository SYSTEM
http://central.yourdomain.com/dir/repository.xml";>
]>

Of course, this address would have to be behind the firewall, on a machine
with a web server.


-----Original Message-----
From: J.Pietschmann [mailto:[EMAIL PROTECTED]
Sent: Sun 3/2/2003 6:46 AM
To: Ant Users List
Cc:
Subject: Re: Include xml file in build.xml

Oliver Wulff wrote:
> To include an xml file I do the following:
>
> <!DOCTYPE project [
>     <!ENTITY repository SYSTEM "file:./repository.xml">
> ]>
...
> This works fine. But I include an xml file which is the same for all
> projects and are stored at a central directory in the local filesystem.
> My question is: Can I define the location of my file dependent
dynamically.
> For example, dependent on an environment variable?

Marginally possible through catalogs, but may be tricky to set up.

What's wrong with "file:///central/dir/repository.xml"?

J.Pietschmann


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




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


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

Reply via email to