Re: Help migrating project layouts - FB?

From: Mike Schrag (mschra..dimension.com)
Date: Wed Apr 08 2009 - 12:32:32 EDT

  • Next message: Ken Anderson: "Re: Help migrating project layouts - FB?"

    FBL:
    project
            Sources
                    com/whatever/YourClass.java
            Components (flattens)
                    .../.../YourComponent.wo
            WebServerResources (does not flatten)
                    .../.../images/whatever.png
            Resources (does not flatten and cannot have subfolders)
                    Properties

    Maven (don't recall flattening rules, but I suspect it's the same ...
    Henrique, I think, commented on this a couple days ago):
    project
            src
                    main
                            components
                                    YourComponent.wo
                            java
                                    com/whatever/YourClass.java
                            resources
                                    Properties
                            webserverresources
                                    image.png
                    test
                            same as above but for testing things

    The main thing both layouts have in common is that they define a
    specific folder structure for finding the parts of your WO project.
    If you conform to the standard, things work better. Maven has the
    additional layer that it splits "test" and "main" aspects of your
    project, so you could have components that are used for testing,
    source only used for testing, and models only used for testing.
    WOLips doesn't play very nicely with this separation just yet, but it
    will.

    I use FBL because Wonder used FBL and WOLips "grew up" around FBL.
    The Maven layout will continue to be supported better because there
    are several dedicated Maven WOLips users, but also because Apple uses
    Maven and recommends using it. The choice is mostly up to you, though.

    ms

    On Apr 8, 2009, at 6:54 AM, Ken Anderson wrote:

    > All,
    >
    > We're going to be moving to a new subversion repository, and for a
    > number of reasons, we've decided to keep the history in the old one
    > and start fresh. This gives me a wonderful opportunity to unify the
    > project structures across all the frameworks and apps.
    >
    > The big question is, where can I find more info on all the different
    > layouts? I hear a lot about fluffy bunnies, but I can't find any
    > doc explaining the pros/cons of different structures, or even what's
    > available. Any help?
    >
    > We have a number of frameworks and apps, very EOF intensive, not
    > using Wonder yet, but would like to. We deploy as wars. Still WO
    > 5.3 and Eclipse 3.3, but would also use this as an opportunity to
    > move to Eclipse 3.4. Any thoughts are appreciated.
    >
    > Thanks,
    > Ken



    This archive was generated by hypermail 2.0.0 : Wed Apr 08 2009 - 22:09:51 EDT