Re: maven archetype creating correctly?

From: Mr. G Brown (gsbrow..mich.edu)
Date: Sun Jul 26 2009 - 22:30:13 EDT

  • Next message: Mitchell Smith (JIRA): "[OS-JIRA] Created: (WOL-1043) Code formatter for the WOD file"

    On Jul 26, 2009, at 3:17 PM, Henrique Prange wrote:

    > Hi Greg,
    >
    > On 7/24/09 8:02 PM, Mr. G Brown wrote:
    >
    >> Classes and frameworks will be loaded out of the WEB-INF/lib and
    >> WEB-INF/classes directories.
    >> MainBundle will be set to ${project.build.finalName}
    >
    > It should be:
    >
    > "MainBundle will be set to warnowonder"
    >
    > Could you try to replace the variables on src/main/resouces/
    > Info.plist and src/main/webapp/web.xml files with their respective
    > values? Does it work?
    >
    > Cheers,
    >
    > Henrique

    Yes!, I replaced parameters like ${project.build.finalName} with the
    actual values and it works--in Tomcat. I vaguely recall problems
    (Sun? or Jetty?) with an "!" in the path, as in:

    [INFO] Started Jetty Server
    <warnowonder>[2009-07-26 22:02:43 EDT] <28887..tp-3098296-0>
    <com.webobjects.appserver._private.WOComponentDefinition> No template
    found for component Main at "file:/Users/gb/SoftwareProjects/
    workspace/warnowonder/jar:file:/Users/gb/SoftwareProjects/workspace/
    warnowonder/target/work/webapp/WEB-INF/lib/warnowonder.jar!/Resources/
    Main.wo".

    The "!" is a problem, I don't recall exactly why.

    Mr. G Brown
    gsbrow..mich.edu



    This archive was generated by hypermail 2.0.0 : Sun Jul 26 2009 - 22:32:01 EDT