No - <import> imports only a whole project. Means: you need a top level <project>.
Jan >-----Ursprüngliche Nachricht----- >Von: Anderson, Rob (Global Trade) [mailto:[EMAIL PROTECTED] >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:[EMAIL PROTECTED] >> 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: >> > > Is it possible to include other files in ant? >> > > >> > > I have over 500 lines of code and i want to include >> some files with >> ant code >> > > that there will be less code in build.xml. >> > > >> > > I search in march mailing list and google but i did >> not find anything >> > > usefull. >> > >> > yes, use <import> >> > >> > 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: [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> > >> >> ________________________________________________ >> Message sent using UebiMiau 2.7.10 >> >> >> >> --------------------------------------------------------------------- >> 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]