Hi Kaj,
you may integrate it the way WOProject/WOLips does this.
Here is short brief:
- check out woproject
- build it (ant dist)
On the first build you will get a message that the build has failed and
that a file $user.home/Library/wobuild.properties is written.
On the second build the nextroot and localroot will be used from the
wobuild.properties file.
The build file in woproject that does this trick is :
build-user-home-wobuild-properties.xml
In your build file add
<property
file="${user.home}${file.separator}Library${file.separator}wobuild.prope
rties"/>
and may be:
<ant antfile="build-user-home-wobuild-properties.xml" target="check"/>
to make sure that the properties are set.
This is my wobuild.properties file:
#This file stores the wo specific properties
#Wed Dec 18 19:04:13 CET 2002
wo.wolocalroot=/
wo.woroot=/System
Have fun
Uli
Am Donnerstag, 02.01.03 um 09:28 Uhr schrieb Kaj Hejer:
> Hi!
>
> It has been a while since I tried to build WO apps with ant on osx. We
> mostly do this on solaris where it seems to work just fine!
>
> But... On osx the test bellow to see if we are n osx seems to don't
> work anymore. It has worked earlier (10.1.*?), so I'm not sure if this
> is a osx 10.2.* thing or omsething else.
>
> <property name="local_fw_root"
> value="${next_root}/Local/Library/Frameworks"/>
> <condition property= "local_fw_root" value="/Library/Frameworks">
> <and>
> <os family="mac" />
> <os family="unix" />
> </and>
> </condition>
> <echo message="local_fw_root: ${local_fw_root}" />
>
> Any ideas how this test should be?
>
>
> -Kaj :)
> --
>
> _______________________________________________________________________
> _____
> Universitetets Senter for Informasjonsteknologi (USIT), Universitetet
> i Oslo
> e-post:
> kaj.heje..sit.uio.no
>
This archive was generated by hypermail 2.0.0 : Thu Jan 02 2003 - 03:45:01 EST