[Lift] Re: Pain Building Lift
excellent, thanaks a lot. Case closed. On Sep 21, 1:27 am, Tim Nelson wrote: > The appendices were not included in the printed book. You can get them > online here:http://www.apress.com/book/downloadfile/4390 > > Also, they are included in the os version of the > book:http://groups.google.com/group/the-lift-book > > Tim > > On Sun, Sep 20, 2009 at 7:44 AM, runt wrote: > > > Thank you all for the responses. > > > I try and build everything from source - and no it is not always easy > > but I like doing it. I sudo'd because I was in /usr/local/src - on my > > machine this did require sudo. I had already played around with lift > > using the maven commands and from the Eclipse IDE - this is well > > documented online and in the books I have bought. Did the hello world > > thing (from your book Derek, p.s. where are the Appendixes? Seriously > > I can't find them in the copy I paid for from Apress), then tried to > > build from source... > > > And this is an example where an idiot compiling from source is evil - > > the problem was path related. Running java -version reports the 1.6 > > java I downloaded and installed from sun. Running mvn -version shows > > otherwise (on my mac now as I had this light bulb moment at home) > > > myee-riris-macbook-pro:liftweb runt$ /opt/apache-maven-2.2.1/bin/mvn - > > version > > Apache Maven 2.2.1 (r801777; 2009-08-07 05:16:01+1000) > > Java version: 1.5.0_16 > > Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/ > > Home > > Default locale: en_US, platform encoding: MacRoman > > OS name: "mac os x" version: "10.5.8" arch: "i386" Family: "unix" > > > Fixed the path to use my 1.6 java. Can now build successfully, and > > have been checking it out. Happiness++. > > > My apologies for spamming you with my stupidity. Take pleasure in > > knowing said stupidity is immortalised on the web. > > > On Sep 20, 6:06 am, mond ray mond wrote: > > > Ha - beat you ;-) > > > > [INFO] > > > > > > [INFO] BUILD SUCCESSFUL > > > [INFO] > > > > > > [INFO] Total time: 7 minutes 56 seconds > > > [INFO] Finished at: Sat Sep 19 22:02:30 CEST 2009 > > > [INFO] Final Memory: 47M/85M > > > [INFO] > > > > > > bash-3.2$ > > > > Must have been the 'clean'. My missus says I should tidy up more > > > often too! > > > > Thanks for the support > > > > Best regards > > > > Ray > > > > On Sep 19, 7:03 pm, David Pollak > > > wrote: > > > > > On my Mac OS X box: > > > > > pony:liftweb dpp$ mvn -version > > > > Maven version: 2.0.9 > > > > Java version: 1.6.0_15 > > > > OS name: "mac os x" version: "10.6" arch: "i386" Family: "mac" > > > > pony:liftweb dpp$ > > > > > Here's the build log: > > > > > pony:~ dpp$ cd tmp/ > > > > pony:tmp dpp$ git clone git://github.com/dpp/liftweb.git > > > > Initialized empty Git repository in /Users/dpp/tmp/liftweb/.git/ > > > > remote: Counting objects: 35122, done. > > > > remote: Compressing objects: 100% (12807/12807), done. > > > > remote: Total 35122 (delta 14036), reused 34877 (delta 13857) > > > > Receiving objects: 100% (35122/35122), 18.53 MiB | 907 KiB/s, done. > > > > Resolving deltas: 100% (14036/14036), done. > > > > pony:tmp dpp$ cd liftweb/ > > > > pony:liftweb dpp$ git tag > > > > 0.10 > > > > 0.9 > > > > 1.0 > > > > 1.0.1 > > > > 1.0.2 > > > > 1.1-M1 > > > > 1.1-M3 > > > > 1.1-M4 > > > > 1.1-M5 > > > > bonded_to_rev_121_baf_dpp > > > > buy_a_feature_svn_130 > > > > igo_1_0 > > > > innovation_games_oneline_1_0 > > > > osgi01 > > > > teched08_demo_jam > > > > pony:liftweb dpp$ git checout 1.0.2 > > > > git: 'checout' is not a git-command. See 'git --help'. > > > > > Did you mean this? > > > > checkout > > > > pony:liftweb dpp$ git checkout 1.0.2 > > > > Note: moving to '1.0.2' which isn't a local branch > > > > If you want to create a new branch from this checkout, you may do so > > > > (now or later) by using -b with the checkout command again. Example: > > > > git checkout -b > > > > HEAD is now at eb3efbd... [release] prepare 1.0.2 > > > > pony:liftweb dpp$ mvn clean install > > > > [INFO] Scanning for projects... > > > > [INFO] Reactor build order: > > > > [INFO] Lift > > > > [INFO] Lift Utils > > > > [INFO] Lift WebKit > > > > [INFO] Lift Mapper > > > > [INFO] Lift Machine > > > > [INFO] Lift Record > > > > [INFO] Lift Textile > > > > [INFO] Lift Facebook > > > > [INFO] Lift AMQP > > > > [INFO] Lift XMPP > > > > [INFO] Lift Widgets > > > > [INFO] Lift OpenID > > > > [INFO] Lift OAuth > > > > [INFO] Lift PayPal > > > > [INFO] Lift TestKit > > > > [INFO] Lift Core (full lift) > > > > [INFO] Lift Sites > > > > [INFO] Lift Example > > > > [INFO] Skittr Example > > > > [INFO] HelloLift example application > > > > [INFO] HelloDarwin tutorial application > > > > [INFO] JPA D
[Lift] Re: Pain Building Lift
The appendices were not included in the printed book. You can get them online here: http://www.apress.com/book/downloadfile/4390 Also, they are included in the os version of the book: http://groups.google.com/group/the-lift-book Tim On Sun, Sep 20, 2009 at 7:44 AM, runt wrote: > > Thank you all for the responses. > > I try and build everything from source - and no it is not always easy > but I like doing it. I sudo'd because I was in /usr/local/src - on my > machine this did require sudo. I had already played around with lift > using the maven commands and from the Eclipse IDE - this is well > documented online and in the books I have bought. Did the hello world > thing (from your book Derek, p.s. where are the Appendixes? Seriously > I can't find them in the copy I paid for from Apress), then tried to > build from source... > > And this is an example where an idiot compiling from source is evil - > the problem was path related. Running java -version reports the 1.6 > java I downloaded and installed from sun. Running mvn -version shows > otherwise (on my mac now as I had this light bulb moment at home) > > myee-riris-macbook-pro:liftweb runt$ /opt/apache-maven-2.2.1/bin/mvn - > version > Apache Maven 2.2.1 (r801777; 2009-08-07 05:16:01+1000) > Java version: 1.5.0_16 > Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/ > Home > Default locale: en_US, platform encoding: MacRoman > OS name: "mac os x" version: "10.5.8" arch: "i386" Family: "unix" > > Fixed the path to use my 1.6 java. Can now build successfully, and > have been checking it out. Happiness++. > > My apologies for spamming you with my stupidity. Take pleasure in > knowing said stupidity is immortalised on the web. > > On Sep 20, 6:06 am, mond ray mond wrote: > > Ha - beat you ;-) > > > > [INFO] > > > > [INFO] BUILD SUCCESSFUL > > [INFO] > > > > [INFO] Total time: 7 minutes 56 seconds > > [INFO] Finished at: Sat Sep 19 22:02:30 CEST 2009 > > [INFO] Final Memory: 47M/85M > > [INFO] > > > > bash-3.2$ > > > > Must have been the 'clean'. My missus says I should tidy up more > > often too! > > > > Thanks for the support > > > > Best regards > > > > Ray > > > > On Sep 19, 7:03 pm, David Pollak > > wrote: > > > > > On my Mac OS X box: > > > > > pony:liftweb dpp$ mvn -version > > > Maven version: 2.0.9 > > > Java version: 1.6.0_15 > > > OS name: "mac os x" version: "10.6" arch: "i386" Family: "mac" > > > pony:liftweb dpp$ > > > > > Here's the build log: > > > > > pony:~ dpp$ cd tmp/ > > > pony:tmp dpp$ git clone git://github.com/dpp/liftweb.git > > > Initialized empty Git repository in /Users/dpp/tmp/liftweb/.git/ > > > remote: Counting objects: 35122, done. > > > remote: Compressing objects: 100% (12807/12807), done. > > > remote: Total 35122 (delta 14036), reused 34877 (delta 13857) > > > Receiving objects: 100% (35122/35122), 18.53 MiB | 907 KiB/s, done. > > > Resolving deltas: 100% (14036/14036), done. > > > pony:tmp dpp$ cd liftweb/ > > > pony:liftweb dpp$ git tag > > > 0.10 > > > 0.9 > > > 1.0 > > > 1.0.1 > > > 1.0.2 > > > 1.1-M1 > > > 1.1-M3 > > > 1.1-M4 > > > 1.1-M5 > > > bonded_to_rev_121_baf_dpp > > > buy_a_feature_svn_130 > > > igo_1_0 > > > innovation_games_oneline_1_0 > > > osgi01 > > > teched08_demo_jam > > > pony:liftweb dpp$ git checout 1.0.2 > > > git: 'checout' is not a git-command. See 'git --help'. > > > > > Did you mean this? > > > checkout > > > pony:liftweb dpp$ git checkout 1.0.2 > > > Note: moving to '1.0.2' which isn't a local branch > > > If you want to create a new branch from this checkout, you may do so > > > (now or later) by using -b with the checkout command again. Example: > > > git checkout -b > > > HEAD is now at eb3efbd... [release] prepare 1.0.2 > > > pony:liftweb dpp$ mvn clean install > > > [INFO] Scanning for projects... > > > [INFO] Reactor build order: > > > [INFO] Lift > > > [INFO] Lift Utils > > > [INFO] Lift WebKit > > > [INFO] Lift Mapper > > > [INFO] Lift Machine > > > [INFO] Lift Record > > > [INFO] Lift Textile > > > [INFO] Lift Facebook > > > [INFO] Lift AMQP > > > [INFO] Lift XMPP > > > [INFO] Lift Widgets > > > [INFO] Lift OpenID > > > [INFO] Lift OAuth > > > [INFO] Lift PayPal > > > [INFO] Lift TestKit > > > [INFO] Lift Core (full lift) > > > [INFO] Lift Sites > > > [INFO] Lift Example > > > [INFO] Skittr Example > > > [INFO] HelloLift example application > > > [INFO] HelloDarwin tutorial application > > > [INFO] JPA Demo Master > > > [INFO] JPADemo-spa > > > [INFO] JPADemo-web > > > [INFO] HTTP Authentication example > > > [INFO] lift-archetype-blank > > > [INFO] lift-archetype-basic > > > WAGON_VERSION: 1.0-beta-2 > > > [INFO] > > > > ---
[Lift] Re: Pain Building Lift
Thank you all for the responses. I try and build everything from source - and no it is not always easy but I like doing it. I sudo'd because I was in /usr/local/src - on my machine this did require sudo. I had already played around with lift using the maven commands and from the Eclipse IDE - this is well documented online and in the books I have bought. Did the hello world thing (from your book Derek, p.s. where are the Appendixes? Seriously I can't find them in the copy I paid for from Apress), then tried to build from source... And this is an example where an idiot compiling from source is evil - the problem was path related. Running java -version reports the 1.6 java I downloaded and installed from sun. Running mvn -version shows otherwise (on my mac now as I had this light bulb moment at home) myee-riris-macbook-pro:liftweb runt$ /opt/apache-maven-2.2.1/bin/mvn - version Apache Maven 2.2.1 (r801777; 2009-08-07 05:16:01+1000) Java version: 1.5.0_16 Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/ Home Default locale: en_US, platform encoding: MacRoman OS name: "mac os x" version: "10.5.8" arch: "i386" Family: "unix" Fixed the path to use my 1.6 java. Can now build successfully, and have been checking it out. Happiness++. My apologies for spamming you with my stupidity. Take pleasure in knowing said stupidity is immortalised on the web. On Sep 20, 6:06 am, mond ray mond wrote: > Ha - beat you ;-) > > [INFO] > > [INFO] BUILD SUCCESSFUL > [INFO] > > [INFO] Total time: 7 minutes 56 seconds > [INFO] Finished at: Sat Sep 19 22:02:30 CEST 2009 > [INFO] Final Memory: 47M/85M > [INFO] > > bash-3.2$ > > Must have been the 'clean'. My missus says I should tidy up more > often too! > > Thanks for the support > > Best regards > > Ray > > On Sep 19, 7:03 pm, David Pollak > wrote: > > > On my Mac OS X box: > > > pony:liftweb dpp$ mvn -version > > Maven version: 2.0.9 > > Java version: 1.6.0_15 > > OS name: "mac os x" version: "10.6" arch: "i386" Family: "mac" > > pony:liftweb dpp$ > > > Here's the build log: > > > pony:~ dpp$ cd tmp/ > > pony:tmp dpp$ git clone git://github.com/dpp/liftweb.git > > Initialized empty Git repository in /Users/dpp/tmp/liftweb/.git/ > > remote: Counting objects: 35122, done. > > remote: Compressing objects: 100% (12807/12807), done. > > remote: Total 35122 (delta 14036), reused 34877 (delta 13857) > > Receiving objects: 100% (35122/35122), 18.53 MiB | 907 KiB/s, done. > > Resolving deltas: 100% (14036/14036), done. > > pony:tmp dpp$ cd liftweb/ > > pony:liftweb dpp$ git tag > > 0.10 > > 0.9 > > 1.0 > > 1.0.1 > > 1.0.2 > > 1.1-M1 > > 1.1-M3 > > 1.1-M4 > > 1.1-M5 > > bonded_to_rev_121_baf_dpp > > buy_a_feature_svn_130 > > igo_1_0 > > innovation_games_oneline_1_0 > > osgi01 > > teched08_demo_jam > > pony:liftweb dpp$ git checout 1.0.2 > > git: 'checout' is not a git-command. See 'git --help'. > > > Did you mean this? > > checkout > > pony:liftweb dpp$ git checkout 1.0.2 > > Note: moving to '1.0.2' which isn't a local branch > > If you want to create a new branch from this checkout, you may do so > > (now or later) by using -b with the checkout command again. Example: > > git checkout -b > > HEAD is now at eb3efbd... [release] prepare 1.0.2 > > pony:liftweb dpp$ mvn clean install > > [INFO] Scanning for projects... > > [INFO] Reactor build order: > > [INFO] Lift > > [INFO] Lift Utils > > [INFO] Lift WebKit > > [INFO] Lift Mapper > > [INFO] Lift Machine > > [INFO] Lift Record > > [INFO] Lift Textile > > [INFO] Lift Facebook > > [INFO] Lift AMQP > > [INFO] Lift XMPP > > [INFO] Lift Widgets > > [INFO] Lift OpenID > > [INFO] Lift OAuth > > [INFO] Lift PayPal > > [INFO] Lift TestKit > > [INFO] Lift Core (full lift) > > [INFO] Lift Sites > > [INFO] Lift Example > > [INFO] Skittr Example > > [INFO] HelloLift example application > > [INFO] HelloDarwin tutorial application > > [INFO] JPA Demo Master > > [INFO] JPADemo-spa > > [INFO] JPADemo-web > > [INFO] HTTP Authentication example > > [INFO] lift-archetype-blank > > [INFO] lift-archetype-basic > > WAGON_VERSION: 1.0-beta-2 > > [INFO] > > > > [INFO] Building Lift > > [INFO] task-segment: [clean, install] > > [INFO] > > > > [INFO] artifact org.scala-tools:maven-scala-plugin: checking for updates > > from scala-tools.org > > [INFO] artifact org.apache.maven.plugins:maven-eclipse-plugin: checking for > > updates from scala-tools.org > > [INFO] [clean:clean] > > [INFO] [scala:compile {execution: default}] > > [INFO] Checking for multiple versions of scala > > [WARNING] No source files found. > > [INFO]
[Lift] Re: Pain Building Lift
Thank you all for the responses. I try and build everything from source - and no it is not always easy but I like doing it. I sudo'd because I was in /usr/local/src - on my machine this did require sudo. I had already played around with lift using the maven commands and from the Eclipse IDE - this is well documented online and in the books I have bought. Did the hello world thing (from your book Mr Chen-Becker, p.s. where are the Appendixes? Seriously I can't find them in the copy I paid for from Apress), then tried to build from source... And this is an example where an idiot compiling from source is evil - the problem was path related. Running java -version reports the 1.6 java I downloaded and installed from sun. Running mvn -version shows otherwise (on my mac now as I had this light bulb moment at home) myee-riris-macbook-pro:liftweb runt$ /opt/apache-maven-2.2.1/bin/mvn - version Apache Maven 2.2.1 (r801777; 2009-08-07 05:16:01+1000) Java version: 1.5.0_16 Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/ Home Default locale: en_US, platform encoding: MacRoman OS name: "mac os x" version: "10.5.8" arch: "i386" Family: "unix" Fixed the path to use my 1.6 java. Can now build successfully, and have been checking it out. Happiness++. My apologies for spamming you with my stupidity. Take pleasure in knowing said stupidity is immortalised on the web. On Sep 20, 6:06 am, mond ray mond wrote: > Ha - beat you ;-) > > [INFO] > > [INFO] BUILD SUCCESSFUL > [INFO] > > [INFO] Total time: 7 minutes 56 seconds > [INFO] Finished at: Sat Sep 19 22:02:30 CEST 2009 > [INFO] Final Memory: 47M/85M > [INFO] > > bash-3.2$ > > Must have been the 'clean'. My missus says I should tidy up more > often too! > > Thanks for the support > > Best regards > > Ray > > On Sep 19, 7:03 pm, David Pollak > wrote: > > > On my Mac OS X box: > > > pony:liftweb dpp$ mvn -version > > Maven version: 2.0.9 > > Java version: 1.6.0_15 > > OS name: "mac os x" version: "10.6" arch: "i386" Family: "mac" > > pony:liftweb dpp$ > > > Here's the build log: > > > pony:~ dpp$ cd tmp/ > > pony:tmp dpp$ git clone git://github.com/dpp/liftweb.git > > Initialized empty Git repository in /Users/dpp/tmp/liftweb/.git/ > > remote: Counting objects: 35122, done. > > remote: Compressing objects: 100% (12807/12807), done. > > remote: Total 35122 (delta 14036), reused 34877 (delta 13857) > > Receiving objects: 100% (35122/35122), 18.53 MiB | 907 KiB/s, done. > > Resolving deltas: 100% (14036/14036), done. > > pony:tmp dpp$ cd liftweb/ > > pony:liftweb dpp$ git tag > > 0.10 > > 0.9 > > 1.0 > > 1.0.1 > > 1.0.2 > > 1.1-M1 > > 1.1-M3 > > 1.1-M4 > > 1.1-M5 > > bonded_to_rev_121_baf_dpp > > buy_a_feature_svn_130 > > igo_1_0 > > innovation_games_oneline_1_0 > > osgi01 > > teched08_demo_jam > > pony:liftweb dpp$ git checout 1.0.2 > > git: 'checout' is not a git-command. See 'git --help'. > > > Did you mean this? > > checkout > > pony:liftweb dpp$ git checkout 1.0.2 > > Note: moving to '1.0.2' which isn't a local branch > > If you want to create a new branch from this checkout, you may do so > > (now or later) by using -b with the checkout command again. Example: > > git checkout -b > > HEAD is now at eb3efbd... [release] prepare 1.0.2 > > pony:liftweb dpp$ mvn clean install > > [INFO] Scanning for projects... > > [INFO] Reactor build order: > > [INFO] Lift > > [INFO] Lift Utils > > [INFO] Lift WebKit > > [INFO] Lift Mapper > > [INFO] Lift Machine > > [INFO] Lift Record > > [INFO] Lift Textile > > [INFO] Lift Facebook > > [INFO] Lift AMQP > > [INFO] Lift XMPP > > [INFO] Lift Widgets > > [INFO] Lift OpenID > > [INFO] Lift OAuth > > [INFO] Lift PayPal > > [INFO] Lift TestKit > > [INFO] Lift Core (full lift) > > [INFO] Lift Sites > > [INFO] Lift Example > > [INFO] Skittr Example > > [INFO] HelloLift example application > > [INFO] HelloDarwin tutorial application > > [INFO] JPA Demo Master > > [INFO] JPADemo-spa > > [INFO] JPADemo-web > > [INFO] HTTP Authentication example > > [INFO] lift-archetype-blank > > [INFO] lift-archetype-basic > > WAGON_VERSION: 1.0-beta-2 > > [INFO] > > > > [INFO] Building Lift > > [INFO] task-segment: [clean, install] > > [INFO] > > > > [INFO] artifact org.scala-tools:maven-scala-plugin: checking for updates > > from scala-tools.org > > [INFO] artifact org.apache.maven.plugins:maven-eclipse-plugin: checking for > > updates from scala-tools.org > > [INFO] [clean:clean] > > [INFO] [scala:compile {execution: default}] > > [INFO] Checking for multiple versions of scala > > [WARNING] No source files found. >
[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
Ha - beat you ;-) [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 7 minutes 56 seconds [INFO] Finished at: Sat Sep 19 22:02:30 CEST 2009 [INFO] Final Memory: 47M/85M [INFO] bash-3.2$ Must have been the 'clean'. My missus says I should tidy up more often too! Thanks for the support Best regards Ray On Sep 19, 7:03 pm, David Pollak wrote: > On my Mac OS X box: > > pony:liftweb dpp$ mvn -version > Maven version: 2.0.9 > Java version: 1.6.0_15 > OS name: "mac os x" version: "10.6" arch: "i386" Family: "mac" > pony:liftweb dpp$ > > Here's the build log: > > pony:~ dpp$ cd tmp/ > pony:tmp dpp$ git clone git://github.com/dpp/liftweb.git > Initialized empty Git repository in /Users/dpp/tmp/liftweb/.git/ > remote: Counting objects: 35122, done. > remote: Compressing objects: 100% (12807/12807), done. > remote: Total 35122 (delta 14036), reused 34877 (delta 13857) > Receiving objects: 100% (35122/35122), 18.53 MiB | 907 KiB/s, done. > Resolving deltas: 100% (14036/14036), done. > pony:tmp dpp$ cd liftweb/ > pony:liftweb dpp$ git tag > 0.10 > 0.9 > 1.0 > 1.0.1 > 1.0.2 > 1.1-M1 > 1.1-M3 > 1.1-M4 > 1.1-M5 > bonded_to_rev_121_baf_dpp > buy_a_feature_svn_130 > igo_1_0 > innovation_games_oneline_1_0 > osgi01 > teched08_demo_jam > pony:liftweb dpp$ git checout 1.0.2 > git: 'checout' is not a git-command. See 'git --help'. > > Did you mean this? > checkout > pony:liftweb dpp$ git checkout 1.0.2 > Note: moving to '1.0.2' which isn't a local branch > If you want to create a new branch from this checkout, you may do so > (now or later) by using -b with the checkout command again. Example: > git checkout -b > HEAD is now at eb3efbd... [release] prepare 1.0.2 > pony:liftweb dpp$ mvn clean install > [INFO] Scanning for projects... > [INFO] Reactor build order: > [INFO] Lift > [INFO] Lift Utils > [INFO] Lift WebKit > [INFO] Lift Mapper > [INFO] Lift Machine > [INFO] Lift Record > [INFO] Lift Textile > [INFO] Lift Facebook > [INFO] Lift AMQP > [INFO] Lift XMPP > [INFO] Lift Widgets > [INFO] Lift OpenID > [INFO] Lift OAuth > [INFO] Lift PayPal > [INFO] Lift TestKit > [INFO] Lift Core (full lift) > [INFO] Lift Sites > [INFO] Lift Example > [INFO] Skittr Example > [INFO] HelloLift example application > [INFO] HelloDarwin tutorial application > [INFO] JPA Demo Master > [INFO] JPADemo-spa > [INFO] JPADemo-web > [INFO] HTTP Authentication example > [INFO] lift-archetype-blank > [INFO] lift-archetype-basic > WAGON_VERSION: 1.0-beta-2 > [INFO] > > [INFO] Building Lift > [INFO] task-segment: [clean, install] > [INFO] > > [INFO] artifact org.scala-tools:maven-scala-plugin: checking for updates > from scala-tools.org > [INFO] artifact org.apache.maven.plugins:maven-eclipse-plugin: checking for > updates from scala-tools.org > [INFO] [clean:clean] > [INFO] [scala:compile {execution: default}] > [INFO] Checking for multiple versions of scala > [WARNING] No source files found. > [INFO] [scala:testCompile {execution: default}] > [INFO] Checking for multiple versions of scala > [WARNING] No source files found. > [INFO] [site:attach-descriptor] > [INFO] Preparing source:jar > [WARNING] Removing: jar from forked lifecycle, to prevent recursive > invocation. > [INFO] No goals needed for project - skipping > [INFO] [source:jar {execution: attach-sources}] > [INFO] [install:install] > [INFO] Installing /Users/dpp/tmp/liftweb/pom.xml to > /Users/dpp/.m2/repository/net/liftweb/lift/1.0.2/lift-1.0.2.pom > [INFO] > > [INFO] Building Lift Utils > [INFO] task-segment: [clean, install] > [INFO] > > [INFO] artifact net.sf.alchim:yuicompressor-maven-plugin: checking for > updates from scala-tools.org > [INFO] [clean:clean] > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [yuicompressor:compress {execution: default}] > [INFO] nb warnings: 0, nb errors: 0 > [INFO] artifact org.mortbay.jetty:jetty: checking for updates from > scala-tools.org > [INFO] artifact org.mortbay.jetty:jetty: checking for updates from > scala-tools.org.snapshots > [INFO] artifact org.mortbay.jetty:jetty: checking for updates from central > Downloading:http://scala-tools.org/repo-releases/org/mortbay/jetty/jetty/6.1.20/j... > Downloading:http://scala-tools.org/repo-snapshots/org/mortbay/jetty/jetty/6.1.20/... > Downloading:http://repo1.maven.org/maven2/org/mortbay/jetty/jetty/6.1.20/jetty-6 > 6K downloaded > Downloading:http://scala-tools.org/repo-re
[Lift] Re: Pain Building Lift
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_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] Re: Pain Building Lift
I'm running Snow Leopard, Maven 2.2.1. And I use git pull to keep track of the latest source. I use export MAVEN_OPTS="-Xmx1024m" and then mvn clean install I've been doing that for the past 3 month or so now. It's only broke twice for me. Both times had to do with new code, and both were resolved within hours of being reported. So as a whole, I've had very positive experience building from the src for Lift. On Sat, Sep 19, 2009 at 12:31 PM, 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_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 > > > > -- Omnem crede diem tibi diluxisse supremum. --~--~-~--~~~---~--~~ 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
On my Mac OS X box: pony:liftweb dpp$ mvn -version Maven version: 2.0.9 Java version: 1.6.0_15 OS name: "mac os x" version: "10.6" arch: "i386" Family: "mac" pony:liftweb dpp$ Here's the build log: pony:~ dpp$ cd tmp/ pony:tmp dpp$ git clone git://github.com/dpp/liftweb.git Initialized empty Git repository in /Users/dpp/tmp/liftweb/.git/ remote: Counting objects: 35122, done. remote: Compressing objects: 100% (12807/12807), done. remote: Total 35122 (delta 14036), reused 34877 (delta 13857) Receiving objects: 100% (35122/35122), 18.53 MiB | 907 KiB/s, done. Resolving deltas: 100% (14036/14036), done. pony:tmp dpp$ cd liftweb/ pony:liftweb dpp$ git tag 0.10 0.9 1.0 1.0.1 1.0.2 1.1-M1 1.1-M3 1.1-M4 1.1-M5 bonded_to_rev_121_baf_dpp buy_a_feature_svn_130 igo_1_0 innovation_games_oneline_1_0 osgi01 teched08_demo_jam pony:liftweb dpp$ git checout 1.0.2 git: 'checout' is not a git-command. See 'git --help'. Did you mean this? checkout pony:liftweb dpp$ git checkout 1.0.2 Note: moving to '1.0.2' which isn't a local branch If you want to create a new branch from this checkout, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b HEAD is now at eb3efbd... [release] prepare 1.0.2 pony:liftweb dpp$ mvn clean install [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] Lift [INFO] Lift Utils [INFO] Lift WebKit [INFO] Lift Mapper [INFO] Lift Machine [INFO] Lift Record [INFO] Lift Textile [INFO] Lift Facebook [INFO] Lift AMQP [INFO] Lift XMPP [INFO] Lift Widgets [INFO] Lift OpenID [INFO] Lift OAuth [INFO] Lift PayPal [INFO] Lift TestKit [INFO] Lift Core (full lift) [INFO] Lift Sites [INFO] Lift Example [INFO] Skittr Example [INFO] HelloLift example application [INFO] HelloDarwin tutorial application [INFO] JPA Demo Master [INFO] JPADemo-spa [INFO] JPADemo-web [INFO] HTTP Authentication example [INFO] lift-archetype-blank [INFO] lift-archetype-basic WAGON_VERSION: 1.0-beta-2 [INFO] [INFO] Building Lift [INFO]task-segment: [clean, install] [INFO] [INFO] artifact org.scala-tools:maven-scala-plugin: checking for updates from scala-tools.org [INFO] artifact org.apache.maven.plugins:maven-eclipse-plugin: checking for updates from scala-tools.org [INFO] [clean:clean] [INFO] [scala:compile {execution: default}] [INFO] Checking for multiple versions of scala [WARNING] No source files found. [INFO] [scala:testCompile {execution: default}] [INFO] Checking for multiple versions of scala [WARNING] No source files found. [INFO] [site:attach-descriptor] [INFO] Preparing source:jar [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation. [INFO] No goals needed for project - skipping [INFO] [source:jar {execution: attach-sources}] [INFO] [install:install] [INFO] Installing /Users/dpp/tmp/liftweb/pom.xml to /Users/dpp/.m2/repository/net/liftweb/lift/1.0.2/lift-1.0.2.pom [INFO] [INFO] Building Lift Utils [INFO]task-segment: [clean, install] [INFO] [INFO] artifact net.sf.alchim:yuicompressor-maven-plugin: checking for updates from scala-tools.org [INFO] [clean:clean] [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [yuicompressor:compress {execution: default}] [INFO] nb warnings: 0, nb errors: 0 [INFO] artifact org.mortbay.jetty:jetty: checking for updates from scala-tools.org [INFO] artifact org.mortbay.jetty:jetty: checking for updates from scala-tools.org.snapshots [INFO] artifact org.mortbay.jetty:jetty: checking for updates from central Downloading: http://scala-tools.org/repo-releases/org/mortbay/jetty/jetty/6.1.20/jetty-6.1.20.pom Downloading: http://scala-tools.org/repo-snapshots/org/mortbay/jetty/jetty/6.1.20/jetty-6.1.20.pom Downloading: http://repo1.maven.org/maven2/org/mortbay/jetty/jetty/6.1.20/jetty-6.1.20.pom 6K downloaded Downloading: http://scala-tools.org/repo-releases/org/mortbay/jetty/jetty-util/6.1.20/jetty-util-6.1.20.pom Downloading: http://scala-tools.org/repo-snapshots/org/mortbay/jetty/jetty-util/6.1.20/jetty-util-6.1.20.pom Downloading: http://repo1.maven.org/maven2/org/mortbay/jetty/jetty-util/6.1.20/jetty-util-6.1.20.pom 3K downloaded Downloading: http://scala-tools.org/repo-releases/com/ibm/icu/icu4j/2.6.1/icu4j-2.6.1.pom Downloading: http://scala-tools.org/repo-snapshots/com/ibm/icu/icu4j/2.6.1/icu4j-2.6.1.pom Downloading: http://repo1.maven.org/maven2/com/ibm/icu/icu4j/2.6.1/icu4j-2.6.1.pom 150b downloaded [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [scala:compile {execution: default}] [INFO] Checking for multiple versions of scala [INFO] Compiling 32 source files to /Users/dpp/tmp
[Lift] Re: Pain Building Lift
That it might be - but in my experience, building anything from source is not usually the path of least resistance and its why I suggest that pulling releases / snapshots from the maven repo is sooo much easier, for example: http://scala-tools.org/repo-releases/net/liftweb/lift-webkit/1.0.2/ Im currently only working with the main 1.1-SNAPSHOT branch, Derek is the one who has been doing the 1.0 maintenance releases so im not familiar with what might be wrong. However, the code in those maintenance releases is in 1.1-SNAPSHOT and that builds fine so we shouldn't have any problems from a project perspective (hudson is building no problem right now) Does that help? Cheers, Tim On 19 Sep 2009, at 17:31, 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_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] Re: Pain Building Lift
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? > I build from source at least 10 times a day. I've installed Maven (2.0.9 on most of my machines). I type "mvn clean install" and it always works. It's very important to do the clean step before the install step because if there's cruft sitting around in the target directories it could cause issues. > > 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 > > > > -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://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] Re: Pain Building Lift
First, you should not be doing sudo (Tim pointed this out). Nothing about Lift needs root. Second, there is a known issue with the OpenJDK compiling Lift sources. I've got it on my to-do list to look into it, but my to-do list is about a month long. On Fri, Sep 18, 2009 at 5:14 PM, 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. > > Reading http://wiki.liftweb.net/index.php/Source_code says the 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 > > > > -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://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
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-source 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_codesays the 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 -~--~~~~--~~--~--~---