[Lift] Re: Building Lift with scala 2.8.0
http://github.com/dpp/liftweb/tree/irc_wip_lift20/ On Dec 19, 4:15 pm, Channing Walton channingwal...@mac.com wrote: I would like to use Lift with scala 2.8.0 but need some helping building the branches. I've checked out the 280_port branch, but when I set the scala version to 2.8.0.Beta1-RC3 in the main pom, Lift doesn't compile. Either the specs tests fail because they have the wrong class signature or if I skip the tests I get: [INFO] Compiling 3 source files to /Users/channing/tmp/280_port/lift-base/lift-actor/target/classes /Users/channing/tmp/280_port/lift-base/lift-actor/src/main/scala/net/liftwe b/actor/LAFuture.scala:19: error: not found: value common import common._ I realise that this is all a work in progress so any help is appreciated. Channing -- View this message in context:http://old.nabble.com/Building-Lift-with-scala-2.8.0-tp26858625p26858... Sent from the liftweb mailing list archive at Nabble.com. -- You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to lift...@googlegroups.com. To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
[Lift] Re: building lift
that fixed it. thank you very much, On Mon, Jul 20, 2009 at 1:56 AM, Derek Chen-Beckerdchenbec...@gmail.com wrote: I've added in an exclusion to prevent this version of the lib from being pulled. We generally use the geronimo version of JEE libs due to a less restrictive license. Derek On Sat, Jul 18, 2009 at 8:00 PM, Ross Mellgren dri...@gmail.com wrote: It looks like the maven central repository only has the POM and not the JAR. Try adding this repository to your POM: repository idjava.net/id urlhttp://download.java.net/maven/2/url /repository Or manually downloading JTA and putting it in your jre/lib directory. -Ross On Jul 18, 2009, at 9:49 PM, Wilson MacGyver wrote: Hi, I git clone the lift source from git hub. then run mvn install to build it. It fails with Downloading: http://scala-tools.org/repo-releases/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar [INFO] Unable to find resource 'javax.transaction:jta:jar:1.0.1B' in repository scala-tools.org (http://scala-tools.org/repo-releases) Downloading: http://scala-tools.org/repo-snapshots/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar [INFO] Unable to find resource 'javax.transaction:jta:jar:1.0.1B' in repository scala-tools.org.snapshots (http://scala-tools.org/repo-snapshots) Downloading: http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar [INFO] Unable to find resource 'javax.transaction:jta:jar:1.0.1B' in repository central (http://repo1.maven.org/maven2) [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. Missing: -- 1) javax.transaction:jta:jar:1.0.1B is this intentional due to some license issue with the jta jar? Thanks, Mac -- Omnem crede diem tibi diluxisse supremum. -- 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: building lift
I've added in an exclusion to prevent this version of the lib from being pulled. We generally use the geronimo version of JEE libs due to a less restrictive license. Derek On Sat, Jul 18, 2009 at 8:00 PM, Ross Mellgren dri...@gmail.com wrote: It looks like the maven central repository only has the POM and not the JAR. Try adding this repository to your POM: repository idjava.net/id urlhttp://download.java.net/maven/2/url /repository Or manually downloading JTA and putting it in your jre/lib directory. -Ross On Jul 18, 2009, at 9:49 PM, Wilson MacGyver wrote: Hi, I git clone the lift source from git hub. then run mvn install to build it. It fails with Downloading: http://scala-tools.org/repo-releases/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar [INFO] Unable to find resource 'javax.transaction:jta:jar:1.0.1B' in repository scala-tools.org (http://scala-tools.org/repo-releases) Downloading: http://scala-tools.org/repo-snapshots/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar [INFO] Unable to find resource 'javax.transaction:jta:jar:1.0.1B' in repository scala-tools.org.snapshots (http://scala-tools.org/repo-snapshots) Downloading: http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar [INFO] Unable to find resource 'javax.transaction:jta:jar:1.0.1B' in repository central (http://repo1.maven.org/maven2) [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. Missing: -- 1) javax.transaction:jta:jar:1.0.1B is this intentional due to some license issue with the jta jar? Thanks, Mac -- 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: Building lift on Windows
I can't get it to build on Windows XP. I get a different error though. YUI compressor complains about some invalid character at the start of some JavaScript file (which I don't see visible in the file). Unfortunately, I do not have the exact error available right now. On Apr 30, 10:41 am, Marius Danciu marius.dan...@gmail.com wrote: Folks, Are you able to build Lift on Windows? ... I'm always getting on my laptop the attached output (haven't tried it home though) Br's, Marius out.txt 315KViewDownload --~--~-~--~~~---~--~~ 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: building lift from source --- warnings/errors expected?
Lee, The build error on Macs problem is gone and we've been working on reducing the number of warnings. Thanks, David On Fri, Jan 30, 2009 at 7:36 PM, mighdoll leemighd...@gmail.com wrote: Hey folks, I'm trying to build the lift sources. It mostly works, but I see more errors and warnings than I expected. I'm wondering if my configuration is set up correctly. Or do you see errors/warnings too? Thx. mvn jetty:run in liftweb/sites/example seems to work. I've tried mvn clean, and deleting my .m2/repository. I tried mvn jetty:run in hellodarwin and got: ERROR - Failed to Boot net.liftweb.sitemap.SiteMapException: Location Hello1.1 defined twice Loc(Hello1.1, function, LinkText(function), List()) and Loc (Hello1.1, function, LinkText(function), List()) at net.liftweb.sitemap.SiteMap.addLoc(SiteMap.scala:36) --- Here are a few of the errors/warning when I try mvn install: Tests in error: wiki edit HomePage should not have HomePage content define wiki edit HomePage should allow edition of HomePage Tests run: 2, Failures: 0, Errors: 2, Skipped: 0 -- [INFO] suggestion: remove the scalaVersion from pom.xml [ERROR] /home/lee/tools/liftweb/lift-widgets/src/main/scala -- [WARNING] .../target/classes/toserve/tablesorter/ jquery.tablesorter.js:line -1:column -1:Try to use a single 'var' statement per scope. -- [WARNING] /home/lee/tools/liftweb/sites/hellolift/src/main/scala/com/ hellolift/comet/DynamicBlogView.scala:35: warning: match is not exhaustive! [WARNING] missing combination Empty [WARNING] missing combinationFailure [WARNING] [WARNING] name match { [WARNING] ^ [WARNING] warning: there were unchecked warnings; re-run with - unchecked for details [WARNING] two warnings found -- -- 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: building lift from source --- warnings/errors expected?
On Fri, Jan 30, 2009 at 7:36 PM, mighdoll leemighd...@gmail.com wrote: Hey folks, I'm trying to build the lift sources. It mostly works, but I see more errors and warnings than I expected. I'm wondering if my configuration is set up correctly. Or do you see errors/warnings too? Thx. mvn jetty:run in liftweb/sites/example seems to work. I've tried mvn clean, and deleting my .m2/repository. I tried mvn jetty:run in hellodarwin and got: ERROR - Failed to Boot net.liftweb.sitemap.SiteMapException: Location Hello1.1 defined twice Loc(Hello1.1, function, LinkText(function), List()) and Loc (Hello1.1, function, LinkText(function), List()) at net.liftweb.sitemap.SiteMap.addLoc(SiteMap.scala:36) --- Here are a few of the errors/warning when I try mvn install: Tests in error: wiki edit HomePage should not have HomePage content define wiki edit HomePage should allow edition of HomePage Tests run: 2, Failures: 0, Errors: 2, Skipped: 0 -- As of yesterday, there's been a failure on Macs. We can't reproduce it on Windows or Linux. My Mac's in the repair shop. DavidB is a Linux user, so it'll be a few days before we can address this particular problem. :-( [INFO] suggestion: remove the scalaVersion from pom.xml [ERROR] /home/lee/tools/liftweb/lift-widgets/src/main/scala -- [WARNING] .../target/classes/toserve/tablesorter/ jquery.tablesorter.js:line -1:column -1:Try to use a single 'var' statement per scope. -- [WARNING] /home/lee/tools/liftweb/sites/hellolift/src/main/scala/com/ hellolift/comet/DynamicBlogView.scala:35: warning: match is not exhaustive! [WARNING] missing combination Empty [WARNING] missing combinationFailure [WARNING] [WARNING] name match { [WARNING] ^ [WARNING] warning: there were unchecked warnings; re-run with - unchecked for details [WARNING] two warnings found -- -- 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 -~--~~~~--~~--~--~---