On 19/08/05, RADEMAKERS Tanguy <[EMAIL PROTECTED]> wrote: > > happy to help. > > Might i suggest you post a simple example? > That way it will become part of our colective memory. > > /t > > >-----Original Message----- > >From: Leon Pu [mailto:[EMAIL PROTECTED] > >Sent: Friday, August 19, 2005 11:24 AM > >To: Ant Users List > >Subject: RE: Is it possible to use other build file's classpath? > > > >Hi RADEMAKERS, > > > >it works, good idea! > > > >Thanks a lot! > > > > > >Best regards, > >Leon > > > >--- RADEMAKERS Tanguy <[EMAIL PROTECTED]> wrote: > > > >> You could define your path in a seperate file (like "build_path.inc") > >> and then use xml-include to include this in BOTH your build files. > >> This > >> is an xml-level hack rather than a ant level hack. > >> > >> /t > >> > >> >-----Original Message----- > >> >From: Leon Pu [mailto:[EMAIL PROTECTED] > >> >Sent: Friday, August 19, 2005 10:49 AM > >> >To: Ant Users List > >> >Subject: Re: Is it possible to use other build file's classpath? > >> > > >> >Hi all, > >> > > >> >maybe my question is a little confusing. I mean the class path > >> setting > >> >inside the build file, just like following example. I want to use it > >> in > >> >another build file. Is it possible without import this build file? > >> > > >> >[build-script] > >> > <path id="run.class.path"> > >> > <fileset dir="${ext.lib.dir}"> > >> > <include name="**/*.jar"/> > >> > </fileset> > >> > </path> > >> > > >> > <property name="run.class.path" refid="run.class.path" /> > >> >[build-script] > >> > > >> > > >> >Best regards, > >> >Leon > >> > > >> >--- Leon Pu <[EMAIL PROTECTED]> wrote: > >> > > >> >> Hi all, > >> >> > >> >> I want to know whether it is possible to use other build file's > >> >> classpath? > >> >> > >> >> For some reasons I don't want to use import task. > >> >> > >> >> Thanks! > >> >> > >> >> > >> >> Best regards, > >> >> Leon > >> >> > >> >> > >> >> > >> >> ____________________________________________________ > >> >> Start your day with Yahoo! - make it your home page > >> >> http://www.yahoo.com/r/hs > >> >> > >> >> > >> >> > >> --------------------------------------------------------------------- > >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> >> For additional commands, e-mail: [EMAIL PROTECTED] > >> >> > >> >> > >> > > >> > > >> > > >> > > >> >____________________________________________________ > >> >Start your day with Yahoo! - make it your home page > >> >http://www.yahoo.com/r/hs > >> > > >> > > >> > >>--------------------------------------------------------------------- > >> >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] > >> > >> > > > > > > > > > >__________________________________ > >Yahoo! Mail > >Stay connected, organized, and protected. Take the tour: > >http://tour.mail.yahoo.com/mailtour.html > > > > > >--------------------------------------------------------------------- > >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] > > You can also define your properties in a separate build file and then use <ant antfile="Your ant file to call" inheritall="true"/> to inherit your propeties.
-- Regards, Petar!