Re: LOCALROOT vs. full path to local frameworks

From: Kaj Hejer (kaj.heje..sit.uio.no)
Date: Tue Sep 24 2002 - 14:18:08 EDT

  • Next message: Andrus Adamchik: "[Hopefully SOLVED] Mailserver problems"

    At 15:52 +0000 24-09-02, Andrus Adamchik wrote:
    >Kaj,
    >
    >
    >I wish we could kill this whole "root" business alltogether !!!
    >
    >Anyway,
    >
    >you should probably do something like:
    >
    ><property name="wo.localroot" value="${local_fw_root}"/>
    >
    >and then later :
    >
    ><frameworks root="wo.localroot">
    > <include name="languagefw.framework"/>
    >...

    Yes! That did it!

    Thank you!

    In my build.xml I now have the following that seems to work just fine on
    both solaris and osx. I still havn't tested this on windows.

            <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}" />

            <frameworks root="wo.localroot">
                    <include name="Library/Frameworks/languagefw.framework"/>
                    <include name="Library/Frameworks/uiofw.framework"/>
                    <include name="Library/Frameworks/securityfw.framework"/>
                    <include name="Library/Frameworks/directoryfw.framework"/>
                    <include name="Library/Frameworks/utilityfw.framework"/>
                    <include name="Library/Frameworks/WOUnitTest.framework"/>
            </frameworks>

    -Kaj :)



    This archive was generated by hypermail 2.0.0 : Tue Sep 24 2002 - 14:18:13 EDT