[Lift] Re: Pain Building Lift
1.0.2 builds OK on my Mac (as above) but the 1.1 build still gives me the setSQL failures. On further inspection... bash-3.2$ java -version java version "1.6.0_15" Java(TM) SE Runtime Environment (build 1.6.0_15-b03-226) Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02-92, mixed mode) bash-3.2$ mvn -version + exec /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/ Home/bin/java -Xmx1g -classpath /Users/ray/Development/tools/apache- maven-2.0.9/boot/classworlds-1.1.jar -Dclassworlds.conf=/Users/ray/ Development/tools/apache-maven-2.0.9/bin/m2.conf -Dmaven.home=/Users/ ray/Development/tools/apache-maven-2.0.9 org.codehaus.classworlds.Launcher '"-version"' Maven version: 2.0.9 Java version: 1.5.0_20 OS name: "mac os x" version: "10.5.8" arch: "i386" Family: "unix" So indeed I was building under 1.5 through a misconfiguration of Maven - I am sharing this foolishness since there may be other fools out there too ;-) Thanks for the support. Best regards Ray On Sep 19, 10:07 pm, Derek Chen-Becker wrote: > That particular error is saying that java.sql.PreparedStatement.setSQLXML > doesn't exist. This method was added in 1.6, so I may have unwittingly made > the build break under 1.5. Are you, by any chance, using a 1.5 JDK? > > Derek > > On Sat, Sep 19, 2009 at 10:31 AM, mond ray mond wrote: > > > > > It's an open source project so I don't think that users that have the > > temerity to build it should be questioned ;-) > > > Like our friend runt (probably not his / her real name), I have built > > 1.0.2 from the github tag, following your instructions and get build > > problems with the SQLMapper. A small sample: > > > [WARNING] /Users/ray/NetBeansProjects/liftweb/lift-mapper/src/main/ > > scala/net/liftweb/mapper/LoggingStatementWrappers.scala:565: error: > > value setSQLXML is not a member of java.sql.PreparedStatement > > [WARNING] underlying.setSQLXML(index, x) > > [WARNING] ^ > > [WARNING] 28 errors found > > [INFO] > > > > [ERROR] BUILD FAILURE > > [INFO] > > > > > What must be done to build successfully? > > > Thanks > > > Ray > > > On Sep 19, 10:35 am, Timothy Perrett wrote: > > > runt, > > > > Why on earth are you sudo'ing for a simple build? Moreover, is there a > > > reason you want to build from source? See my instructions here: > > > >http://wiki.github.com/dpp/liftweb/how-to-getting-and-building-from-s... > > > > To be honest, if you just want to use lift then you really don't need > > > to build the source - try the following command also: > > > > mvn archetype:generate -DarchetypeCatalog=http://scala-tools.org/ > > > > Try those and let me know... > > > > Cheers, Tim > > > > On Sep 19, 1:14 am, runt wrote: > > > > > Hi Everyone, > > > > > Ok, so I want to see what the hype is about with Lift - it sounds > > > > pretty exciting. However trying to build Lift from source is killing > > > > my buzz, I tried using the instructions from the wiki > > > > > sudo git clone git://github.com/dpp/liftweb.git > > > > cd liftweb > > > > sudo /opt/maven/bin/mvn -e install > > > > > on unbuntu 9.04, with maven 2.2.1, and git 1.6.3.3. I have a tried it > > > > a couple times and had epic fails that have ranged from compilation > > > > errors to runtime errors. > > > > > Readinghttp://wiki.liftweb.net/index.php/Source_codesaystheclone > > > > URL is from the trunk. Please correct me if I am mistaken with that - > > > > I cannot seem to find anything about Lift's release management. > > > > > My question is are stable release sources available? I would like to > > > > try my luck with one of those. > > > > > Thankyou - runt --~--~-~--~~~---~--~~ 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: Pain Building Lift
. SUCCESS > [12.393s] > [INFO] Lift Record ... SUCCESS > [13.243s] > [INFO] Lift Textile .. SUCCESS > [26.846s] > [INFO] Lift Facebook . SUCCESS > [11.994s] > [INFO] Lift AMQP . SUCCESS > [6.365s] > [INFO] Lift XMPP . SUCCESS > [7.791s] > [INFO] Lift Widgets .. SUCCESS > [20.714s] > [INFO] Lift OpenID ... SUCCESS > [10.133s] > [INFO] Lift OAuth SUCCESS > [0.620s] > [INFO] Lift PayPal ... SUCCESS > [11.302s] > [INFO] Lift TestKit .. SUCCESS > [9.424s] > [INFO] Lift Core (full lift) . SUCCESS > [0.793s] > [INFO] Lift Sites SUCCESS > [0.350s] > [INFO] Lift Example .. SUCCESS > [39.610s] > [INFO] Skittr Example SUCCESS > [17.423s] > [INFO] HelloLift example application . SUCCESS > [14.857s] > [INFO] HelloDarwin tutorial application .. SUCCESS > [15.065s] > [INFO] JPA Demo Master ... SUCCESS > [0.221s] > [INFO] JPADemo-spa ... SUCCESS > [16.634s] > [INFO] JPADemo-web ........... SUCCESS > [20.697s] > [INFO] HTTP Authentication example ... SUCCESS > [8.920s] > [INFO] lift-archetype-blank .. SUCCESS > [26.078s] > [INFO] lift-archetype-basic .. SUCCESS > [25.730s] > [INFO] > > [INFO] > > [INFO] BUILD SUCCESSFUL > [INFO] > > [INFO] Total time: 9 minutes 4 seconds > [INFO] Finished at: Sat Sep 19 10:00:14 PDT 2009 > [INFO] Final Memory: 44M/62M > [INFO] > > pony:liftweb dpp$ > > On Sat, Sep 19, 2009 at 9:31 AM, mond ray mond wrote: > > > > > It's an open source project so I don't think that users that have the > > temerity to build it should be questioned ;-) > > > Like our friend runt (probably not his / her real name), I have built > > 1.0.2 from the github tag, following your instructions and get build > > problems with the SQLMapper. A small sample: > > > [WARNING] /Users/ray/NetBeansProjects/liftweb/lift-mapper/src/main/ > > scala/net/liftweb/mapper/LoggingStatementWrappers.scala:565: error: > > value setSQLXML is not a member of java.sql.PreparedStatement > > [WARNING] underlying.setSQLXML(index, x) > > [WARNING] ^ > > [WARNING] 28 errors found > > [INFO] > > > > [ERROR] BUILD FAILURE > > [INFO] > > > > > What must be done to build successfully? > > > Thanks > > > Ray > > > On Sep 19, 10:35 am, Timothy Perrett wrote: > > > runt, > > > > Why on earth are you sudo'ing for a simple build? Moreover, is there a > > > reason you want to build from source? See my instructions here: > > > >http://wiki.github.com/dpp/liftweb/how-to-getting-and-building-from-s... > > > > To be honest, if you just want to use lift then you really don't need > > > to build the source - try the following command also: > > > > mvn archetype:generate -DarchetypeCatalog=http://scala-tools.org/ > > > > Try those and let me know... > > > > Cheers, Tim > > > > On Sep 19, 1:14 am, runt wrote: > > > > > Hi Everyone, > > > > > Ok, so I want to see what the hype is about with Lift - it sounds > > > > pretty exciting. However trying to build Lift from source is killing > > > > my buzz, I tried using the instructions from the wiki > > > > > sudo git clone git://github.com/dpp/liftweb.git > > > > cd liftweb > > > > sudo /opt/maven/bin/mvn -e install > > > > > on unbuntu 9.04, with maven 2.2.1, and git 1.6.3.3. I have a tried it > > > > a couple times and had epic fails that have ranged from compilation > > > > errors to runtime errors. > > > > > Readinghttp://wiki.liftweb.net/index.php/Source_codesaystheclone > > > > URL is from the trunk. Please correct me if I am mistaken with that - > > > > I cannot seem to find anything about Lift's release management. > > > > > My question is are stable release sources available? I would like to > > > > try my luck with one of those. > > > > > Thankyou - runt > > -- > 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 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: Pain Building Lift
It's an open source project so I don't think that users that have the temerity to build it should be questioned ;-) Like our friend runt (probably not his / her real name), I have built 1.0.2 from the github tag, following your instructions and get build problems with the SQLMapper. A small sample: [WARNING] /Users/ray/NetBeansProjects/liftweb/lift-mapper/src/main/ scala/net/liftweb/mapper/LoggingStatementWrappers.scala:565: error: value setSQLXML is not a member of java.sql.PreparedStatement [WARNING] underlying.setSQLXML(index, x) [WARNING] ^ [WARNING] 28 errors found [INFO] [ERROR] BUILD FAILURE [INFO] What must be done to build successfully? Thanks Ray On Sep 19, 10:35 am, Timothy Perrett wrote: > runt, > > Why on earth are you sudo'ing for a simple build? Moreover, is there a > reason you want to build from source? See my instructions here: > > http://wiki.github.com/dpp/liftweb/how-to-getting-and-building-from-s... > > To be honest, if you just want to use lift then you really don't need > to build the source - try the following command also: > > mvn archetype:generate -DarchetypeCatalog=http://scala-tools.org/ > > Try those and let me know... > > Cheers, Tim > > On Sep 19, 1:14 am, runt wrote: > > > Hi Everyone, > > > Ok, so I want to see what the hype is about with Lift - it sounds > > pretty exciting. However trying to build Lift from source is killing > > my buzz, I tried using the instructions from the wiki > > > sudo git clone git://github.com/dpp/liftweb.git > > cd liftweb > > sudo /opt/maven/bin/mvn -e install > > > on unbuntu 9.04, with maven 2.2.1, and git 1.6.3.3. I have a tried it > > a couple times and had epic fails that have ranged from compilation > > errors to runtime errors. > > > Readinghttp://wiki.liftweb.net/index.php/Source_codesaysthe clone > > URL is from the trunk. Please correct me if I am mistaken with that - > > I cannot seem to find anything about Lift's release management. > > > My question is are stable release sources available? I would like to > > try my luck with one of those. > > > Thankyou - runt --~--~-~--~~~---~--~~ 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] checking out examples from SVN?
I can't seem to check out the examples on the Google code project referenced in the WIKI (http://wiki.liftweb.net/index.php/ HowTo_Making_changes_to_the_samples) Have they moved? Thanks in advance Ray --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---