i got it running! i followed your suggestion and did some change - put every thing in one line and copy this ONE line to c:\
mvn archetype:generate -U -DarchetypeGroupId=net.liftweb -DarchetypeArtifactId=lift-archetype-basic -DarchetypeVersion=1.0 -DremoteRepositories=http://scala-tools.org/repo-releases-DgroupId=com.liftworkshop -DartifactId=todo -Dversion=0.1-SNAPSHOT thank you so much for supporting me to make the first step!!!! john On Thu, Oct 15, 2009 at 5:34 PM, Wilson MacGyver <wmacgy...@gmail.com>wrote: > > simple answer, do it as one line like this > > mvn archetype:generate -U -DarchetypeGroupId=net.liftweb > -DarchetypeArtifactId=lift-archetype-basic -DarchetypeVersion=1.0 > -DremoteRepositories=http://scala-tools.org/repo-releases > -DgroupId=com.liftworkshop -DartifactId=todo -Dversion=0.1-SNAPSHOT > > On Thu, Oct 15, 2009 at 5:23 PM, j...@bancova.com <banc...@gmail.com> > wrote: > > my problem is: > > 1) when i issued "mvn archetype:generate -U \", the machine begins to > run, > > and then complains that "-DarchetypeGroupId=net.liftweb \" is not > recognized > > as an internal or external command.... > > > > 2) then I just issued "mvn archetype:generate -U" and hit return. then > the > > system will ask for GroupId and artifactId etc...I answered every > > thing...then it says "Build Successful". However, two things wired > > happened: a) it never asked for "remoteRepositories=", b) it gave me > errors > > when I issued "mvn jetty:run" later. > > > > 3) I copied exactly your commands into mvn_todo.bat, and tried to click > the > > file.....nothing happened! > > > > thank you so much for your patience and your wonderful help! > > > > > > john > > > > On Thu, Oct 15, 2009 at 4:27 PM, Wilson MacGyver <wmacgy...@gmail.com> > > wrote: > >> > >> on which step does this happen when you are following the tutorial? > >> > >> I just tried it on my laptop. > >> mvn archetype:generate -U \ > >> -DarchetypeGroupId=net.liftweb \ > >> -DarchetypeArtifactId=lift-archetype-basic \ > >> -DarchetypeVersion=1.0 \ > >> -DremoteRepositories=http://scala-tools.org/repo-releases \ > >> -DgroupId=com.liftworkshop \ > >> -DartifactId=todo \ > >> -Dversion=0.1-SNAPSHOT > >> > >> this creates the todo directory correctly > >> > >> I then "cd todo" > >> > >> and run "mvn jetty:run", it started correctly. It reports the database > >> create table > >> was successful. > >> > >> Did you get this far while following the tutorial? > >> > >> > >> On Thu, Oct 15, 2009 at 3:52 PM, j...@bancova.com <banc...@gmail.com> > >> wrote: > >> > yes, that is what I'm trying to do. Thank you for your quick > response! > >> > > >> > On Thu, Oct 15, 2009 at 3:20 PM, Wilson MacGyver <wmacgy...@gmail.com > > > >> > wrote: > >> >> > >> >> Some quick questions: > >> >> > >> >> Are you trying to follow the todo example in > >> >> http://liftweb.net/docs/getting_started/mod_master.html ? > >> >> > >> >> Are you using an external database like mysql or are you using the > >> >> built-in one? > >> >> > >> >> On Thu, Oct 15, 2009 at 3:03 PM, john <banc...@gmail.com> wrote: > >> >> > > >> >> > Hi all, > >> >> > > >> >> > I'm really excited with my recent finding of the wonderful, > powerful > >> >> > lift. > >> >> > > >> >> > May be my question is too naive, but I did get: > >> >> > > >> >> > error executing database operation clean_insert, > >> >> > > >> >> > when I run jetty on my todo directory on Window XP machine. > >> >> > > >> >> > your help is highly appreciated! > >> >> > > >> >> > John > >> >> > > >> >> > > > >> >> > > >> >> > >> >> > >> >> > >> >> -- > >> >> Omnem crede diem tibi diluxisse supremum. > >> >> > >> >> > >> >> -- > >> >> John Zhang, Ph.D. > >> >> > >> >> 201-993-9089 > >> >> Bancova > >> >> www.bancova.com > >> >> Power of E-Learning > >> >> > >> >> >> > >> > > >> > >> > >> > >> -- > >> Omnem crede diem tibi diluxisse supremum. > >> > > > > > > > > -- > > John Zhang, Ph.D. > > > > 201-993-9089 > > Bancova > > www.bancova.com > > Power of E-Learning > > > > > > > > > > > -- > Omnem crede diem tibi diluxisse supremum. > > > > -- John Zhang, Ph.D. 201-993-9089 Bancova www.bancova.com Power of E-Learning --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---