Hi.

I've searched this problem on Internet and looks that is a memory problem running maven. Set the a higher value for the maximum heap space for the build by setting or extending the MAVEN_OPTS environment variable.

Regards,
Jorge.

On 08/03/2010 02:11 PM, luca bianconi wrote:
Hi Jorge/,/

sorry of bothering you again,
I've tried to compile it again, as usual according to documentation [1], but I've got this new error. I'm compiling the version at v2_0_0_prep/build as described in documentation.

/[artifact:mvn] [INFO] Compiling 48 source files to /home/luca/workspace2/libProjection/target/classes [artifact:mvn] [INFO] [resources:testResources {execution: default-testResources}] [artifact:mvn] [INFO] Using 'ISO-8859-1' encoding to copy filtered resources. [artifact:mvn] [INFO] skip non existing resourceDirectory /home/luca/workspace2/libProjection/src/test/resources [artifact:mvn] [INFO] [compiler:testCompile {execution: default-testCompile}] [artifact:mvn] [INFO] Compiling 1 source file to /home/luca/workspace2/libProjection/target/test-classes
[artifact:mvn] [INFO] [surefire:test {execution: default-test}]
[artifact:mvn] [INFO] Surefire report directory: /home/luca/workspace2/libProjection/target/surefire-reports [artifact:mvn] [INFO] ------------------------------------------------------------------------
[artifact:mvn] [ERROR] BUILD ERROR
[artifact:mvn] [INFO] ------------------------------------------------------------------------ [artifact:mvn] [INFO] Error while executing forked tests.; nested exception is org.apache.maven.surefire.booter.shade.org.codehaus.plexus.util.cli.CommandLineException: Error setting up environmental variables
[artifact:mvn] java.io.IOException: error=12, Cannot allocate memory

/

I hope that could be useful.
All the best,
Luca


[1] http://www.gvsig.org/web/projects/gvsig-desktop/docs/devel/gvsig-devel-guide/2.0.0/trabajar-con-el-nucleo-de-gvsig/gvsig-compilation/initial-configuration/howto-create-eclipse-workspace

2010/8/3 Jorge Piera Llodrá <[email protected] <mailto:[email protected]>>

    Hi Luca.

    The error has been fixed. Update the workspace and try again.

    Regards,
    Jorge.


    On 08/03/2010 01:00 AM, luca bianconi wrote:

        Hi all,

        I've tried to compile the last version of gvsig from svn
        repository and I've got an error that prevent me to compile my
        own version of the gvSIG 2.0.


        /[artifact:mvn] [INFO]
        ------------------------------------------------------------------------
        [artifact:mvn] [INFO] Building extDalTransform
        [artifact:mvn] [INFO]    task-segment: [antrun:run]
        [artifact:mvn] [INFO]
        ------------------------------------------------------------------------
        [artifact:mvn] [INFO] [antrun:run {execution: default-cli}]
        [artifact:mvn] [INFO] Executing tasks
        [artifact:mvn] [INFO]
        ------------------------------------------------------------------------
        [artifact:mvn] [ERROR] BUILD ERROR
        [artifact:mvn] [INFO]
        ------------------------------------------------------------------------
        [artifact:mvn] [INFO] An Ant BuildException has occured: The
        following error occurred while executing this line:
        [artifact:mvn] java.io.FileNotFoundException:
        
/home/luca/workspace2/extDalTransform/${build-dir}/ant-tasks/eclipse-tasks.xml
        (No such file or directory)
        [artifact:mvn] [INFO]
        ------------------------------------------------------------------------
        /

        Does it make sense to you ?

        Cheers,
        Luca




        _______________________________________________
        Gvsig_internacional mailing list
        [email protected]  
<mailto:[email protected]>
        http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional


-- Jorge Piera Llodrá
    gvSIG Development Team
    PRODEVELOP
    Plaza Don Juan de Villarrasa, 14 - 5
    46001 Valencia
    Tel: +34 963510612
    Fax: +34 963510908
    e-mail:[email protected]  <mailto:[email protected]>
    http://www.prodevelop.es
    http://www.gvsig.org

    _______________________________________________
    Gvsig_internacional mailing list
    [email protected]
    <mailto:[email protected]>
    http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional



_______________________________________________
Gvsig_internacional mailing list
[email protected]
http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional


--
Jorge Piera Llodrá
gvSIG Development Team
PRODEVELOP
Plaza Don Juan de Villarrasa, 14 - 5
46001 Valencia
Tel: +34 963510612
Fax: +34 963510908
e-mail: [email protected]
http://www.prodevelop.es
http://www.gvsig.org

_______________________________________________
Gvsig_internacional mailing list
[email protected]
http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional

Reply via email to