Re: Help migrating project layouts - FB?

From: Chuck Hill (chil..lobal-village.net)
Date: Wed Apr 08 2009 - 22:44:24 EDT

  • Next message: Lachlan Deck: "Re: Help migrating project layouts - FB?"

    Hi Ken,

    WOLips does not have a setting for this, it just deals with what is
    there. But it deals with the FBL better. The real difference is in
    the build.xml. I'd install Eclipse 3.4.1 and a very recent WOLips and
    then create a new application and a new framework project (the Wonder
    version if you want that). That will give you the correct build.xml
    files and show you were to move the bits from your existing project.
    I did this for a project in svn using svn move and dragging and
    dropping from Eclipse. As long as you end up with the right
    build.xml and right folder structure, you should be golden.

    Chuck

    On Apr 8, 2009, at 7:38 PM, Ken Anderson wrote:

    > Thanks Mike.
    >
    > Where do you change what layout you want to use?
    >
    > Ken
    >
    > On Apr 8, 2009, at 12:32 PM, Mike Schrag wrote:
    >
    >> 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
    >>
    >>
    >
    >

    -- 
    Chuck Hill             Senior Consultant / VP Development
    

    Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects



    This archive was generated by hypermail 2.0.0 : Wed Apr 08 2009 - 22:45:18 EDT