[Lift] Re: Build problems...
Hey Marc, This is very curious, as I too have the exact same OSX install with the same versions of maven and java. I just ran: mvn clean package install scala:doc and it processed the build no problem at all. I also tried: mvn -U clean install and that too worked. Have you got your maven opts set? export M2_HOME=/usr/local/apache-maven-2.0.9 export M2=$M2_HOME/bin export MAVEN_OPTS=-Xmx1024m -noverify Cheers, Tim On Feb 18, 12:05 am, Marc Boschma marc+lift...@boschma.cx wrote: On 18/02/2009, at 10:23 AM, Josh Suereth wrote: A workaround currently is to use the maven-scala-plugin 2.10- SNAPSHOT and add forkfalse/fork to the configuration of it. Since your integration tests are passing, I know this is working correctly for you (see src/it/testLotsOfJava/pom.xml for an example of using this). In the future, scalac is supposed to provide a workaround for command-line parameter length limits. Until that day, I've provided the above workaround. -Josh Just tried it with the forkfalse/fork Mac:liftweb marc$ mvn -U 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.scala-tools:maven-scala-plugin: checking for updates from central [INFO] snapshot org.scala-tools:maven-scala-plugin:2.10-SNAPSHOT: checking for updates from scala-tools.org [INFO] artifact org.apache.maven.plugins:maven-eclipse-plugin: checking for updates from scala-tools.org [INFO] artifact org.apache.maven.plugins:maven-eclipse-plugin: checking for updates from central [INFO] [clean:clean] [INFO] [scala:compile {execution: default}] [WARNING] you don't define org.scala-lang:scala-library as a dependency of the project [INFO] Checking for multiple versions of scala [WARNING] No source files found. [INFO] [scala:testCompile {execution: default}] [WARNING] you don't define org.scala-lang:scala-library as a dependency of the project [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/marc/src/lift/liftweb/pom.xml to /Users/ marc/.m2/repository/net/liftweb/lift/0.11-SNAPSHOT/lift-0.11- SNAPSHOT.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] artifact net.sf.alchim:yuicompressor-maven-plugin: checking for updates from central [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 [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [scala:compile {execution: default}] [INFO] suggestion: remove the scalaVersion from pom.xml [INFO] Checking for multiple versions of scala [INFO] Checking:org.scala-lang:scala-library:jar:2.7.3:compile to see if it's a mutliple of the scala-lib [INFO] org.scala-lang:scala-library:jar:2.7.3:compile has 0 transitive dependencies [INFO] Checking:org.slf4j:slf4j-api:jar:1.5.6:compile to see if it's a mutliple of the scala-lib [INFO] org.slf4j:slf4j-api:jar:1.5.6:compile has 0 transitive dependencies [INFO]
[Lift] Re: Build problems...
I'm not at my mac right now, but as of last night it was compilling fine on mac with the very latest master. What version of maven are you using? Might be a stupid question, but you have done a git pull to check your fully up to date? Cheers, Tim On Feb 17, 8:34 am, David Bernard david.bernard...@gmail.com wrote: Hi, I don't know Mac, there is a command line length limitation (as windows) and is it possible that the shell block the execution and return exit code = 139 (without message) ? which version of java do you have ? Sorry to not be able to help you more :( /davidB On 17/02/2009, at 3:35 PM, Josh Suereth wrote: Hm All the integration tests pass, perhaps you should try using the new maven-scala plugin (run mvn install on the maven-scala- plugin directory). You do *not* want to clear your .m2 directory after doing so. Then see if the new plugin fixes whatever issue is causing lift to break. The other thing is try the scala command- line directly and see if you get a useful error meessage. Once again, sorry I could not be more help! Same result with the built plugin... hmmm. Not a problem on the help side of things! lift applications build rather nicely. Just can't build lift itself :( Marc --~--~-~--~~~---~--~~ 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: Build problems...
Yep on the pull and even deleting the entire directory structure and a clone... Same result. Marc On 17/02/2009, at 8:21 PM, Tim Perrett wrote: I'm not at my mac right now, but as of last night it was compilling fine on mac with the very latest master. What version of maven are you using? Might be a stupid question, but you have done a git pull to check your fully up to date? Cheers, Tim On Feb 17, 8:34 am, David Bernard david.bernard...@gmail.com wrote: Hi, I don't know Mac, there is a command line length limitation (as windows) and is it possible that the shell block the execution and return exit code = 139 (without message) ? which version of java do you have ? Sorry to not be able to help you more :( /davidB On 17/02/2009, at 3:35 PM, Josh Suereth wrote: Hm All the integration tests pass, perhaps you should try using the new maven-scala plugin (run mvn install on the maven- scala- plugin directory). You do *not* want to clear your .m2 directory after doing so. Then see if the new plugin fixes whatever issue is causing lift to break. The other thing is try the scala command- line directly and see if you get a useful error meessage. Once again, sorry I could not be more help! Same result with the built plugin... hmmm. Not a problem on the help side of things! lift applications build rather nicely. Just can't build lift itself :( Marc --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---