Re: LOCALROOT vs. full path to local frameworks

From: Tatsuya Kawano (tatsuyam..ac.com)
Date: Tue Sep 24 2002 - 12:14:42 EDT

  • Next message: Kaj Hejer: "Re: LOCALROOT vs. full path to local frameworks"

    Hi Kaj,

    > I can't get ant to use LOCALROOT in the classpathfiles (f.x.
    > medark.woa/Contents/UNIX/UNIXClassPath.txt) instead of full path, see the
    > UNIXClassPath.txt bellow.
    >
    > I guess when full path instead of LOCALROOT the application will not like
    > to be moved between plattforms (since LOCALROOT is different).
    >
    > Are there any obvious caveats in using LOCALROOT when making build.xml files?
    >
    >
    > My build.xml can be found at http:///folk.uio.no/kajh/tmp/build.xml.txt

    I think you could change this:
    --------------------------------------------------------------------
        <property name="local_fw_root"
                value="${next_root}/Local/Library/Frameworks"/>

                <frameworks root="${local_fw_root}">
                    <include name="languagefw.framework"/>
                    <include name="uiofw.framework"/>
                    <include name="securityfw.framework"/>
                    <include name="directoryfw.framework"/>
                    <include name="utilityfw.framework"/>
                    <include name="WOUnitTest.framework"/>
                </frameworks>
    --------------------------------------------------------------------

    To this:
    --------------------------------------------------------------------
        <property name="wo.localroot" value="/" />
        <property name="local_fw_root"
              value="${next_root}/Library/Frameworks"/> <!-- Remove /Local ! -->

                <frameworks root="wo.localroot"> <!-- don't put ${ } -->
                    <include name="${local_fw_root}/languagefw.framework"/>
                    <include name="${local_fw_root}/uiofw.framework"/>
                    <include name="${local_fw_root}/securityfw.framework"/>
                    <include name="${local_fw_root}/directoryfw.framework"/>
                    <include name="${local_fw_root}/utilityfw.framework"/>
                    <include name="${local_fw_root}/WOUnitTest.framework"/>
                </frameworks>
    --------------------------------------------------------------------

    and it would work fine.

    Thanks,
    Tatsuya

    -- 
    Tatsuya Kawano   
    New York  NY 10016 
    

    E924 0D0D C0BF 3DCF 9F83 F2CD 20D1 8377 633A D84F



    This archive was generated by hypermail 2.0.0 : Tue Sep 24 2002 - 12:14:57 EDT