ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scot P. Floess" <sflo...@nc.rr.com>
Subject Re: Problems with ant compilation
Date Tue, 13 Dec 2011 00:53:38 GMT

I don't know what your build.xml is doing, but it appears to be trying to 
kick off a Java process and you are running out of memory...

It'd be great if we could see the offending line in your build.xml...

Also, how much memory do you have in the machine in which you are running 
Ant?

On Mon, 12 Dec 2011, PeppePegasus wrote:

> Hi,
>
> I'm new here. I hope to get help.
> I have downloaded this Java application to compile:
> http://people.cs.aau.dk/~mleginus/w...r_hosvd_src.rar
> It is a file to compile using Apache Ant.
> I used Eclipse but I get an error: target is not found.
> I used front-line command and I get the following result:
>
> C:\Users\Giuseppe\Documents\Documents\Software x Packege
> RS\recommender_hosvd_src\Recommender>ant
> Buildfile: C:\Users\Giuseppe\Documents\Documents\Software x Packege
> RS\recommender_hosvd_src\Recommender\build.xml
>
> create_run_jar:
>     [java] Error: Could not create the Java Virtual Machine.
>     [java] Error: A fatal exception has occurred. Program will exit.
>     [java] Error occurred during initialization of VM
>     [java] Could not reserve enough space for object heap
>
> BUILD FAILED
> C:\Users\Giuseppe\Documents\Documents\Software x Packege
> RS\recommender_hosvd_src\Recommender\build.xml:84: Java returned: 1
>
> Total time: 1 second
>
> the list of files in the directory where is the build file is:
>
> Directory di C:\Users\Giuseppe\Documents\Documents\Software x Packege
> RS\recommender_hosvd_src\Recommender
>
> 17/11/2011  11.00    <DIR>          .
> 17/11/2011  11.00    <DIR>          ..
> 17/11/2011  11.12             4.788 .classpath
> 20/07/2011  15.15               370 .project
> 15/10/2011  19.05    <DIR>          .svn
> 20/07/2011  15.15            14.487 build.xml
> 13/10/2011  16.34    <DIR>          clusteringData
> 13/10/2011  16.34    <DIR>          datasets
> 13/10/2011  16.34    <DIR>          dk
> 13/10/2011  16.35    <DIR>          lib
> 13/10/2011  16.35    <DIR>          META-INF
> 07/11/2011  13.43           871.022 movielens.txt
> 12/12/2011  11.12    <DIR>          recommender
> 13/10/2011  16.35    <DIR>          resources
> 13/10/2011  16.35    <DIR>          src
> 17/11/2011  11.51    <DIR>          target
>               4 File        890.667 byte
>              12 Directory  58.473.816.064 byte disponibili
>
>
> about Java, environment variables, ant I have these information:
>
> C:\Users\Giuseppe\Documents\Documents\Software x Packege
> RS\recommender_hosvd_src\Recommender>java -version
> java version "1.7.0_01"
> Java(TM) SE Runtime Environment (build 1.7.0_01-b08)
> Java HotSpot(TM) Client VM (build 21.1-b02, mixed mode, sharing)
>
> ANT_HOME:
> C:\Users\Giuseppe\Documents\apache-ant-1.8.2
>
> JAVA_HOME:
> C:\Program Files\Java\jdk1.7.0_01
>
> PATH:
> %PATH%;%JAVA_HOME%\bin;%M2_HOME%\bin;%ANT_HOME%\bin
>
> C:\Users\Giuseppe\Documents\Documents\Software x Packege
> RS\recommender_hosvd_src\Recommender>ant -version
> Apache Ant(TM) version 1.8.2 compiled on December 20 2010
>
> Can anyone help me solve these problems?
> Thanks.
> peppe.
>
> --
> View this message in context: http://ant.1045680.n5.nabble.com/Problems-with-ant-compilation-tp5068238p5068238.html
> Sent from the Ant - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

Scot P. Floess             RHCT  (Certificate Number 605010084735240)
Chief Architect FlossWare  http://sourceforge.net/projects/flossware
                            http://flossware.sourceforge.net
                            https://github.com/organizations/FlossWare

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message