Hi David, thanks for the kind words. I am really glad I received so much help and got it to work eventually. I will work through the "Getting Started" now and see where it leads me ;) Again, thanks for the very good support.
Erik On Mar 13, 10:04 pm, David Pollak <[email protected]> wrote: > On Fri, Mar 13, 2009 at 10:52 AM, [email protected] < > > [email protected]> wrote: > > > No, its not a typo in the PDF. I just got it mixed up when typing the > > query. > > Just as a point of order, I'm glad that you stuck with the thread and didn't > get too frustrated. I'm glad we could help get you to success. Thanks for > sticking with Lift and I hope to see a Lift app that you build and I hope > that you can lend a hand to the next person that's flumoxed by the Maven > command line, whether it's a Maven challenge, a Lift documentation > challenge, or a typing challenge. > > Thanks, > > David > > > > > > > Erik > > > On Mar 13, 1:50 pm, Derek Chen-Becker <[email protected]> wrote: > > > Is that a typo in the PDF? If so, I'll fix it. > > > > Derek > > > > On Thu, Mar 12, 2009 at 2:36 PM, Alexander Kellett <[email protected] > > >wrote: > > > > > Few hours of playing with maven (multiple versions) and getting > > > > increasingly annoyed by it... and I suddenly revisited this part of > > > > the command: > > > > -DarchetypeGroupId:net.liftweb > > > > ":" should be "="! > > > > > Works just fine after that change :) > > > > Alex > > > > > On Thu, Mar 12, 2009 at 6:34 PM, TylerWeir <[email protected]> > > wrote: > > > > > > ooooo, k. Since I'm getting the same error and I'm unsure why, try > > > > > this on: > > > > > > mvn -e archetype:generate > > > > > > then you'll get a list mvn can make for you. lift-blank is # 32. > > > > > > You then fill bits and pieces yourself like this: > > > > > > Choose a number: > > > (1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/31/32/33/34/35/36/37/38/39/40/41/42) > > > > > 16: : 32 > > > > > [INFO] artifact net.liftweb:lift-archetype-blank: checking for > > updates > > > > > from lift-archetype-blank-repo > > > > > Define value for groupId: : ca.tylerweir > > > > > Define value for artifactId: : HelloWorld > > > > > Define value for version: 1.0-SNAPSHOT: : > > > > > Define value for package: ca.tylerweir: : > > > > > > Give that a shot. > > > > > > On Mar 12, 1:20 pm, "[email protected]" > > > > > <[email protected]> wrote: > > > > >> You are indeed right, my PDF was outdated. I have to admit though I > > > > >> have no clue how that happened, I downloaded it today. Anyway, I ran > > > > >> the following command: > > > > > >> mvn archetype:generate -U \ > > > > >> -DarchetypeGroupId:net.liftweb \ > > > > >> -DarchetypeArtifactId=lift-archetype-blank \ > > > > >> -DarchetypeVersion=1.0 \ > > > > >> -DremoteRepositories=http://scala-tools.org/repo-releases\ > > > > >> -DgroupId=demo.helloworld \ > > > > >> -DartifactId=helloworld \ > > > > >> -Dversion=1.0-SNAPSHOT > > > > > >> Now I get this error: > > > > > >> The desired archetype does not exist > > (org.apache.maven.archetypes:lift- > > > > >> archetype-blank:1.0) > > > > > >> Before I run the error I again deleted the .m2. Thanks for the help, > > > > >> got us a little closer to the solution. Is there something else I > > can > > > > >> try to get this to work? > > > > > >> Erik > > > > > >> P.S. If I ever get to see the "BUILD SUCCESSFUL" I will pop me a > > cold > > > > >> one and celebrate... > > > > > >> On Mar 13, 4:09 am, TylerWeir <[email protected]> wrote: > > > > > >> > Grab the PDF again, looks like you have the slightly older one > > with a > > > > >> > version typo. Run this badboy: > > > > > >> > mvn archetype:generate -U \ > > > > >> > -DarchetypeGroupId=net.liftweb \ > > > > >> > -DarchetypeArtifactId=lift-archetype-blank \ > > > > >> > -DarchetypeVersion=1.0 \ > > > > >> > -DremoteRepositories=http://scala-tools.org/repo-releases\ > > > > >> > -DgroupId=demo.helloworld \ > > > > >> > -DartifactId=helloworld \ > > > > >> > -Dversion=1.0-SNAPSHOT > > > > > >> > Ty > > > > > >> > On Mar 12, 1:00 pm, "[email protected]" > > > > > >> > <[email protected]> wrote: > > > > >> > > Hi again, > > > > > >> > > I figured this one out. During some fixing I unwittingly > > overwrote > > > > >> > > my .bash_profile, reverting maven to the 2.0.6 version. I am > > running > > > > >> > > Leopard. I don't get this error anymore....you guessed it, I get > > > > >> > > another. Now I get this: > > > > > >> > > The desired archetype does not exist > > > > (org.apache.maven.archetypes:lift- > > > > >> > > archetype-blank:0.10) > > > > > >> > > I can post the stacktrace if it is of help, I exclude it for now > > so > > > > >> > > this post remains somewhat readable. I am so desperately trying > > to > > > > get > > > > >> > > this working to play around with the framework, but so far this > > has > > > > >> > > been very depressing. I would greatly appreciate any hints or > > tips > > > > >> > > what might be going wrong. > > > > > >> > > mvn --version prints out this: > > > > >> > > Maven version: 2.0.10 > > > > >> > > Java version: 1.5.0_16 > > > > >> > > OS name: "mac os x" version: "10.5.6" arch: "i386" Family: > > "unix" > > -- > Lift, the simply functional web frameworkhttp://liftweb.net > Beginning Scalahttp://www.apress.com/book/view/1430219890 > Follow me:http://twitter.com/dpp > Git some:http://github.com/dpp --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---
