[Lift] Failing to build the examples :-(

2008-11-20 Thread Paul Butcher

I'm sure that I'm missing something very basic here, but I've no idea
what it is. I've downloaded the latest source and run mvn install
successfully. When I try to run mvn site, however, I get the
following:

 [WARNING] Unable to process class 
 com/ibm/icu/impl/data/LocaleElements_zh__PINYIN.class in JarAnalyzer File 
 /Users/paul/.m2/repository/com/ibm/icu/icu4j/2.6.1/icu4j-2.6.1.jar
 org.apache.bcel.classfile.ClassFormatException: Invalid byte tag in constant 
 pool: 60

It then goes on to report an out of memory error, but I don't know if
that's significant?

I've tried blowing away my .m2 directory and trying again, with no
luck. Here's some (I hope!) relevant info about my setup:

 Pauls-Computer:liftweb paul$ git show
 commit fc12329cf39bcb1abb837d9724ec22ace9507b63
 Merge: 02169a3... 8e3a2d5...
 Author: danciu [EMAIL PROTECTED](none)
 Date:   Thu Nov 20 12:20:11 2008 +0200

 Merge branch 'master' of [EMAIL PROTECTED]:dpp/liftweb

 Pauls-Computer:liftweb paul$ mvn -version
 Maven version: 2.0.9
 Java version: 1.5.0_16
 OS name: mac os x version: 10.5.5 arch: i386 Family: unix

What am I missing?

Thanks in advance for your help,

Paul.

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: scala plugin with lift in netbeans

2008-11-20 Thread TylerWeir

I've had a good experience with the jVi plugin: http://jvi.sourceforge.net/

I've only played with it so far, but if you're a long time Vi(m) user,
it will make moving to NetBeans a lot easier.

On Nov 19, 9:02 pm, David Pollak [EMAIL PROTECTED]
wrote:
 On Wed, Nov 19, 2008 at 3:48 PM, Charles F. Munat [EMAIL PROTECTED] wrote:



  Beauty.

  Thanks. Any plugins you recommend?

 I just use Maven and Scala... no need for anything else.

  Tips and tricks?

 Don't use emacs mode... it's less than optimal. :-)





  Chas.

  David Pollak wrote:
       * Download NetBeans 6.5
       * Install
       * Start
       * Open Tools - Plugins
       * Add

 http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBu...
         to the update centers (seehttp://wiki.netbeans.org/Scalafor more
         info)
       * On the available plugins tab, select the Scala plugins and Maven
       * NB will restart
       * Open any Maven-based Lift project and it's ready to be edited, etc.

   On Wed, Nov 19, 2008 at 1:43 PM, Charles F. Munat [EMAIL PROTECTED]
   mailto:[EMAIL PROTECTED] wrote:

       Hey David,

       Any chance you could post something for those of us unfamiliar with
       NetBeans on how to import current Lift projects into NB 6.5 and what
       makes it rock the universe? I'd love to switch over from TextMate if
  it
       will work, but I'm not sure how to go about it.

       Chas.

   --
   Lift, the simply functional web frameworkhttp://liftweb.net
   Collaborative Task Managementhttp://much4.us
   Follow me:http://twitter.com/dpp
   Git some:http://github.com/dpp

 --
 Lift, the simply functional web frameworkhttp://liftweb.net
 Collaborative Task Managementhttp://much4.us
 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Failing to build the examples :-(

2008-11-20 Thread Paul Butcher

On Nov 20, 2:00 pm, David Pollak [EMAIL PROTECTED]
wrote:
 When you run out of memory, that's the end of a given job.  How much RAM is
 in your machine?

As much as will physically fit (3G).

Here's a slightly cut-down version of the end of the Maven output:

 [WARNING] Unable to process class 
 com/ibm/icu/impl/data/LocaleElements_zh__PINYIN.class in JarAnalyzer File 
 /Users/paul/.m2/repository/com/ibm/icu/icu4j/2.6.1/icu4j-2.6.1.jar
 org.apache.bcel.classfile.ClassFormatException: Invalid byte tag in constant 
 pool: 60
   at org.apache.bcel.classfile.Constant.readConstant(Constant.java:146)
 ...
   at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
 [INFO] 
 
 [ERROR] FATAL ERROR
 [INFO] 
 
 [INFO] Java heap space
 [INFO] 
 
 [INFO] Trace
 java.lang.OutOfMemoryError: Java heap space
   at java.lang.String.init(String.java:208)
 ...
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 [INFO] 
 
 [INFO] Total time: 51 seconds
 [INFO] Finished at: Thu Nov 20 14:23:25 GMT 2008
 [INFO] Final Memory: 36M/63M
 [INFO] 
 

Paul.

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Failing to build the examples :-(

2008-11-20 Thread David Pollak
On Thu, Nov 20, 2008 at 6:26 AM, Paul Butcher [EMAIL PROTECTED] wrote:


 On Nov 20, 2:00 pm, David Pollak [EMAIL PROTECTED]
 wrote:
  When you run out of memory, that's the end of a given job.  How much RAM
 is
  in your machine?

 As much as will physically fit (3G).


Linux (what distro and version)?
Mac OS X?




 Here's a slightly cut-down version of the end of the Maven output:

  [WARNING] Unable to process class
 com/ibm/icu/impl/data/LocaleElements_zh__PINYIN.class in JarAnalyzer File
 /Users/paul/.m2/repository/com/ibm/icu/icu4j/2.6.1/icu4j-2.6.1.jar
  org.apache.bcel.classfile.ClassFormatException: Invalid byte tag in
 constant pool: 60
at
 org.apache.bcel.classfile.Constant.readConstant(Constant.java:146)
  ...
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
  [INFO]
 
  [ERROR] FATAL ERROR
  [INFO]
 
  [INFO] Java heap space
  [INFO]
 
  [INFO] Trace
  java.lang.OutOfMemoryError: Java heap space
at java.lang.String.init(String.java:208)
  ...
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  [INFO]
 
  [INFO] Total time: 51 seconds
  [INFO] Finished at: Thu Nov 20 14:23:25 GMT 2008
  [INFO] Final Memory: 36M/63M
  [INFO]
 

 Paul.

 



-- 
Lift, the simply functional web framework http://liftweb.net
Collaborative Task Management http://much4.us
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Failing to build the examples :-(

2008-11-20 Thread Paul Butcher

On Nov 20, 2:32 pm, David Pollak [EMAIL PROTECTED]
wrote:
 Linux (what distro and version)?
 Mac OS X?

Mac OS X 10.5.5 (the latest version).

Paul.

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Failing to build the examples :-(

2008-11-20 Thread Paul Butcher

On Nov 20, 2:31 pm, David Pollak [EMAIL PROTECTED]
wrote:
 I just did a successful build on my Linux machine with 3GB of RAM (I got the
 bcel format warning)

Ah - so the error is the out of memory error? The format warning is
just a warning that I don't need to worry about?

Sorry - I had assumed that the bcel issue was the root cause and the
out of memory error a problem caused by it.

Paul.

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: DB transactions - how?

2008-11-20 Thread Joachim A.

David,
thanks a lot for your help. The code works perfectly.

Joachim

On 17 Nov., 05:45, David Pollak [EMAIL PROTECTED]
wrote:
 Joachim,

 Many moons ago, Lift automatically created a JDBC transaction when it
 started handling an HTTP request and committed/released the connection at
 the end of the request.  I don't know where that code went. :-(

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Failing to build the examples :-(

2008-11-20 Thread David Pollak
On Thu, Nov 20, 2008 at 6:44 AM, Paul Butcher [EMAIL PROTECTED] wrote:


 On Nov 20, 2:31 pm, David Pollak [EMAIL PROTECTED]
 wrote:
  I just did a successful build on my Linux machine with 3GB of RAM (I got
 the
  bcel format warning)

 Ah - so the error is the out of memory error? The format warning is
 just a warning that I don't need to worry about?

 Sorry - I had assumed that the bcel issue was the root cause and the
 out of memory error a problem caused by it.


I ran a compilation on my MacBook Pro (10.5.5 with 2GB of RAM)

Maybe someone on the list who has a Mac and knows a fair amount about Maven
can lend some insight on how to increase the default heap size for the Maven
tasks.




 Paul.

 



-- 
Lift, the simply functional web framework http://liftweb.net
Collaborative Task Management http://much4.us
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---