Re: woproject on mac os x : Working from a flat directory

From: Andrus (andru..bjectstyle.org)
Date: Wed Jul 24 2002 - 00:09:40 EDT

  • Next message: Andrus: "Re: woproject on mac os x : Frameworks need frameworks"

    At 10:36 PM 7/23/2002 -0400, Gavin Eadie wrote:
    >Working from a flat directory ...
    >
    > On Mac OS X, Project Builder doesn't use the structure of directories
    > within directories to organize things like source, resources, web
    > resources, and so on, so if you generate your initial project with pbx,
    > the ant build will have to cope with this too. Of course it is possible
    > to move things into directories "src", "res", "web" etc, and pbx will
    > cope (after you tell it where you moved everything) but I didn't do that.
    >
    > As a result, my javac, woframework and woapplication tasks tend to
    > rely heavily on file name extension conventions (actually, javac already
    > only processes *.java files). Could woapplication and woframework be
    > taught to move things by their *.extension too, or would that be a bad idea?

    Well, the original idea was to work with any project structure. Of course
    in case of "standard" PB file layout, "dir" of all the nested elements will
    be the same and equal to project directory. This will most likely allow to
    make some assumptions.

    For instance, we may internally build default files sets for the list of
    standard extensions: *.class , *.jar, *.wo, *.plist. This new feature may
    be turned on by specifying a special attribute that sets a PB project root:

    <woapplication pbroot="mydir">
    <woframework pbroot="mydir">

    I would like some feedback on that before I add this as a task.

    Andrus



    This archive was generated by hypermail 2.0.0 : Wed Jul 24 2002 - 00:09:15 EDT