Re: trouble building application on osx

From: Christian van der Leeden (list..ogicunited.com)
Date: Thu Nov 28 2002 - 15:59:08 EST

  • Next message: Christian van der Leeden: "Generated MacOSClassPath.txt and symbolic links"

    Thanks, it works now! Sadly the symlinks are resolved
    and not left alone, well, a task for perl regexp :-)

    I've tried your example you've posted and discovered that
    the code snipped below didn't work for me. As I've found out,
    properties are write once and cannot be changed afterwards.

    for the thing below to work I had to do the following:
             <condition property="isMacOSX">
                 <and>
                     <os family="mac"/>
                     <os family="unix"/>
                 </and>
             </condition>
             <condition property="wo.localroot"
    value="${env.NEXT_ROOT}/Local">
                 <isfalse value="${isMacOSX}"/>
             </condition>

             <condition property="wo.localroot" value="/">
                 <istrue value="${isMacOSX}"/>
             </condition>

    My experience from todays work with ant :-)

    Christian

    >
    > <property name="wo.localroot" value="${next_root}/Local"/>
    > <condition property= "wo.localroot" value="/">
    > <and>
    > <os family="mac" />
    > <os family="unix" />
    > </and>
    > </condition>
    >
    -------------------------------------------------
    Logic United GmbH
    Mob: 0163-3747111
    Tel: 089-189488-66
    http://www.logicunited.com





    This archive was generated by hypermail 2.0.0 : Thu Nov 28 2002 - 15:59:39 EST