Hi Lachlan, In the mvn goal, you have to use -DarchetypeVersion=2.0-scala280- SNAPSHOT instead :)
The full command should be: mvn archetype:generate -U -DarchetypeGroupId=net.liftweb - DarchetypeArtifactId=lift-archetype-basic -DarchetypeVersion=2.0- scala280-SNAPSHOT -DarchetypeRepository=http://scala-tools.org/repo- snapshots -DremoteRepositories=http://scala-tools.org/repo-snapshots - DgroupId=ldeck.liftweb -DartifactId=hellolift You can skip -DscalaVersion (since that is the default for archetypeVersion 2.0-scala280-SNAPSHOT). This should give you a *proper* project on scala 2.8. Let us know how this goes. Cheers, Indrajit On Jan 30, 11:53 am, Lachlan Deck <lachlan.d...@gmail.com> wrote: > Woops - forgot to mention I'm using Eclipse 3.5.1 Cocoa/64 on Mac OS X > 10.6.2... > > On 30/01/2010, at 5:22 PM, Lachlan Deck wrote: > > > > > > > Hi all, > > > I'm just getting started with both scala and lift (or attempting to) and as > > a first step I've installed the scala eclipse plugin from nightlies > > (version 2.8.0.r20723-b20100129045351) and attempted to just create a basic > > maven-based lift project via m2eclipse. > > > I've got some initial build errors that I can't quite figure out. > > > The params I used were equivalent to these: > > mvn archetype:generate -DarchetypeGroupId=net.liftweb > > -DarchetypeArtifactId=lift-archetype-blank -DarchetypeVersion=2.0-SNAPSHOT > > -DremoteRepositories=http://scala-tools.org/repo-snapshots-DgroupId=ldeck.liftweb > > -DartifactId=hellolift -DscalaVersion=2.8.0.Beta1 > > > This, however, doesn't appear to automatically pick up the scala nature and > > thus initially fails to build after creation. Easily fixed, of course, but > > it also seems to reference jdk 1.4 so I changed that to 1.6. I assume 1.5 > > would be a minimum for scala 2.8? > > > Anyway, after doing so all the class files compile but there's the > > following build errors on the project itself: > > - error while loading Full, Scala signature Full has wrong version > > - error while loading Helpers, Scala signature Helpers has wrong version > > - error while loading LiftRules, Scala signature LiftRules has wrong version > > - error while loading Loc, Scala signature Loc has wrong version > > - error while loading Menu, Scala signature Menu has wrong version > > - error while loading PCDataXmlParser, Scala signature PCDataXmlParser has > > wrong version > > > Any pointers on what I've missed would be great. Thanks! > > > with regards, > > -- > > > Lachlan Deck > > with regards, > -- > > Lachlan Deck -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to lift...@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.