Hi Peter, Well, I am not aware which groovy code uses the mentioned arraytutil class. But as you can see in the source, its usage is hard limited to 255 entries. I guess, you are the groovy expert and as you mentioned the snippets below with arrays of more than the 255 entries work just fine in groovy. The stacktrace of rodolfos exception would be useful here.
BTW. I've tested the snippet of rodolfo with 1000 directories/modules and they work fine (macosx) running it with 2000 directories/subprojects ends with an outofmemory regards, René Am 16.02.11 15:25, schrieb Peter Niederwieser: > That was probably a bad example. But this also works: > > def array = new String[1000] > assert array.length == 1000 > > -- > Peter Niederwieser > Developer, Gradle > http://www.gradle.org > Trainer & Consultant, Gradle Inc. > http://www.gradle.biz > Creator, Spock Framework > http://spockframework.org > > > > -- ------------------------------------ Rene Groeschke [email protected] http://www.breskeby.com http://twitter.com/breskeby ------------------------------------ --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
