Re: [maven-and-scala] [Lift] Build problems...

2009-02-17 Thread David Bernard
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
-~--~~~~--~~--~--~---



Re: [maven-and-scala] [Lift] Build problems...

2009-02-17 Thread Josh Suereth
If it's a command-line length limitation the new plugin has a configuration
parameter you can set called fork which is by default true.


plugins
   ...
   plugin
   grouporg.scala-tools/group
   artifactIdmaven-scala-plugin/artifactId
configuration
   forkfalse/fork
/configuration
   /plugin

Hope that helps! Anyway, as the command line itself is giving a segmentation
fault, I'll look into what could be causing that on a mac, but It appears
rather strange (especially since the plugin's integration tests are
passing).

-Josh


On Tue, Feb 17, 2009 at 3:34 AM, David Bernard
david.bernard...@gmail.comwrote:

 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
-~--~~~~--~~--~--~---



Re: [maven-and-scala] [Lift] Build problems...

2009-02-17 Thread Marc Boschma
It does sound like a command length issue... here are some  
environmental info

Mac:~ marc$ mvn -v
Maven version: 2.0.9
Java version: 1.5.0_16
OS name: mac os x version: 10.5.6 arch: i386 Family: unix
Mac:~ marc$ which scala
/usr/local/bin/scala
Mac:~ marc$ scala -version
Scala code runner version 2.7.3.final -- Copyright 2002-2009, LAMP/EPFL
Mac:~ marc$ which java
/usr/bin/java
Mac:~ marc$ java -version
java version 1.5.0_16
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16- 
b06-284)
Java HotSpot(TM) Client VM (build 1.5.0_16-133, mixed mode)
Mac:~ marc$ env
MANPATH=/usr/local/git/man:/usr/local/man:/usr/share/man:/usr/local/ 
share/man:/usr/X11/man:/usr/local/git/man:/Library/TeX/ 
Distributions/.DefaultTeX/Contents/Man
TERM_PROGRAM=Apple_Terminal
TERM=xterm-color
SHELL=/bin/bash
TMPDIR=/var/folders/l8/l8BwvqvYFaqSqWdyxJt58k+++TI/-Tmp-/
Apple_PubSub_Socket_Render=/tmp/launch-8L93U5/Render
TERM_PROGRAM_VERSION=240
USER=marc
COMMAND_MODE=unix2003
SSH_AUTH_SOCK=/tmp/launch-Jw9hjj/Listeners
__CF_USER_TEXT_ENCODING=0x1F5:0:0
PATH=/usr/local/git/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/ 
usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/ 
bin:/opt/local/bin:/usr/local/git/bin:/usr/texbin:/Users/marc/scala/ 
bin:/usr/local/graphviz/bin:/opt/neko:/opt/haxe
PWD=/Users/marc
JAVA_HOME=/Library/Java/Home
LANG=en_AU.UTF-8
DAZSTUDIOVERSION=17236230
SHLVL=1
HOME=/Users/marc
LOGNAME=marc
DISPLAY=/tmp/launch-7hYHhj/:0
SECURITYSESSIONID=b1eb60
DAZSTUDIO=/Applications/DAZStudio
_=/usr/bin/env
Mac:~ marc$



On 17/02/2009, at 7:34 PM, David Bernard 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
-~--~~~~--~~--~--~---



Re: [maven-and-scala] [Lift] Build problems...

2009-02-16 Thread Marc Boschma

On 17/02/2009, at 3:18 PM, Josh Suereth wrote:

 Marc, Also try running the scalac command directly.  Here's what  
 Maven is trying to run on your machine:

The result is:

Mac:liftweb marc$ sh cmd
cmd: line 1: 10785 Segmentation fault  /System/Library/Frameworks/ 
JavaVM.framework/Versions/1.5.0/Home/bin/java -classpath /Users/ 
marc/.m2/repository/org/scala-lang/scala-compiler/2.7.3/scala- 
compiler-2.7.3.jar:/Users/marc/.m2/repository/org/scala-lang/scala- 
library/2.7.3/scala-library-2.7.3.jar -Xbootclasspath/a:/Users/ 
marc/.m2/repository/org/scala-lang/scala-library/2.7.3/scala- 
library-2.7.3.jar -Xmx1024m scala.tools.nsc.Main -deprecation -Xno- 
varargs-conversion -classpath /Users/marc/src/lift/liftweb/lift-util/ 
target/classes:/Users/marc/.m2/repository/org/scala-lang/scala-library/ 
2.7.3/scala-library-2.7.3.jar:/Users/marc/.m2/repository/org/slf4j/ 
slf4j-api/1.5.6/slf4j-api-1.5.6.jar:/Users/marc/.m2/repository/log4j/ 
log4j/1.2.14/log4j-1.2.14.jar:/Users/marc/.m2/repository/javax/servlet/ 
servlet-api/2.5/servlet-api-2.5.jar:/Users/marc/.m2/repository/javax/ 
mail/mail/1.4/mail-1.4.jar:/Users/marc/.m2/repository/javax/activation/ 
activation/1.1/activation-1.1.jar:/Users/marc/.m2/repository/commons- 
httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar:/Users/ 
marc/.m2/repository/commons-logging/commons-logging/1.0.4/commons- 
logging-1.0.4.jar:/Users/marc/.m2/repository/commons-codec/commons- 
codec/1.3/commons-codec-1.3.jar:/Users/marc/.m2/repository/commons- 
fileupload/commons-fileupload/1.2.1/commons-fileupload-1.2.1.jar:/ 
Users/marc/.m2/repository/commons-collections/commons-collections/ 
3.2.1/commons-collections-3.2.1.jar -d /Users/marc/src/lift/liftweb/ 
lift-util/target/classes /Users/marc/src/lift/liftweb/lift-util/src/ 
main/scala/net/liftweb/util/ActorPing.scala /Users/marc/src/lift/ 
liftweb/lift-util/src/main/scala/net/liftweb/util/ 
BasicTypesHelpers.scala /Users/marc/src/lift/liftweb/lift-util/src/ 
main/scala/net/liftweb/util/BindHelpers.scala /Users/marc/src/lift/ 
liftweb/lift-util/src/main/scala/net/liftweb/util/Box.scala /Users/ 
marc/src/lift/liftweb/lift-util/src/main/scala/net/liftweb/util/ 
ClassHelpers.scala /Users/marc/src/lift/liftweb/lift-util/src/main/ 
scala/net/liftweb/util/CodeHelpers.scala /Users/marc/src/lift/liftweb/ 
lift-util/src/main/scala/net/liftweb/util/CombParserHelpers.scala / 
Users/marc/src/lift/liftweb/lift-util/src/main/scala/net/liftweb/util/ 
ControlHelpers.scala /Users/marc/src/lift/liftweb/lift-util/src/main/ 
scala/net/liftweb/util/CSSHelpers.scala /Users/marc/src/lift/liftweb/ 
lift-util/src/main/scala/net/liftweb/util/Currency.scala /Users/marc/ 
src/lift/liftweb/lift-util/src/main/scala/net/liftweb/util/ 
HeadHelper.scala /Users/marc/src/lift/liftweb/lift-util/src/main/scala/ 
net/liftweb/util/Helpers.scala /Users/marc/src/lift/liftweb/lift-util/ 
src/main/scala/net/liftweb/util/HttpHelpers.scala /Users/marc/src/lift/ 
liftweb/lift-util/src/main/scala/net/liftweb/util/IOHelpers.scala / 
Users/marc/src/lift/liftweb/lift-util/src/main/scala/net/liftweb/util/ 
JSON.scala /Users/marc/src/lift/liftweb/lift-util/src/main/scala/net/ 
liftweb/util/KeyedCache.scala /Users/marc/src/lift/liftweb/lift-util/ 
src/main/scala/net/liftweb/util/Lazy.scala /Users/marc/src/lift/ 
liftweb/lift-util/src/main/scala/net/liftweb/util/LD.scala /Users/marc/ 
src/lift/liftweb/lift-util/src/main/scala/net/liftweb/util/ 
ListHelpers.scala /Users/marc/src/lift/liftweb/lift-util/src/main/ 
scala/net/liftweb/util/LoanWrapper.scala /Users/marc/src/lift/liftweb/ 
lift-util/src/main/scala/net/liftweb/util/Log.scala /Users/marc/src/ 
lift/liftweb/lift-util/src/main/scala/net/liftweb/util/LRU.scala / 
Users/marc/src/lift/liftweb/lift-util/src/main/scala/net/liftweb/util/ 
Mailer.scala /Users/marc/src/lift/liftweb/lift-util/src/main/scala/net/ 
liftweb/util/NamedPartialFunction.scala /Users/marc/src/lift/liftweb/ 
lift-util/src/main/scala/net/liftweb/util/PCDataMarkupParser.scala / 
Users/marc/src/lift/liftweb/lift-util/src/main/scala/net/liftweb/util/ 
Props.scala /Users/marc/src/lift/liftweb/lift-util/src/main/scala/net/ 
liftweb/util/RE.scala /Users/marc/src/lift/liftweb/lift-util/src/main/ 
scala/net/liftweb/util/SecurityHelpers.scala /Users/marc/src/lift/ 
liftweb/lift-util/src/main/scala/net/liftweb/util/Slf4jLog.scala / 
Users/marc/src/lift/liftweb/lift-util/src/main/scala/net/liftweb/util/ 
StringHelpers.scala /Users/marc/src/lift/liftweb/lift-util/src/main/ 
scala/net/liftweb/util/ThreadGlobal.scala /Users/marc/src/lift/liftweb/ 
lift-util/src/main/scala/net/liftweb/util/TimeHelpers.scala
Mac:liftweb marc$


No core is dumped, that I can find...

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 

[Lift] Build problems...

2009-02-10 Thread Marc Boschma
I just removed my maven repository in ~/.m2 , git clone git:// 
github.com/dpp/liftweb.git

and

Mac:liftweb marc$ mvn -e -U clean install
+ Error stacktraces are turned on.
[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] 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] Deleting directory /Users/marc/src/lift/liftweb/target
[INFO] [scala:compile {execution: default}]
[WARNING] you don't define org.scala-lang:scala-library as a  
dependency of the project
[ERROR] /Users/marc/src/lift/liftweb/src/main/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
[ERROR] /Users/marc/src/lift/liftweb/src/test/scala
[ERROR] /Users/marc/src/lift/liftweb/src/test/scala/../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] Deleting directory /Users/marc/src/lift/liftweb/lift-util/target
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [yuicompressor:compress {execution: default}]
[INFO] nb warnings: 0, nb errors: 0
[INFO] snapshot org.specs:specs:1.4.3-SNAPSHOT: checking for updates  
from scala-tools.org
[INFO] snapshot org.specs:specs:1.4.3-SNAPSHOT: checking for updates  
from scala-tools.org.snapshots
[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
[ERROR] /Users/marc/src/lift/liftweb/lift-util/src/main/scala
[INFO] Compiling 32 source files to /Users/marc/src/lift/liftweb/lift- 
util/target/classes
[INFO]  

[ERROR] BUILD FAILURE
[INFO]  

[INFO] command line returned non-zero value:139
[INFO]  

[INFO] Trace
org.apache.maven.BuildFailureException: command line returned non-zero  
value:139
at  
org 
.apache 
.maven 
.lifecycle 
.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java: 
579)
at  
org 
.apache 
.maven 
.lifecycle 
.DefaultLifecycleExecutor 
.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
at  
org 
.apache 
.maven 
.lifecycle 
.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
at  
org 
.apache 
.maven 
.lifecycle 
.DefaultLifecycleExecutor 
.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
at  
org 
.apache 
.maven 
.lifecycle 
.DefaultLifecycleExecutor