RE: RFC properties

From: Christian Gruber (cgrube..srafil.net)
Date: Wed Jan 15 2003 - 16:03:37 EST

  • Next message: Christian Gruber: "RE: RFC logging"

    Suggestion.

    #This file stores the wo specific properties
    #Wed Jan 15 17:01:51 CET 2003
    wo.dir.root=/
    wo.dir.system=/System
    wo.dir.user=/Volumes/Users/uli/
    wo.dir.local=/Local

    and generate in the build.xml (with optional user overrides) using
    <conditional property="a.b.c.d" value="${a.b.c}/d">
            <not><isset property="a.b.c.d"/></not>
    </conditional>

    the following properties

    wo.dir.*.library=${wo.dir.*}/Library
    wo.dir.*.library.frameworks=${wo.dir.*.library}/Frameworks

    in fact, you can do away with all of it, by using operating
    system-specific defaults in conditional property setters, allowing the
    user to override. So you can have

    wo.dir.system=/System
    wo.dir.user=/Users/${user.name}/
    wo.dir.local=/Local

    ... on MacOSX by default, and then on Windows, you can have

    wo.dir.system=C:/Apple
    wo.dir.user=${user.home}
    wo.dir.local=${wo.dir.system}/Local

    ... and on Solaris

    wo.dir.system=/opt/Apple
    wo.dir.user=${user.home}
    wo.dir.local=${wo.dir.system}/Local

    I expect that so few people actually stray from the default installation
    paths with WO on non MacOSX platforms, that the defaults will almost
    never require alteration.



    This archive was generated by hypermail 2.0.0 : Wed Jan 15 2003 - 16:05:38 EST