[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 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, , LinkText(), List()) and Loc > (Hello1.1, , LinkText(), 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 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, , LinkText(), List()) and Loc > (Hello1.1, , LinkText(), 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 -~--~~~~--~~--~--~---
[Lift] Re: building lift from source --- warnings/errors expected?
Lee, The hellodarwin example has no maintainer. I'll look into the problem can check in some fixed code. I'll also look into some of the warnings. Thanks, David On Fri, Jan 30, 2009 at 7:36 PM, mighdoll 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, , LinkText(), List()) and Loc > (Hello1.1, , LinkText(), 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 -~--~~~~--~~--~--~---