ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kev Jackson <kevin.jack...@it.fts-vn.com>
Subject Re: Ant 1.7 NullPointerException AbstractFileSet and OOM error
Date Tue, 18 Apr 2006 04:54:24 GMT

>well, obviously if I broke them it's entirely likely
>they won't be alone.  Probably the easiest/most BC
>thing will be some form of checking whether
>(Abstract?)FileSet instances have a project set and
>using the task's project if not (I think fileset
>handling is separate from other ResourceCollections,
>so that will work... otherwise I'll clone the
>filesets).  I'll take a look in about ten hours after
>I get to work.
>
>-Matt
>  
>
For testing purposes:
 >>

Yes, there's a couple operations that copy around 500 files.  Here's
how to reproduce the problem in AppFuse:

1. Checkout the latest code from CVS: cvs -d
:pserver:guest@cvs.dev.java.net:/cvs co -P appfuse (you may have to
login first, password is guest)
2. cd into appfuse/extras/appgen and run "ant test-all".
3. Make sure your ANT_OPTS are set to "".  When I do this, I get the
following after 4 minutes:

     [copy] Copying 328 files to C:\Source\appfuse-appgen2
     [copy] Copying 104 files to C:\Source\appfuse-appgen2\extras

BUILD FAILED
C:\Source\appfuse\extras\appgen\build.xml:639: The following error
occurred while executing this lin
e:
C:\Source\appfuse\extras\appgen\build.xml:546: The following error
occurred while executing this lin
e:
java.lang.OutOfMemoryError: Java heap space

Total time: 4 minutes 9 seconds

<<
Ant 1.7 fails when trying to execute the cargo config, long before the 
heap space issue (probably within ~1 min).
Kev

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


Mime
View raw message