To be fair there was a much larger gap than usual between master and release... We missed a couple of release cycles for 0.10.
So in theory, 0.9 was the latest bonified release - it that sense, it wasn't wrong, just miles out of date ;-) Sent from my iPhone On 14 Jan 2009, at 23:51, "Meredith Gregory" <lgreg.mered...@gmail.com> wrote: > David, > > Well, i just nabbed that code from the liftweb site a day or two ago > and stuffed it into a shell script. i stared at the version number > and wondered whether that referred to the archetype version or the > version of lift. Since it was up on the site i reasoned it was the > archetype version and was vetted and blessed. ;-) > > Best wishes, > > --greg > > On Wed, Jan 14, 2009 at 3:36 PM, David Pollak <feeder.of.the.be...@gmail.com > > wrote: > Yeah, it should be 0.10, not 0.9 > > My god... you're still on 0.9? > > On Wed, Jan 14, 2009 at 3:32 PM, Meredith Gregory <lgreg.mered...@gmail.com > > wrote: > David, > > Currently, i have the following code stuffed in a shell script. > Should i be modifying the archetype version? > > Best wishes, > > --greg > > #! /bin/sh > mvn archetype:generate -U \ > -DarchetypeGroupId=net.liftweb \ > -DarchetypeArtifactId=lift-archetype-basic \ > -DarchetypeVersion=0.9 \ > -DremoteRepositories=http://scala-tools.org/repo-releases \ > -DgroupId=$1 -DartifactId=$2 > > > On Wed, Jan 14, 2009 at 3:30 PM, Meredith Gregory <lgreg.mered...@gmail.com > > wrote: > David, > > Progress... now the breakage is in a new place. The code generated > from the mvn lift archetype no longer compiles. What's the best way > to address this? i can attempt to fix the generated code in place or > i can regenerate from the archetype. > > Best wishes, > > --greg > > [WARNING] /Users/lgm/work/src/projex/bobj/naturalselection/src/main/ > scala/com/biosimilarity/naturalselection/model/User.scala:9: error: > wrong number of type arguments for net.liftweb.mapper.MetaMegaProtoUser > , should be 1 > [WARNING] object User extends User with MetaMegaProtoUser[User, User > with KeyedMetaMapper[Long, User]] { > [WARNING] ^ > [WARNING] /Users/lgm/work/src/projex/bobj/naturalselection/src/main/ > scala/com/biosimilarity/naturalselection/model/User.scala:26: error: > type mismatch; > [WARNING] found : > com.biosimilarity.naturalselection.model.User.type (with underlying > type object com.biosimilarity.naturalselection.model.User) > [WARNING] required: > net. > liftweb. > mapper. > KeyedMetaMapper[Long,com.biosimilarity.naturalselection.model.User] > [WARNING] def getSingleton = User // what's the "meta" server > [WARNING] ^ > [WARNING] /Users/lgm/work/src/projex/bobj/naturalselection/src/main/ > scala/bootstrap/liftweb/Boot.scala:21: error: overloaded method > value schemify with alternatives (Boolean,(=> AnyRef) => > Unit,net.liftweb.mapper.ConnectionIdentifier,net.liftweb.mapper.BaseMetaMapper > > *)List[String] <and> (Boolean,(=> AnyRef) => > Unit,net.liftweb.mapper.BaseMetaMapper > *)List[String] cannot be applied to (Boolean,(=> AnyRef) => > Unit,com.biosimilarity.naturalselection.model.User.type) > [WARNING] Schemifier.schemify(true, Log.infoF _, User) > [WARNING] ^ > [WARNING] /Users/lgm/work/src/projex/bobj/naturalselection/src/main/ > scala/bootstrap/liftweb/Boot.scala:23: error: value > addTemplateBefore is not a member of object net.liftweb.http.LiftRules > [WARNING] LiftRules.addTemplateBefore(User.templates) > [WARNING] ^ > [WARNING] /Users/lgm/work/src/projex/bobj/naturalselection/src/main/ > scala/bootstrap/liftweb/Boot.scala:27: error: type mismatch; > [WARNING] found : java.lang.String("/") > [WARNING] required: > net.liftweb.sitemap.Loc.Link[net.liftweb.sitemap.NullLocParams > ] > [WARNING] (Menu(Loc("Home", "/", "Home")) > [WARNING] ^ > [WARNING] /Users/lgm/work/src/projex/bobj/naturalselection/src/main/ > scala/bootstrap/liftweb/Boot.scala:28: error: value loggedIn_? is > not a member of object com.biosimilarity.naturalselection.model.User > [WARNING] :: Menu(Loc("REPLForm.1", "/AJAXREPLForm", "R-E-P- > L", If(User.loggedIn_? _, "x"))) > [WARNING] > > ^ > [WARNING] /Users/lgm/work/src/projex/bobj/naturalselection/src/main/ > scala/bootstrap/liftweb/Boot.scala:33: error: value requestLoans is > not a member of object com.biosimilarity.naturalselection.model.User > [WARNING] S.addAround(User.requestLoans) > [WARNING] ^ > [WARNING] /Users/lgm/work/src/projex/bobj/naturalselection/src/main/ > scala/bootstrap/liftweb/Boot.scala:39: error: not found: type Can > [WARNING] def newConnection(name: ConnectionIdentifier): > Can[Connection] = { > [WARNING] ^ > [WARNING] /Users/lgm/work/src/projex/bobj/naturalselection/src/main/ > scala/com/biosimilarity/naturalselection/snippet/REPLForm.scala:79: > error: type mismatch; > [WARNING] found : java.lang.String("$('#whatField').attr('value')") > [WARNING] required: net.liftweb.http.js.JsExp > [WARNING] { <button type="button">{?("Go")}</button> % > ("onclick" -> ajaxCall("$('#whatField').attr('value')", s => > updateWhat(s))) } > [WARNING] > > > ^ > [WARNING] 9 errors found > [INFO] > --- > --------------------------------------------------------------------- > [ERROR] BUILD FAILURE > [INFO] > --- > --------------------------------------------------------------------- > > > On Wed, Jan 14, 2009 at 3:12 PM, Meredith Gregory <lgreg.mered...@gmail.com > > wrote: > David, > > Excellent. i needed a nap anyway. > > Best wishes, > > --greg > > P.S. Someone disappeared from the Seattle-Bainbridge ferry last > night and completely disrupted service. i spent 1.5 hours on the > floor of the Bainbridge ferry terminal and a little over 4 on a > friend's living room floor waiting for them to get the service up > and running again -- so that i could drive up to Vancouver to give a > (lift) demo. Fortunately, i could do the crucial bits of the demo > using the scala console and it looks like there was good reception. > i think things will go over even better when i show them a web > wrapper for the core features. > > > > On Wed, Jan 14, 2009 at 2:34 PM, David Pollak <feeder.of.the.be...@gmail.com > > wrote: > Folks, > > Give me an hour and all should be good (and I'll fix Buy a Feature > and ESME while I'm at it.) > > Thanks, > > David > > > On Wed, Jan 14, 2009 at 2:31 PM, Darren Hague > <dha...@fortybeans.com> wrote: > > David, > > When changing pom.xml to Scala 2.7.3, should Lift be set to 0.10- > SNAPSHOT or 0.10? > > Cheers, > Darren > [also suffering Sudden Build Failure Syndrome] > > On Jan 14, 10:22 pm, "David Pollak" <feeder.of.the.be...@gmail.com> > wrote: > > Greg, > > Please remove your Maven repository (rm -rf ~/.m2) and see if that > fixes > > things. > > > > Thanks, > > > > David > > > > On Wed, Jan 14, 2009 at 2:17 PM, Meredith Gregory > > <lgreg.mered...@gmail.com>wrote: > > > > > David, > > > > > Thanks for the quick response. Unfortunately, i still see the same > > > behavior. > > > > > Best wishes, > > > > > --greg > > > > > Here's the relevant fragment of my pom.xml > > > > > <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi=" > > >http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" > > >http://maven.apache.org/POM/4.0.0http://maven.apache.org/maven-v4_0_0.xsd > > > "> > > > <modelVersion>4.0.0</modelVersion> > > > <groupId>com.biosimilarity.naturalselection</groupId> > > > <artifactId>naturalselection</artifactId> > > > <version>1.0-SNAPSHOT</version> > > > <packaging>war</packaging> > > > <name>naturalselection</name> > > > <inceptionYear>2007</inceptionYear> > > > <properties> > > > <scala.version>2.7.3</scala.version> > > > </properties> > > > ... > > > </project> > > > > > bash-3.2$ mvn clean; mvn compile; mvn jetty:run > > > [INFO] Scanning for projects... > > > [INFO] > > > > --- > --------------------------------------------------------------------- > > > [INFO] Building naturalselection > > > [INFO] task-segment: [clean] > > > [INFO] > > > > --- > --------------------------------------------------------------------- > > > [INFO] [clean:clean] > > > [INFO] Deleting directory > > > /Users/lgm/work/src/projex/bobj/naturalselection/target > > > [INFO] > > > > --- > --------------------------------------------------------------------- > > > [INFO] BUILD SUCCESSFUL > > > [INFO] > > > > --- > --------------------------------------------------------------------- > > > [INFO] Total time: 1 second > > > [INFO] Finished at: Wed Jan 14 14:13:48 PST 2009 > > > [INFO] Final Memory: 6M/10M > > > [INFO] > > > > --- > --------------------------------------------------------------------- > > > [INFO] Scanning for projects... > > > [INFO] > > > > --- > --------------------------------------------------------------------- > > > [INFO] Building naturalselection > > > [INFO] task-segment: [compile] > > > [INFO] > > > > --- > --------------------------------------------------------------------- > > > [INFO] [resources:resources] > > > [INFO] Using default encoding to copy filtered resources. > > > [INFO] [yuicompressor:compress {execution: default}] > > > [INFO] nb warnings: 0, nb errors: 0 > > > [WARNING] POM for 'org.igniterealtime.smack:smack:pom: > 3.0.4:compile' is > > > invalid. It will be ignored for artifact resolution. Reason: Not > a v4.0.0 > > > POM. for project org.igniterealtime.smack:smack at > > > /Users/lgm/.m2/repository/org/igniterealtime/smack/smack/3.0.4/ > smack-3.0.4.pom > > > [WARNING] POM for 'org.igniterealtime.smack:smackx:pom: > 3.0.4:compile' is > > > invalid. It will be ignored for artifact resolution. Reason: Not > a v4.0.0 > > > POM. for project org.igniterealtime.smack:smackx at > > > /Users/lgm/.m2/repository/org/igniterealtime/smack/smackx/3.0.4/ > smackx-3.0.4.pom > > > [WARNING] POM for 'cup:java-cup-11a:pom:local:compile' is > invalid. It will > > > be ignored for artifact resolution. Reason: Not a v4.0.0 POM. > for project > > > cup:java-cup-11a at > > > /Users/lgm/.m2/repository/cup/java-cup-11a/local/java-cup-11a- > local.pom > > > [WARNING] POM for 'cup:java-cup-11a-runtime:pom:local:compile' > is invalid. > > > It will be ignored for artifact resolution. Reason: Not a v4.0.0 > POM. for > > > project cup:java-cup-11a-runtime at > > > /Users/lgm/.m2/repository/cup/java-cup-11a-runtime/local/java- > cup-11a-runtime-local.pom > > > [INFO] [compiler:compile] > > > [INFO] Compiling 138 source files to > > > /Users/lgm/work/src/projex/bobj/naturalselection/target/classes > > > [WARNING] POM for 'org.igniterealtime.smack:smack:pom: > 3.0.4:compile' is > > > invalid. It will be ignored for artifact resolution. Reason: Not > a v4.0.0 > > > POM. for project org.igniterealtime.smack:smack at > > > /Users/lgm/.m2/repository/org/igniterealtime/smack/smack/3.0.4/ > smack-3.0.4.pom > > > [WARNING] POM for 'org.igniterealtime.smack:smackx:pom: > 3.0.4:compile' is > > > invalid. It will be ignored for artifact resolution. Reason: Not > a v4.0.0 > > > POM. for project org.igniterealtime.smack:smackx at > > > /Users/lgm/.m2/repository/org/igniterealtime/smack/smackx/3.0.4/ > smackx-3.0.4.pom > > > [WARNING] POM for 'cup:java-cup-11a:pom:local:compile' is > invalid. It will > > > be ignored for artifact resolution. Reason: Not a v4.0.0 POM. > for project > > > cup:java-cup-11a at > > > /Users/lgm/.m2/repository/cup/java-cup-11a/local/java-cup-11a- > local.pom > > > [WARNING] POM for 'cup:java-cup-11a-runtime:pom:local:compile' > is invalid. > > > It will be ignored for artifact resolution. Reason: Not a v4.0.0 > POM. for > > > project cup:java-cup-11a-runtime at > > > /Users/lgm/.m2/repository/cup/java-cup-11a-runtime/local/java- > cup-11a-runtime-local.pom > > > [INFO] [scala:compile {execution: default}] > > > [INFO] suggestion: remove the scalaVersion from pom.xml > > > [ERROR] /Users/lgm/work/src/projex/bobj/naturalselection/src/ > main/scala > > > [INFO] Compiling 143 source files to > > > /Users/lgm/work/src/projex/bobj/naturalselection/target/classes > > > [INFO] > > > > --- > --------------------------------------------------------------------- > > > [INFO] BUILD SUCCESSFUL > > > [INFO] > > > > --- > --------------------------------------------------------------------- > > > [INFO] Total time: 12 seconds > > > [INFO] Finished at: Wed Jan 14 14:14:01 PST 2009 > > > [INFO] Final Memory: 11M/33M > > > [INFO] > > > > --- > --------------------------------------------------------------------- > > > [INFO] Scanning for projects... > > > [INFO] Searching repository for plugin with prefix: 'jetty'. > > > [INFO] > > > > --- > --------------------------------------------------------------------- > > > [INFO] Building naturalselection > > > [INFO] task-segment: [jetty:run] > > > [INFO] > > > > --- > --------------------------------------------------------------------- > > > [INFO] Preparing jetty:run > > > [INFO] [resources:resources] > > > [INFO] Using default encoding to copy filtered resources. > > > [INFO] [yuicompressor:compress {execution: default}] > > > [INFO] nb warnings: 0, nb errors: 0 > > > [WARNING] POM for 'org.igniterealtime.smack:smack:pom: > 3.0.4:compile' is > > > invalid. It will be ignored for artifact resolution. Reason: Not > a v4.0.0 > > > POM. for project org.igniterealtime.smack:smack at > > > /Users/lgm/.m2/repository/org/igniterealtime/smack/smack/3.0.4/ > smack-3.0.4.pom > > > [WARNING] POM for 'org.igniterealtime.smack:smackx:pom: > 3.0.4:compile' is > > > invalid. It will be ignored for artifact resolution. Reason: Not > a v4.0.0 > > > POM. for project org.igniterealtime.smack:smackx at > > > /Users/lgm/.m2/repository/org/igniterealtime/smack/smackx/3.0.4/ > smackx-3.0.4.pom > > > [WARNING] POM for 'cup:java-cup-11a:pom:local:compile' is > invalid. It will > > > be ignored for artifact resolution. Reason: Not a v4.0.0 POM. > for project > > > cup:java-cup-11a at > > > /Users/lgm/.m2/repository/cup/java-cup-11a/local/java-cup-11a- > local.pom > > > [WARNING] POM for 'cup:java-cup-11a-runtime:pom:local:compile' > is invalid. > > > It will be ignored for artifact resolution. Reason: Not a v4.0.0 > POM. for > > > project cup:java-cup-11a-runtime at > > > /Users/lgm/.m2/repository/cup/java-cup-11a-runtime/local/java- > cup-11a-runtime-local.pom > > > [INFO] [compiler:compile] > > > [INFO] Nothing to compile - all classes are up to date > > > [WARNING] POM for 'org.igniterealtime.smack:smack:pom: > 3.0.4:compile' is > > > invalid. It will be ignored for artifact resolution. Reason: Not > a v4.0.0 > > > POM. for project org.igniterealtime.smack:smack at > > > /Users/lgm/.m2/repository/org/igniterealtime/smack/smack/3.0.4/ > smack-3.0.4.pom > > > [WARNING] POM for 'org.igniterealtime.smack:smackx:pom: > 3.0.4:compile' is > > > invalid. It will be ignored for artifact resolution. Reason: Not > a v4.0.0 > > > POM. for project org.igniterealtime.smack:smackx at > > > /Users/lgm/.m2/repository/org/igniterealtime/smack/smackx/3.0.4/ > smackx-3.0.4.pom > > > [WARNING] POM for 'cup:java-cup-11a:pom:local:compile' is > invalid. It will > > > be ignored for artifact resolution. Reason: Not a v4.0.0 POM. > for project > > > cup:java-cup-11a at > > > /Users/lgm/.m2/repository/cup/java-cup-11a/local/java-cup-11a- > local.pom > > > [WARNING] POM for 'cup:java-cup-11a-runtime:pom:local:compile' > is invalid. > > > It will be ignored for artifact resolution. Reason: Not a v4.0.0 > POM. for > > > project cup:java-cup-11a-runtime at > > > /Users/lgm/.m2/repository/cup/java-cup-11a-runtime/local/java- > cup-11a-runtime-local.pom > > > [INFO] [scala:compile {execution: default}] > > > [INFO] suggestion: remove the scalaVersion from pom.xml > > > [ERROR] /Users/lgm/work/src/projex/bobj/naturalselection/src/ > main/scala > > > [INFO] Nothing to compile - all classes are up to date > > > [INFO] [resources:testResources] > > > [INFO] Using default encoding to copy filtered resources. > > > [WARNING] POM for 'org.igniterealtime.smack:smack:pom: > 3.0.4:compile' is > > > invalid. It will be ignored for artifact resolution. Reason: Not > a v4.0.0 > > > POM. for project org.igniterealtime.smack:smack at > > > /Users/lgm/.m2/repository/org/igniterealtime/smack/smack/3.0.4/ > smack-3.0.4.pom > > > [WARNING] POM for 'org.igniterealtime.smack:smackx:pom: > 3.0.4:compile' is > > > invalid. It will be ignored for artifact resolution. Reason: Not > a v4.0.0 > > > POM. for project org.igniterealtime.smack:smackx at > > > /Users/lgm/.m2/repository/org/igniterealtime/smack/smackx/3.0.4/ > smackx-3.0.4.pom > > > [WARNING] POM for 'cup:java-cup-11a:pom:local:compile' is > invalid. It will > > > be ignored for artifact resolution. Reason: Not a v4.0.0 POM. > for project > > > cup:java-cup-11a at > > > /Users/lgm/.m2/repository/cup/java-cup-11a/local/java-cup-11a- > local.pom > > > [WARNING] POM for 'cup:java-cup-11a-runtime:pom:local:compile' > is invalid. > > > It will be ignored for artifact resolution. Reason: Not a v4.0.0 > POM. for > > > project cup:java-cup-11a-runtime at > > > /Users/lgm/.m2/repository/cup/java-cup-11a-runtime/local/java- > cup-11a-runtime-local.pom > > > [INFO] [compiler:testCompile] > > > [INFO] Nothing to compile - all classes are up to date > > > [WARNING] POM for 'org.igniterealtime.smack:smack:pom: > 3.0.4:compile' is > > > invalid. It will be ignored for artifact resolution. Reason: Not > a v4.0.0 > > > POM. for project org.igniterealtime.smack:smack at > > > > ... > > > > read more ยป > > > > > -- > 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 > > > > > > -- > L.G. Meredith > Managing Partner > Biosimilarity LLC > 806 55th St NE > Seattle, WA 98105 > > +1 206.650.3740 > > http://biosimilarity.blogspot.com > > > > -- > L.G. Meredith > Managing Partner > Biosimilarity LLC > 806 55th St NE > Seattle, WA 98105 > > +1 206.650.3740 > > http://biosimilarity.blogspot.com > > > > -- > L.G. Meredith > Managing Partner > Biosimilarity LLC > 806 55th St NE > Seattle, WA 98105 > > +1 206.650.3740 > > http://biosimilarity.blogspot.com > > > > > > -- > 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 > > > > > > -- > L.G. Meredith > Managing Partner > Biosimilarity LLC > 806 55th St NE > Seattle, WA 98105 > > +1 206.650.3740 > > http://biosimilarity.blogspot.com > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---