ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: include file in ant
Date Thu, 13 Sep 2007 06:17:33 GMT
No - <import> imports only a whole project. Means: you need a top level <project>.

Jan 

>-----Urspr√ľngliche Nachricht-----
>Von: Anderson, Rob (Global Trade) [mailto:Rob.Anderson@nike.com] 
>Gesendet: Mittwoch, 12. September 2007 17:55
>An: Ant Users List; Mitja B.
>Betreff: RE: include file in ant
>
>That looks like it should work. Run ant -debug or -verbose and look
>through the output.  Post the output to the list.
>
>-Rob Anderson
>
>> -----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
>> 
>> 
>> 
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>

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


Mime
View raw message