RE: 1.8.1 OutOfMemoryError: Map failed

2010-05-20 Thread Murray, Mike
Reverting revision 922179 of ResourceUtils.java resolves the 1.8.1 regression. http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/an t/util/ResourceUtils.java?r1=908356&r2=922179&diff_format=h problem 48894 1) buffer size management is present in FileChannel, so we do

1.8.1 OutOfMemoryError: Map failed

2010-05-20 Thread Murray, Mike
Some 1.8.1 change is causing copies of large files to fail when max heap is set to a "high" value. I got the error below with -Xmx800M. I lowered it to 750 and it worked. The file being copied is 840M. A file of 670M failed with -Xmx900M, but succeeded with 800. It runs for 2 seconds and fa

Re: multiple switch case

2010-05-20 Thread Wascally Wabbit
You can try the task in the AntXtras antlib. URL: http://antxtras.sf.net Marco Gutsche wrote: Hello, it is possible to use multiple case in a switch command, for example: switch value: case a: case b: echo "a or b" case c: echo "c" Thank a

How to put all jars in a path variable (minus some exclusions) into WEB-INF/lib?

2010-05-20 Thread KARR, DAVID (ATTSI)
I have a "build.classpath" path variable. I want all of the jars, but not the classes, and minus some specific exclusions, to be put into my WEB-INF/lib. All of the jars specified there are stored in a specific directory, but I don't know that I want to depend on that. I have a "war" element, an

AW: Getting ant to run all junit tests in a jar file

2010-05-20 Thread Knuplesch, Juergen
try this: -Ursprüngliche Nachricht- Von: Søren Krogh Neigaard [mailto:soeren.krogh.neiga...@systematic.com] Gesendet: Donnerstag, 20. Mai 2010 08:50 An: user@ant.apache.org Betreff: Getting ant to run all junit tests

AW: Java system property

2010-05-20 Thread Knuplesch, Juergen
Thank you!! -Ursprüngliche Nachricht- Von: Antoine Levy-Lambert [mailto:anto...@gmx.de] Gesendet: Mittwoch, 19. Mai 2010 20:09 An: Ant Users List Betreff: Re: Java system property Hello Juergen, here is what you can do : - use the ANT_OPTS environment variable to set the system propert

RE: encoding problem with tokens (on Linux)

2010-05-20 Thread Alec Fernandez
I assumed that filterfiles had to be in properties file syntax but I do not know this to be the case. If this is true then I would expect your tokens.file has something that looks like: A=\U1234 (were 1234 the excaped unicode representation of your cat glyph) If so then the token will be replac

RE: Ant For task

2010-05-20 Thread Chakravarthy, Srikanth
If you paste your script it would be easier to check it. Regards, Srikanth -Original Message- From: Pooja Ganapathi [mailto:pooja...@gmail.com] Sent: Thursday, May 20, 2010 5:43 PM To: user@ant.apache.org Subject: RE: Ant For task Hi, Thanks for your replies. But the issue still exist

RE: Ant For task

2010-05-20 Thread Pooja Ganapathi
Hi, Thanks for your replies. But the issue still exists. I have indeed added my jar file to the ant-lib folder and made the reference in the script. But still it says: taskdef class "ignore"/> cannot be found pls help!! -Pooja Sharma, Jaikumar wrote: > > It works for me like the following :