ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tarun Ramakrishna Elankath <ta...@webkadai.com>
Subject Re: java.lang.OutOfMemoryError - newbie
Date Fri, 02 May 2003 19:26:13 GMT
Try increasing the heap size, say using:
export ANT_OPTS=-Xmx256m
and then running Ant ?


On Fri, 2003-05-02 at 09:53, Vishwas.More@nokia.com wrote:
> All 
> 
> i am trying to create a zip file which includes a Deployxxxx.ear in it.,.
> 
> now  it works fine till i have the line commented out ( as shown ) 
> -----------------
>     <zip zipfile="rls/utils/foms_release.zip" compress="no" update="true" >
>       <zipfileset dir="${build.dir}">
>           <include name="lib/FGOMS.ear"/>
>  <!--         <include name="lib/DeployedFGOMS.ear"/>    -->
>           <include name="lib/customRegistry.jar"/>
>           <include name="lib/wasappserver.jar"/>
>           <include name="config/*"/>
>           <include name="scripts/*"/>
>           <include name="WEBModules/*"/>
>           <include name="public_html/*"/>
>           <include name="foms/*"/>
>       </zipfileset>
>     </zip>
>  --------------
> 
> the moment i UNCOMMENT i get this ERROR
> package:
>    [delete] Deleting directory /frem_base/rls/utils
>     [mkdir] Created dir: /frem_base/rls/utils
>       [zip] Building zip: /frem_base/rls/utils/foms_release.zip
>      [copy] Copying 1 file to /frem_base/rls/utils
>      [copy] Copying 1 file to /frem_base/rls/utils
>      [copy] Copying 33 files to /frem_base/rls/utils
>      [copy] Copying 1 file to /frem_base/rls/utils
>      [copy] Copying 2 files to /frem_base/rls/utils
>      [copy] Copying 2 files to /frem_base/rls/utils
>      [copy] Copying 1 file to /frem_base/rls/utils
>    [delete] Deleting: /frem_base/rls/fgoms.zip
>       [zip] Building zip: /frem_base/rls/fgoms.zip
> 
> BUILD FAILED
> 
> java.lang.OutOfMemoryError
>         <<no stack trace available>>
> 
> 
> any suggestiions 
> 
> thanks
> vishwas
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 


Mime
View raw message