ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "RADEMAKERS Tanguy" <Tanguy.RADEMAK...@swift.com>
Subject RE: Is it possible to use other build file's classpath?
Date Fri, 19 Aug 2005 09:35:34 GMT
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:leon_xf_pu@yahoo.com.cn] 
>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 <Tanguy.RADEMAKERS@swift.com> 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:leon_xf_pu@yahoo.com.cn] 
>> >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 <leon_xf_pu@yahoo.com.cn> 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: user-unsubscribe@ant.apache.org
>> >> For additional commands, e-mail: user-help@ant.apache.org
>> >> 
>> >> 
>> >
>> >
>> >
>> >		
>> >____________________________________________________
>> >Start your day with Yahoo! - make it your home page 
>> >http://www.yahoo.com/r/hs 
>> > 
>> >
>>
>>---------------------------------------------------------------------
>> >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
>> 
>> 
>
>
>
>		
>__________________________________ 
>Yahoo! Mail 
>Stay connected, organized, and protected. Take the tour: 
>http://tour.mail.yahoo.com/mailtour.html 
>
>
>---------------------------------------------------------------------
>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