--- Ray Tayek <[EMAIL PROTECTED]> wrote:
> i am trying to put in different classpaths depending on whether i am on 
> windoze or linux.
> 
> something like:
> 
> if ${unix}=true
>          then <pathelement location="foo/helper.jar"/>
>          else <pathelement location="c:\lbar\helper.jar"/>
> fi

  <target name="setClasspath">
    <condition property="classpath" value="foo/helper.jar">
      <os family="unix" />
    </condition>
    <condition property="classpath" value="c:\lbar\helper.jar">
      <os family="windows" />
    </condition>
  </target>

Diane

=====
([EMAIL PROTECTED])



__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to