Thanks a lot. It's ok like that.

[EMAIL PROTECTED] a écrit :
Did you try adding command line args via the "Edit Configuration and launch" dialog in Eclipse? Right-click on the project, select "Run As", select "Maven Build", click on the "JRE" tab, enter VM args (-Xms1000000M for e.g.)

On Feb 1, 2008 6:22 AM, Priscille Durville <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Hi,
    While running goal "package" from within Eclipse via the Maven 2
    plugin,
    I get a java heap space error. (My project has many dependencies).
    So I try to increase the java memory size by :
    - setting java options in eclipse.ini => no effect.
    - setting the MAVEN_OPTS environment variable => no effect
    When I try to package my project directly from the command line : it
    works fine (because MAVEN_OPTS variable is taken into account).
    So, how can I do in order to increase the memory size while running
    maven from within Eclipse?
    Thanks a lot.

    ---------------------------------------------------------------------
    To unsubscribe from this list please visit:

       http://xircles.codehaus.org/manage_email



--

---------------------------------------------
Priscille DURVILLE

INRIA
Equipe Edelweiss (ex Acacia)
Unité de Recherche Sophia-Antipolis
2004 route des Lucioles - B.P. 93
06902 Sophia-Antipolis Cedex
FRANCE

E-mail : [EMAIL PROTECTED]
Tél: 04-92-38-50-23
Fax: 04-92-38-77-83
---------------------------------------------

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to