ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor G." <igl...@yahoo.com>
Subject RE: multiple entity includes?
Date Sat, 16 Nov 2002 14:38:33 GMT
I used to have etities  exactly way you described, but Jbuilder 7  will not
properly parse your build.xml file and you will not be able to use it to edit 
build.xml file. 

It was a while back though

--- Dominique Devienne <DDevienne@lgc.com> wrote:
> You mean doing something like this? --DD
> 
> --- acme/jeewiz/common.xml ---
> ...
> --- acme/jeewiz/recurse.xml ---
> ...
> --- acme/jeewiz/build.xml ---
> <?xml version="1.0"?>
> 
> <!DOCTYPE project [
>   <!ENTITY common  SYSTEM "common.xml">
>   <!ENTITY recurse SYSTEM "recurse.xml">
> ]>
> 
> <project name="jeewiz"
>          default="build">
> 
>   <property name="acme.cvsroot" location=".." />
> 
>   <!-- Common targets to traverse directories. -->
>   &common;
>   &recurse;
> 
> ...
> 
> </project>
> 
> 
> --- acme/foobar/build.xml ---
> <?xml version="1.0"?>
> 
> <!DOCTYPE project [
>   <!ENTITY common  SYSTEM "../jeewiz/common.xml">
>   <!ENTITY recurse SYSTEM "../jeewiz/recurse.xml">
> ]>
> 
> <project name="foobar"
>          default="build">
> 
>   <property name="acme.cvsroot" location=".." />
> 
>   <!-- Common targets to traverse directories. -->
>   &common;
>   &recurse;
> 
> ...
> 
> </project>
> 
> -----Original Message-----
> From: Nolan Ring [mailto:Nolan.Ring@Sun.COM] 
> Sent: Wednesday, November 13, 2002 7:48 AM
> To: ant-user@jakarta.apache.org
> Subject: multiple entity includes?
> 
> Hi,
> 
> I would like to include two separate xml code snippets at different 
> points in the same build.xml file(s).  I've tried a number of things like:
> 
> * Including all of the xml code in one file and calling it in in two places
> * Trying to use the copy task to juggle file contents, and then include 
> it in two places
> * Others that I'd be embarassed to mention :-)
> 
> Is there a way to do this?
> 
> Thanks for any help/suggestions.
> 
> Nolan Ring
> 
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com

--
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