[Gvsig_english] [ gvSIG v2_0_0_prep ] gvSIG error in compiling

Jorge Piera Llodrá jpiera at prodevelop.es
Wed Aug 4 08:37:59 CEST 2010


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á <jpiera at prodevelop.es 
> <mailto:jpiera at prodevelop.es>>
>
>     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
>         Gvsig_internacional at listserv.gva.es  <mailto:Gvsig_internacional at listserv.gva.es>
>         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:jpiera at prodevelop.es  <mailto:jpiera at prodevelop.es>
>     http://www.prodevelop.es
>     http://www.gvsig.org
>          
>
>
>     _______________________________________________
>     Gvsig_internacional mailing list
>     Gvsig_internacional at listserv.gva.es
>     <mailto:Gvsig_internacional at listserv.gva.es>
>     http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
>
>
>
> _______________________________________________
> Gvsig_internacional mailing list
> Gvsig_internacional at listserv.gva.es
> 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: jpiera at prodevelop.es
http://www.prodevelop.es
http://www.gvsig.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserv.gva.es/pipermail/gvsig_internacional/attachments/20100804/0bbd5df4/attachment.htm 


More information about the Gvsig_internacional mailing list