Re: Maven archtype project creation Webobjects 5.3.3 + Wonder support

From: Mr. G Brown (gsbrow..mich.edu)
Date: Tue Feb 10 2009 - 21:42:01 EST

  • Next message: Lachlan Deck: "Re: Maven archtype project creation Webobjects 5.3.3 + Wonder support"

    On Feb 10, 2009, at 3:04 AM, Lachlan Deck wrote:

    > Hi Greg,
    >
    > the problem with your pom is twofold[*]:
    > a) wonder.common specified as the groupId for ERExtensions rather
    > than wonder.core. As mentioned, this is a problem with the template
    > - you just need to fix it after you've created the project.
    >
    > b) you'll need to use a dependencyManagement section to ensure the
    > woversion you want etc is always used during dependencies lookup
    > (i.e., stuff you depend on also depends on WO)

    Some things are working now, somethings are broken.

    The wo archetype project generator takes parameters but doesn't do
    much with them. I build wonder with a profile wo53, and then a new
    maven /wolips project
    WebObjectsVersion - value 5.3.3 is used, there is a woversion
    property in the pom.
    wonderversion - 5.0.0-snapshot This isn't in the wiki (me fix after
    this discussion clears) It doesn't show up in the pom (at least for
    5.3.3) and is not used. Shouldn't it set the wonderversion property
    into the pom?
    WonderSupport - This seems to 1.) add a a
    wonder.common:erextensions.jar dependancy but it should add a
                    <dependency>
                            <groupId>wonder.core</groupId>
                            <artifactId>ERExtensions</artifactId>
                            <version>${wonderversion}</version>
                            <classifier>wo53</classifier>
                    </dependency>
    2.) it also adds a import er.extensions.ERXApplication; // << wrong
    as there is no ERXApplication there! it moved!

    public class Application extends ERXApplication { // there is a
    er.extensions.appserver.ERXApplication, is that the correct one?

    TrueWarSupport - not even looking at that yet.
    DependencyManagement : I just have one pom now, that is for child
    poms, correct? Should the archetype project generator do something
    with that?

    It looks like Wonder has been re-arranged, and the eclipse tool set
    create projects that refer to the old wonder arrangements.

    Now I get:
    No ERX_MARKER field in NSMutableArray found.
    This means your class path is incorrect. Adjust it so that
    ERExtensions come before JavaFoundation

    No matter how I arrange the libraries, I get the above message.
    However, from the terminal [INFO] BUILD SUCCESSFUL.

    I think I need newer software.

    Thanks for the help.

    Greg



    This archive was generated by hypermail 2.0.0 : Tue Feb 10 2009 - 21:43:28 EST