Re: default-hibernate example

Raoul Pierre <[email protected]>
Newsgroups gmane.comp.java.keel.devel
Message-ID <[email protected]>
Shash,

When I do a "maven -Dgoal=jar:install multiproject:goal" from my 
$KEEL_HOME directory, I get an out of memory error:

===============================================================
C:\DEV\keel>maven -Dgoal=jar:install multiproject:goal
 [...]
jar:jar:
keel:version:
    [echo] Keel Maven Plugin - v1.2.15

keel:jar:
    [echo] Creating Keel xdoclet info to be included in jar
    [echo] Processing meta-info for java source in 
C:\DEV\keel\svc-cache-ehcache/src/java
    [collect-metainfo] Writing Info descriptors as property files (.meta).
    [collect-metainfo] Collecting service information.
+----------------------------------------
| Executing jar:install Cache Service - Excalibur implementation
| Memory: 26M/52M
+----------------------------------------

BUILD FAILED
File...... c:\dev\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly
Element... maven:reactor
Line...... 217
Column.... 9
java.lang.OutOfMemoryError
Total time: 5 minutes 6 seconds
Finished at: Fri Apr 08 09:58:21 CEST 2005
===============================================================

And this even if I set
MAVEN_OPTS=-Xmx512m

and in {home}/build.properties:
maven.multiproject.excludes=tool-xdoclet/project.xml,tool-maven-plugin/project.xml

If I set 
MAVEN_OPTS=-Xmx1024m

then maven can go up to:
===============================================================
[...]
build:start:

java:prepare-filesystem:
    [mkdir] Created dir: C:\DEV\keel\svc-cache-turbinecache\target\classes

java:compile:
    [echo] Compiling to C:\DEV\keel\svc-cache-turbinecache/target/classes
    [javac] Compiling 7 source files to 
C:\DEV\keel\svc-cache-turbinecache\target\classes
+----------------------------------------
| Executing jar:install JFreeChart Charting Service
| Memory: 26M/52M
+----------------------------------------
Tentative de tÚlÚchargement de jfreechart-0.9.20.jar.

BUILD FAILED
File...... c:\dev\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly
Element... maven:reactor
Line...... 217
Column.... 9
java.lang.OutOfMemoryError
Total time: 4 minutes 26 seconds
Finished at: Fri Apr 08 11:54:04 CEST 2005
===============================================================

I can't give more memory to maven so ...

Pierre





Sasvata (Shash) Chatterjee a écrit :

> Pierre,
>
>>
>> It seems that since the post of 27 march 2005, tool-config and 
>> tool-maven were merged in tool-maven-plugin. Do we still need to do a 
>> maven jar:install in them before  the maven plugin:install?
>
>
> You are right.  tool-config has been merged,  and you no longer need 
> to worry about it.  tool-maven *was* merged, but needed to resurrect 
> it since app-helm also has a dependency on it.  So, for the plugin 
> creation from CVS, you need a "maven jar:install" in keel-build, 
> tool-maven and then a "maven plugin:install" in tool-maven-plugin.
>
> Shash
>
> http://keelframework.org/documentation.shtml
> Keelgroup mailing list
> [email protected]
> http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
>
>
>




http://keelframework.org/documentation.shtml
Keelgroup mailing list
[email protected]
http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.