Re: trouble building application on osx

From: Kaj Hejer (kaj.heje..sit.uio.no)
Date: Thu Nov 28 2002 - 15:41:09 EST

  • Next message: Christian van der Leeden: "Re: trouble building application on osx"

    At 18:35 +0100 28-11-02, Christian van der Leeden wrote:
    >Hi,
    >
    > can't get the MacOSClassPath.txt to build correctly.
    >a) It misses out the frameworks i've specified in the woapplication
    >task. (see specific description below)
    >b) I've got links set up to have wo51 and wo52 on my machine at the same time.
    > The MacOSClasspath.txt then contains e.g.:
    >
    >WOROOT/Library/Frameworks/wo51/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar
    >
    >For Problem a):
    >When running my ant script I get the message:
    >[woapplication] Installing LUTesting in /Objects
    >[woapplication]
    >/Network/Users/leeden/WorkArea/Projects/cosada/LUTesting/wo.localroot not
    >found.
    >
    >the property wo.localroot is defined and points to "/"

    > <frameworks root="wo.localroot">

    Hi!

    Try

    <frameworks root="${wo.localroot}">

    istead of the line above.

    To get wo.localroot and other variables correct on different plattforms we
    use something like the lines bellow:

            <property name="wo.woroot" value="${next_root}"/>
            <property name="wo.localroot" value="${next_root}/Local"/>
            <condition property= "wo.localroot" value="/">
                <and>
                    <os family="mac" />
                    <os family="unix" />
                </and>
            </condition>
            <echo message="wo.localroot: ${wo.localroot}" />

    This is not my own invention but something I got from some of the nice ppl
    on this list!

    -Kaj :)



    This archive was generated by hypermail 2.0.0 : Thu Nov 28 2002 - 15:41:04 EST