I have not tried that.  I will see what happens.


-----Original Message-----
From: Will Hartung [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 13, 2005 1:13 PM
To: Tomcat Users List
Subject: Re: Sharing Data Sources

> From: "Cook, Jared" <[EMAIL PROTECTED]>
> Sent: Friday, May 13, 2005 7:08 AM

> That's what I am doing, but I want to avoid having to do that.  I would
> rather have it all in one file so when I need to make changes I only have
to
> do it once.

Have you looked at using an XML Entity reference?

I'm not the XML guru, but I saw this snippet from Suns App server sample
build scripts:

<!DOCTYPE project [
  <!ENTITY sampleCommonCommands SYSTEM "../common-ant.xml">
]>

<project name="hello-example" default="core" basedir=".">
...
  &sampleCommonCommands;
...
</project>

So, you might be able leverage that capability and use it as an Include for
your XMLs.

Regards,

Will Hartung
([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