ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Egorov" <vego...@bea.com>
Subject RE: include file in ant
Date Wed, 12 Sep 2007 15:59:16 GMT
Try converting your property.xml into correct Ant file by nesting your
properties into <project> tag. I believe <import> works on projects.

--Vladimir

> -----Original Message-----
> From: Mitja B. [mailto:info@mitjab.com]
> Sent: Wednesday, September 12, 2007 2:56 AM
> To: Ant Users List
> Subject: Re: include file in ant
> 
> Hi,
> 
> i already try this
> 
> <import file="C:/Projekti/test/property.xml" >
> 
> property.xml:
> 
> <property name="repozitorij" value=":sspi:127.0.0.1:/cvsrep" />
> <property name="imepaketa" value="ANTProjekt" />
> <property name="revizija" value="start" />
> <property name="destinacija" value="C:/projekti/k" />
> 
> but not working
> --
> L.P.
> Mitja B.
> 
> 
> --------- Original Message --------
> From: Ant Users List <user@ant.apache.org>
> To: Ant Users List <user@ant.apache.org>
> Subject: Re: include file in ant
> Date: 12/09/07 11:25
> 
> > Mitja B. wrote:
> > &gt; Is it possible to include other files in ant?
> > &gt;
> > &gt; I have over 500 lines of code and i want to include some files
with
> ant code
> > &gt; that there will be less code in build.xml.
> > &gt;
> > &gt; I search in march mailing list and google but i did not find
> anything
> > &gt; usefull.
> >
> > yes, use &lt;import&gt;
> >
> > There's some slides here talking about it
> > http://people.apache.org/~stevel/slides/ant-1.7.pdf
> >
> > --
> > Steve Loughran
http://www.1060.org/blogxter/publish/5
> > Author: Ant in Action           http://antbook.org/
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> > For additional commands, e-mail: user-help@ant.apache.org
> >
> >
> >
> 
> ________________________________________________
> Message sent using UebiMiau 2.7.10
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org


Notice:  This email message, together with any attachments, may contain information  of  BEA
Systems,  Inc.,  its subsidiaries  and  affiliated entities,  that may be confidential,  proprietary,
 copyrighted  and/or legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient, and have received
this message in error, please immediately return this by email and then delete it.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message