[Lift] Re: todo_steps feedback
I was just trying out the Little Lift example and noticed that the archetype:generate lift-archetype-basic created an old pom.xml and Boot.scala that was pre the changes that removed LiftRules.addTemplateBefore(User.templates) and S.addArround(User.requestLoans) lines of Boot.scala... Is there any reason why that would have occurred? I assumed that it would have changed with those other changes. I did delete all my .m2 repository just in case. Didn't change anything... Regards, Marc On 15/12/2008, at 1:43 AM, David Pollak wrote: Thanks! I'll make the change. On Sat, Dec 13, 2008 at 7:44 PM, mal3 malcolm.gor...@gmail.com wrote: David, I'm not sure where to send feedback on the todo_steps book. I'm working my way through the todo project, and I my feedback may be at times very minor in the interests of doing my bit to help with the final book product. There was a warning with the first mvn command: [INFO] [archetype:create] [WARNING] This goals is deprecated. Please use mvn archetype:generate instead mvn archetype:generate seemed to work just as well. If there's no reason to use create rather than generate, maybe change it to generate in the book. Mal. -- Lift, the simply functional web framework http://liftweb.net Collaborative Task Management http://much4.us 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 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 -~--~~~~--~~--~--~---
[Lift] Re: todo_steps feedback
Looks like you have a very old archetype that's refering to Scala 2.7.1 On Dec 23, 2008 2:15 PM, Marc Boschma marc+lift...@boschma.cxmarc%2blift...@boschma.cx wrote: It refers to 0.10-SNAPSHOT. I added the dependency groupIdnet.liftweb/groupId artifactIdlift-util/artifactId version0.10-SNAPSHOT/version /dependency dependency groupIdnet.liftweb/groupId artifactIdlift-webkit/artifactId version0.10-SNAPSHOT/version /dependency dependency groupIdnet.liftweb/groupId artifactIdlift-mapper/artifactId version0.10-SNAPSHOT/version /dependency after dependency groupIdnet.liftweb/groupId artifactIdlift-core/artifactId version0.10-SNAPSHOT/version /dependency In the pom.xml I also edited the Boot.scala file as per a pervious email where you documented the impact of the changes. Something is still not quite there as I get the following error: HTTP ERROR: 500 scala/actors/AbstractActor RequestURI=/ Caused by: java.lang.NoClassDefFoundError: scala/actors/AbstractActor at net.liftweb.http.LiftRules$.rewriteTable(LiftRules.scala:372) at net.liftweb.http.LiftFilterTrait$$anonfun$doFilter$1.apply(LiftServlet.scala:480) at net.liftweb.http.LiftFilterTrait$$anonfun$doFilter$1.apply(LiftServlet.scala:476) at net.liftweb.http.RequestVarHandler$$anonfun$apply$3$$anonfun$apply$4$$anonfun$apply$5.apply(Vars.scala:150) at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:33) at net.liftweb.http.RequestVarHandler$$anonfun$apply$3$$anonfun$apply$4.apply(Vars.scala:149) at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:33) at net.liftweb.http.RequestVarHandler$$anonfun$apply$3.apply(Vars.scala:148) at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:33) at net.liftweb.http.RequestVarHandler$.apply(Vars.scala:147) at net.liftweb.http.LiftFilterTrait$class.doFilter(LiftServlet.scala:475) at net.liftweb.http.LiftFilter.doFilter(LiftServlet.scala:496) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:361) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:533) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522) On 24/12/2008, at 9:09 AM, David Pollak wrote: Marc, Does the pom.xml file refer to Lift 0... --~--~-~--~~~---~--~~ You received this message because you are sub... --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[Lift] Re: todo_steps feedback
Strange. I just tried again from scratch (removed .m2/repository again) and got: mvn -e archetype:generate -U \ -DarchetypeGroupId=net.liftweb \ -DarchetypeArtifactId=lift-archetype-basic \ -DarchetypeVersion=0.10-SNAPSHOT \ -DremoteRepositories=http://scala-tools.org/repo-releases \ -DgroupId=com.smefinancialgroup -DartifactId=homepage + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] org.apache.maven.plugins: checking for updates from central [INFO] org.codehaus.mojo: checking for updates from central [INFO] artifact org.apache.maven.plugins:maven-archetype-plugin: checking for updates from central [INFO] [INFO] Building Maven Default Project [INFO]task-segment: [archetype:generate] (aggregator-style) [INFO] [INFO] Preparing archetype:generate [INFO] No goals needed for project - skipping [INFO] Setting property: classpath.resource.loader.class = 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. [INFO] Setting property: velocimacro.messages.on = 'false'. [INFO] Setting property: resource.loader = 'classpath'. [INFO] Setting property: resource.manager.logwhenfound = 'false'. [INFO] [archetype:generate] [INFO] Generating project in Interactive mode [INFO] Archetype repository missing. Using the one from [net.liftweb:lift-archetype-basic:RELEASE - http://scala-tools.org/repo-releases ] found in catalog internal [INFO] snapshot net.liftweb:lift-archetype-basic:0.10-SNAPSHOT: checking for updates from lift-archetype-basic-repo Downloading: http://scala-tools.org/repo-releases/net/liftweb/lift-archetype-basic/0.10-SNAPSHOT/lift-archetype-basic-0.10-SNAPSHOT.jar [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] The desired archetype does not exist (net.liftweb:lift- archetype-basic:0.10-SNAPSHOT) [INFO] [INFO] Trace org.apache.maven.BuildFailureException: The desired archetype does not exist (net.liftweb:lift-archetype-basic:0.10-SNAPSHOT) at org .apache .maven .lifecycle .DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java: 579) at org .apache .maven .lifecycle .DefaultLifecycleExecutor .executeStandaloneGoal(DefaultLifecycleExecutor.java:512) at org .apache .maven .lifecycle .DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:482) at org .apache .maven .lifecycle .DefaultLifecycleExecutor .executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) at org .apache .maven .lifecycle .DefaultLifecycleExecutor .executeTaskSegments(DefaultLifecycleExecutor.java:227) at org .apache .maven .lifecycle .DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun .reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39) at sun .reflect .DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java: 430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoFailureException: The desired archetype does not exist (net.liftweb:lift-archetype-basic:0.10- SNAPSHOT) at org .apache .maven .archetype .mojos .CreateProjectFromArchetypeMojo .execute(CreateProjectFromArchetypeMojo.java:201) at org .apache .maven .plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) at org .apache .maven .lifecycle .DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java: 558) ... 16 more [INFO] [INFO] Total time: 6 seconds [INFO] Finished at: Wed Dec 24 09:43:16 EST 2008 [INFO] Final Memory: 8M/14M [INFO] with scalac -version Scala compiler version 2.7.2.final -- Copyright 2002-2008, LAMP/EPFL So it appears that maven can't find an archetypeVersion of 0.10- SNAPSHOT... Strange as I
[Lift] Re: todo_steps feedback
The line: -DremoteRepositories=http://scala-tools.org/repo-releases \ Should be: -DremoteRepositories=http://scala-tools.org/repo-snapshotshttp://scala-tools.org/repo-releases \ On Tue, Dec 23, 2008 at 2:56 PM, Marc Boschma marc+lift...@boschma.cxmarc%2blift...@boschma.cx wrote: Strange. I just tried again from scratch (removed .m2/repository again) and got: mvn -e archetype:generate -U \ -DarchetypeGroupId=net.liftweb \ -DarchetypeArtifactId=lift-archetype-basic \ -DarchetypeVersion=0.10-SNAPSHOT \ -DremoteRepositories=http://scala-tools.org/repo-releases \ -DgroupId=com.smefinancialgroup -DartifactId=homepage + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] org.apache.maven.plugins: checking for updates from central [INFO] org.codehaus.mojo: checking for updates from central [INFO] artifact org.apache.maven.plugins:maven-archetype-plugin: checking for updates from central [INFO] [INFO] Building Maven Default Project [INFO]task-segment: [archetype:generate] (aggregator-style) [INFO] [INFO] Preparing archetype:generate [INFO] No goals needed for project - skipping [INFO] Setting property: classpath.resource.loader.class = 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. [INFO] Setting property: velocimacro.messages.on = 'false'. [INFO] Setting property: resource.loader = 'classpath'. [INFO] Setting property: resource.manager.logwhenfound = 'false'. [INFO] [archetype:generate] [INFO] Generating project in Interactive mode *[INFO] Archetype repository missing. Using the one from [net.liftweb:lift-archetype-basic:RELEASE - http://scala-tools.org/repo-releases] found in catalog internal* *[INFO] snapshot net.liftweb:lift-archetype-basic:0.10-SNAPSHOT: checking for updates from lift-archetype-basic-repo* *Downloading: http://scala-tools.org/repo-releases/net/liftweb/lift-archetype-basic/0.10-SNAPSHOT/lift-archetype-basic-0.10-SNAPSHOT.jar * [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] *The desired archetype does not exist (net.liftweb:lift-archetype-basic:0.10-SNAPSHOT)* [INFO] [INFO] Trace org.apache.maven.BuildFailureException: The desired archetype does not exist (net.liftweb:lift-archetype-basic:0.10-SNAPSHOT) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:579) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:512) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:482) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:227) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoFailureException: The desired archetype does not exist (net.liftweb:lift-archetype-basic:0.10-SNAPSHOT) at org.apache.maven.archetype.mojos.CreateProjectFromArchetypeMojo.execute(CreateProjectFromArchetypeMojo.java:201) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558) ... 16 more [INFO] [INFO] Total time: 6 seconds [INFO] Finished at: Wed Dec 24 09:43:16 EST 2008 [INFO] Final Memory: 8M/14M [INFO] with scalac -version Scala compiler version 2.7.2.final -- Copyright 2002-2008, LAMP/EPFL So it
[Lift] Re: todo_steps feedback
There is something seriously wrong with my Mac's set up... Google time... as despite the reference to the right repository it ignores that... Marc On 24/12/2008, at 10:04 AM, David Pollak wrote: The line: -DremoteRepositories=http://scala-tools.org/repo-releases \ Should be: -DremoteRepositories=http://scala-tools.org/repo-snapshots \ Pro:src marc$ mvn archetype:generate -U -DarchetypeGroupId=net.liftweb -DarchetypeArtifactId=lift-archetype-basic -DarchetypeVersion=0.10- SNAPSHOT -DremoteRepositories=http://scala-tools.org/repo-snapshots - DgroupId=com.liftworkshop -DartifactId=todo [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] org.apache.maven.plugins: checking for updates from central [INFO] org.codehaus.mojo: checking for updates from central [INFO] artifact org.apache.maven.plugins:maven-archetype-plugin: checking for updates from central [INFO] [INFO] Building Maven Default Project [INFO]task-segment: [archetype:generate] (aggregator-style) [INFO] [INFO] Preparing archetype:generate [INFO] No goals needed for project - skipping [INFO] Setting property: classpath.resource.loader.class = 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. [INFO] Setting property: velocimacro.messages.on = 'false'. [INFO] Setting property: resource.loader = 'classpath'. [INFO] Setting property: resource.manager.logwhenfound = 'false'. [INFO] [archetype:generate] [INFO] Generating project in Interactive mode [INFO] Archetype repository missing. Using the one from [net.liftweb:lift-archetype-basic:RELEASE - http://scala-tools.org/repo-releases ] found in catalog internal [INFO] snapshot net.liftweb:lift-archetype-basic:0.10-SNAPSHOT: checking for updates from lift-archetype-basic-repo Downloading: http://scala-tools.org/repo-releases/net/liftweb/lift-archetype-basic/0.10-SNAPSHOT/lift-archetype-basic-0.10-SNAPSHOT.jar [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] The desired archetype does not exist (net.liftweb:lift- archetype-basic:0.10-SNAPSHOT) [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 7 seconds [INFO] Finished at: Wed Dec 24 13:02:08 EST 2008 [INFO] Final Memory: 8M/15M [INFO] --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[Lift] Re: todo_steps feedback
Please make sure you're running maven 2.0.9 On Dec 23, 2008 6:09 PM, Marc Boschma marc+lift...@boschma.cxmarc%2blift...@boschma.cx wrote: There is something seriously wrong with my Mac's set up... Google time... as despite the reference to the right repository it ignores that... Marc On 24/12/2008, at 10:04 AM, David Pollak wrote: The line: -DremoteRepositories=http... Pro:src marc$ mvn archetype:generate -U -DarchetypeGroupId=net.liftweb -DarchetypeArtifactId=lift-archetype-basic -DarchetypeVersion=0.10-SNAPSHOT -DremoteRepositories=http://scala-tools.org/repo-snapshots-DgroupId=com.liftworkshop -DartifactId=todo [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [I... [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: ... [INFO] Finished at: Wed Dec 24 13:02:08 EST 2008 [INFO] Final Memory: 8M/15M [INFO] --~--~-~--~~~---~--~~ You received this message because you are sub... --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[Lift] Re: todo_steps feedback
Yep, checked that one... Pro:src marc$ mvn -version Maven version: 2.0.9 Java version: 1.5.0_16 OS name: mac os x version: 10.5.6 arch: i386 Family: unix I also uninstalled the port and reinstalled it to make sure... same result. On 24/12/2008, at 1:28 PM, David Pollak wrote: Please make sure you're running maven 2.0.9 On Dec 23, 2008 6:09 PM, Marc Boschma marc+lift...@boschma.cx wrote: There is something seriously wrong with my Mac's set up... Google time... as despite the reference to the right repository it ignores that... Marc On 24/12/2008, at 10:04 AM, David Pollak wrote: The line: -DremoteRepositories=http... Pro:src marc$ mvn archetype:generate -U - DarchetypeGroupId=net.liftweb -DarchetypeArtifactId=lift-archetype- basic -DarchetypeVersion=0.10-SNAPSHOT -DremoteRepositories=http://scala-tools.org/repo-snapshots -DgroupId=com.liftworkshop -DartifactId=todo [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [I... [INFO] For more information, run Maven with the -e switch [INFO] [INFO ] Total time: ... [INFO] Finished at: Wed Dec 24 13:02:08 EST 2008 [INFO] Final Memory: 8M/15M [INFO] --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[Lift] Re: todo_steps feedback
Not that I am aware of, but then I am in Australia and these days almost anything could be mucking about with my internet connectivity, but I digress... I did however just tried going back to mvn archetype:create -U \ -DarchetypeGroupId=net.liftweb \ -DarchetypeArtifactId=lift-archetype-basic \ -DarchetypeVersion=0.10-SNAPSHOT \ -DremoteRepositories=http://scala-tools.org/repo-snapshots \ -DgroupId=com.smefinancialgroup -DartifactId=homepage and got [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] org.apache.maven.plugins: checking for updates from central [INFO] org.codehaus.mojo: checking for updates from central [INFO] artifact org.apache.maven.plugins:maven-archetype-plugin: checking for updates from central [INFO] [INFO] Building Maven Default Project [INFO]task-segment: [archetype:create] (aggregator-style) [INFO] [INFO] Setting property: classpath.resource.loader.class = 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. [INFO] Setting property: velocimacro.messages.on = 'false'. [INFO] Setting property: resource.loader = 'classpath'. [INFO] Setting property: resource.manager.logwhenfound = 'false'. [INFO] [archetype:create] [WARNING] This goal is deprecated. Please use mvn archetype:generate instead [INFO] Defaulting package to group ID: com.smefinancialgroup [INFO] We are using command line specified remote repositories: http://scala-tools.org/repo-snapshots [INFO] snapshot net.liftweb:lift-archetype-basic:0.10-SNAPSHOT: checking for updates from id0 [INFO] [INFO] Using following parameters for creating OldArchetype: lift- archetype-basic:0.10-SNAPSHOT [INFO] [INFO] Parameter: groupId, Value: com.smefinancialgroup [INFO] Parameter: packageName, Value: com.smefinancialgroup [INFO] Parameter: basedir, Value: /Users/marc/src/dad [INFO] Parameter: package, Value: com.smefinancialgroup [INFO] Parameter: version, Value: 1.0-SNAPSHOT [INFO] Parameter: artifactId, Value: homepage [INFO] * End of debug info from resources from generated POM *** [INFO] OldArchetype created in dir: /Users/marc/src/dad/homepage [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 6 seconds [INFO] Finished at: Wed Dec 24 15:40:06 EST 2008 [INFO] Final Memory: 7M/14M [INFO] It lives!!! Strange how mvn archetype:generate didn't work... On 24/12/2008, at 3:25 PM, David Pollak wrote: Are you behind some sort of proxy that has some old jars cached? On Dec 23, 2008 6:53 PM, Marc Boschma marc+lift...@boschma.cx wrote: Yep, checked that one... Pro:src marc$ mvn -version Maven version: 2.0.9 Java version: 1.5.0_16 OS name: mac os x version: 10.5.6 arch: i386 Fami... I also uninstalled the port and reinstalled it to make sure... same result. On 24/12/2008, at 1:28 PM, David Pollak wrote: Please make sure you're running maven 2.0.9 ... You received this message because you are subscribed to the Google Groups Lift group. To post to ... --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[Lift] Re: todo_steps feedback
Good to hear it's working. On Dec 23, 2008 8:43 PM, Marc Boschma marc+lift...@boschma.cxmarc%2blift...@boschma.cx wrote: Not that I am aware of, but then I am in Australia and these days almost anything could be mucking about with my internet connectivity, but I digress... I did however just tried going back to mvn archetype:create -U \ -DarchetypeGroupId=net.liftweb \ -DarchetypeArtifactId=lift-archetype-basic \ ... -DgroupId=com.smefinancialgroup -DartifactId=homepage and got [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] org.apache.maven.plugins: checking for updates from central [INFO] org.codehaus.mojo: checki... [INFO]task-segment: [archetype:create] (aggregator-style) [INFO] [INFO] Setting property: classpath.resource.loader.class = 'org.codehaus.plexus.velocity.ContextCl... [INFO] [archetype:create] [WARNING] This goal is deprecated. Please use mvn archetype:generate instead [INFO] Defaulting package to group ID: com.smefinancialgroup [INFO] We are using command line specified remote repositories: http://scala-tools.org/repo-snapshots [INFO] snapshot net.liftweb:lift-archetype-basic:0.10-SNAPSHOT: checking for updates from id0 [INFO] [INFO] Using following parameters for creating OldArchetype: lift-archetype-basic:0.10-SNAPSHOT [INFO] [INFO] Parameter: groupId, Value: com.smefinancialgroup [INFO] Parameter: packageName, Value: com.smefinancialgroup [INFO] Parameter: basedir, Value: /Users/marc/src/dad [INFO] Parameter: package, Value: com.smefinancialgroup [INFO] Parameter: version, Value: 1.0-SNAPSHOT [INFO] Parameter: artifactId, Value: homepage [INFO] * End of debug info from resources from generated POM *** [INFO] OldArchetype created in dir: /Users/marc/src/dad/homepage [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: ... [INFO] Finished at: Wed Dec 24 15:40:06 EST 2008 [INFO] Final Memory: 7M/14M [INFO] *It lives!!!* Strange how mvn archetype:generate didn't work... On 24/12/2008, at 3:25 PM, David Pollak wrote: Are you behind some sort of proxy that has some ... --~--~-~--~~~---~--~~ 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 ... --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[Lift] Re: todo_steps feedback
Not that I am aware of, but then I am in Australia and these days almost anything could be mucking about with my internet connectivity, but I digress... Bit of a sore point, eh? At least in Australia they tell you about the mucking. In the US that's all state secrets or somesuch. It's so secret that not even the legislature or the judiciary can know about it, but I digress... --j --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[Lift] Re: todo_steps feedback
Thanks! I'll make the change. On Sat, Dec 13, 2008 at 7:44 PM, mal3 malcolm.gor...@gmail.com wrote: David, I'm not sure where to send feedback on the todo_steps book. I'm working my way through the todo project, and I my feedback may be at times very minor in the interests of doing my bit to help with the final book product. There was a warning with the first mvn command: [INFO] [archetype:create] [WARNING] This goals is deprecated. Please use mvn archetype:generate instead mvn archetype:generate seemed to work just as well. If there's no reason to use create rather than generate, maybe change it to generate in the book. Mal. -- Lift, the simply functional web framework http://liftweb.net Collaborative Task Management http://much4.us 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 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 -~--~~~~--~~--~--~---