copy performance for .properties vs .other file type

2006-10-24 Thread Sean \(Xuong\) Phu
Anyone know why is it taking 9 seconds to copy 800 files that ends with ".properties" but if I renamed these files with ".blah", it only takes me 3 seconds? Thanks Here are the two different tests I used: ___

Re: How to dump heap on OutOfMemoryError from ant

2006-10-18 Thread Sean \(Xuong\) Phu
try updating the ant shell/batch file. I am using 1.6.2 in Windows, so looking at \apache-ant-1.6.2\bin\ant.bat this is what I would do (see where I place your -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=e:\ant.hprof): :runAnt if not "%CLASSPATH%"=="" goto runAntWithClasspath "%_JAVACMD%"

Delete Directory Matching A Pattern

2006-10-18 Thread Sean \(Xuong\) Phu
Is there a way to delete a set of directories and subdirectories matching a pattern? For example, I want to delete "blah1234" and "blahabcdefg" since they both begins with "blah". I tried to use the following to delete any directory named with "blah*", but it didn't work.

Re: build.properties input select

2006-10-13 Thread Sean \(Xuong\) Phu
There is an task that you can use to prompt the user. See http://ant.apache.org/manual/CoreTasks/input.html. As for concatenating user input with ".home", you can do Edward Mann <[EMAIL PROTECTED]> wrote: I am trying to build an and build process where the user will run ant and it will p