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 <run...@gmail.com> 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 <mondraym...@gmail.com> 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 <feeder.of.the.be...@gmail.com> > > 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 <new_branch_name> > > > 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-releases/org/mortbay/jetty/jetty-util/6.1... > > > Downloading: > http://scala-tools.org/repo-snapshots/org/mortbay/jetty/jetty-util/6.... > > > Downloading: > http://repo1.maven.org/maven2/org/mortbay/jetty/jetty-util/6.1.20/jet... > > > 3K downloaded > > > Downloading: > http://scala-tools.org/repo-releases/com/ibm/icu/icu4j/2.6.1/icu4j-2.... > > > Downloading: > http://scala-tools.org/repo-snapshots/com/ibm/icu/icu4j/2.6.1/icu4j-2... > > > 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/liftweb/lift-util/target/classes > > > [INFO] use java command with args in file forced : false > > > [INFO] [resources:testResources] > > > > > <snip> > > > > > [INFO] [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] [INFO] Building sample > > > [INFO] [INFO] task-segment: [package] > > > [INFO] [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] [INFO] [resources:resources] > > > [INFO] [INFO] Using default encoding to copy filtered resources. > > > [INFO] [INFO] [yuicompressor:compress {execution: default}] > > > [INFO] [INFO] nb warnings: 0, nb errors: 0 > > > [INFO] [INFO] [compiler:compile] > > > [INFO] [INFO] Nothing to compile - all classes are up to date > > > [INFO] [INFO] [scala:compile {execution: default}] > > > [INFO] [INFO] Checking for multiple versions of scala > > > [INFO] [INFO] Compiling 3 source files to > > > > /Users/dpp/tmp/liftweb/lift-archetype-basic/target/sample/target/classes > > > [INFO] [INFO] use java command with args in file forced : false > > > [INFO] [INFO] [resources:testResources] > > > [INFO] [INFO] Using default encoding to copy filtered resources. > > > [INFO] [INFO] [compiler:testCompile] > > > [INFO] [INFO] Nothing to compile - all classes are up to date > > > [INFO] [INFO] [scala:testCompile {execution: default}] > > > [INFO] [INFO] Checking for multiple versions of scala > > > [INFO] [INFO] Compiling 3 source files to > > > > /Users/dpp/tmp/liftweb/lift-archetype-basic/target/sample/target/test-classes > > > [INFO] [INFO] use java command with args in file forced : false > > > [INFO] [INFO] [surefire:test] > > > [INFO] [INFO] Surefire report directory: > > > > /Users/dpp/tmp/liftweb/lift-archetype-basic/target/sample/target/surefire-reports > > > [INFO] > > > [INFO] ------------------------------------------------------- > > > [INFO] T E S T S > > > [INFO] ------------------------------------------------------- > > > [INFO] Running test.AppTest > > > [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: > 0.56 > > > sec > > > [INFO] > > > [INFO] Results : > > > [INFO] > > > [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0 > > > [INFO] > > > [INFO] [INFO] [war:war] > > > [INFO] [INFO] Packaging webapp > > > [INFO] [INFO] Assembling webapp[sample] in > > > > [/Users/dpp/tmp/liftweb/lift-archetype-basic/target/sample/target/sample-0.1] > > > [INFO] [INFO] Processing war project > > > [INFO] [INFO] Webapp assembled in[1170 msecs] > > > [INFO] [INFO] Building war: > > > > /Users/dpp/tmp/liftweb/lift-archetype-basic/target/sample/target/sample-0.1.war > > > [INFO] [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] [INFO] BUILD SUCCESSFUL > > > [INFO] [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] [INFO] Total time: 23 seconds > > > [INFO] [INFO] Finished at: Sat Sep 19 10:00:13 PDT 2009 > > > [INFO] [INFO] Final Memory: 15M/62M > > > [INFO] [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] > > > [INFO] > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] Reactor Summary: > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] Lift .................................................. SUCCESS > > > [8.013s] > > > [INFO] Lift Utils ............................................ SUCCESS > > > [1:24.935s] > > > [INFO] Lift WebKit ........................................... SUCCESS > > > [1:03.291s] > > > [INFO] Lift Mapper ........................................... SUCCESS > > > [1:05.730s] > > > [INFO] Lift Machine .......................................... 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 > > > > ... > > > > read more ยป > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---