ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Ivanov <rambiusparkisan...@yahoo.com>
Subject Re: Test property in the definition of a path
Date Tue, 04 Jan 2005 11:14:10 GMT
Oliver,

The only idea that comes to my mind is to place the
definition of weblogic.classpath path in a conditional
target:
<target name="define-wl-cp" if="weblogic.root">
    <path id="weblogic.classpath"> 
         <fileset dir="${weblogic.root}\lib">
             <include name="weblogic.jar" />
             <include name="webservices.jar" />
             <include name="webserviceclient.jar" /> 
           
         </fileset> 
    </path>
</target>

HTH Ivan
--- Olivier Mocquais
<olivier.mocquais@francetelecom.com> wrote:

> Hi,
> 
> I want to define the fileset in the path only if the
> property 
> weblogic.root is set.
> How can I do this ?
> 
>    <path id="weblogic.classpath">
> 
>         <fileset dir="${weblogic.root}\lib">
>             <include name="weblogic.jar" />
>             <include name="webservices.jar" />
>             <include name="webserviceclient.jar" /> 
>           
>         </fileset>
> 
>    </path>
> 
> Thanks for your answers.
> 
> Olivier
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
> 
> 



	
		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail

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


Mime
View raw message