• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WOProject: First Time Maven User
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOProject: First Time Maven User


  • Subject: Re: WOProject: First Time Maven User
  • From: Lachlan Deck <email@hidden>
  • Date: Mon, 16 Feb 2009 13:20:49 +1100

Hi Dov,

we'll need a bit more info. Can you tell us
- what version of maven do you have installed?
- have you installed the settings.xml file from the quick-start guide into ~/.m2/?
- are you aware of what version of the archetype you're using.
- can you attach the complete output?


Thanks.

On 16/02/2009, at 12:17 PM, Dov Rosenberg wrote:

When I tried using the woframework-archetype I got a bunch of errors like:

[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/pom.xml [line 33,column 34] :
${woversion} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/pom.xml [line 38,column 34] :
${woversion} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/pom.xml [line 43,column 34] :
${woversion} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/build.xml [line 17,column 33] :
${user.home} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/build.xml [line 17,column 45] :
${file.separator} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/build.xml [line 19,column 33] :
${user.home} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/build.xml [line 19,column 45] :
${file.separator} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/build.xml [line 19,column 69] :
${file.separator} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/build.xml [line 28,column 47] :
${user.home} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/build.xml [line 28,column 59] :
${file.separator} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/build.xml [line 28,column 83] :
${file.separator} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/build.xml [line 29,column 53] :
${wo.wolocalroot} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/build.xml [line 35,column 50] :
${install.dir} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/build.xml [line 49,column 36] :
${project.name} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/build.xml [line 49,column 62] :
${dest.dir} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/build.xml [line 49,column 99] :
${customInfoPListContent} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/build.xml [line 49,column 142] :
${principalClass} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/build.xml [line 49,column 181] :
${eoAdaptorClassName} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/build.xml [line 49,column 217] :
${javaVersion} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/build.xml [line 49,column 250] :
${cfBundleVersion} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/build.xml [line 49,column 292] :
${cfBundleShortVersion} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/build.xml [line 49,column 329] :
${cfBundleID} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/build.xml [line 50,column 39] :
${classes.dir} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/build.xml [line 91,column 43] :
${wo.dir.user.home.library.frameworks} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/build.xml [line 96,column 43] :
${wo.wolocalroot} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/build.xml [line 101,column 43] :
${wo.wosystemroot} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/build.xml [line 107,column 47] :
${wo.wolocalroot} is not a valid reference.


Thanks


Dov


On 2/15/09 5:37 PM, "Lachlan Deck" <email@hidden> wrote:

Hi Dov,

On 16/02/2009, at 9:08 AM, Dov Rosenberg wrote:

We are considering a swap over to Maven for our build system and I
had some
questions:

pre-requisite plugins - either m2eclipse (http://m2eclipse.sonatype.org/) - or q4e (http://code.google.com/p/q4e/, http://eclipse.org/iam)

Readings:
- http://wiki.objectstyle.org/confluence/display/WOL/Quick+Start
-
http://wiki.objectstyle.org/confluence/display/WOL/Maven+Create+WO+Application
+Project

* How do I create a Maven enabled project for Eclipse for a
WOFramework?
I see there is a woapplication-archetype. Is there something similar
for
WOFrameworks?


So to create a brand new framework follow the same instructions as the
above for creating a project. Rather than choosing woapplication-
archetype use woframework-archtype.


If you've done this via the command line, for example, then in Eclipse
you can import > Maven Projects.


If you happen to manually added the pom file to your project and want
to enable maven then right click and choose Maven > Enable Dependency
Management to enable the maven build nature.

* We just started using Project Wonder – is that stored in the
repository as
well? Is there any special archetyes for Project Wonder?

It's not currently being built to a shared repository. However it's
quite possible to build/install Wonder via maven to your local
repository. This is possible to do now but that stores it as a 5.0.0-
SNAPSHOT which can obviously change. So when you want to store it as a
specific version (e.g., 5.0.0.svn#) then this just takes a bit of
regex before running the build. I've previously been downloading the
built jars from mdimdension but these have turned out to be wrong for
5.4. Thus I'm just about done with a script to do this. Ping me in a
day.


If someone had the bandwidth and was willing to host the maven-repo
then it could be accessible for everyone. But you'll want your own
repo anyway...

As you've got questions, fire away. I need to flesh out some more
stuff on the wiki.

with regards,
--

Lachlan Deck



with regards, --

Lachlan Deck



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: WOProject: First Time Maven User
      • From: Lachlan Deck <email@hidden>
References: 
 >Re: WOProject: First Time Maven User (From: Dov Rosenberg <email@hidden>)

  • Prev by Date: Re: Current status of WO Adaptors
  • Next by Date: Re: WOProject: First Time Maven User
  • Previous by thread: Re: WOProject: First Time Maven User
  • Next by thread: Re: WOProject: First Time Maven User
  • Index(es):
    • Date
    • Thread