Re: Frequent java.lang.OutOfMemoryError: Java heap space error

2009-06-25 Thread Prashant Pharate
Hi, If you are getting an exception "Outof memory in eclipse" try following Right click on build.xml>Run as--->External tool conf--->In environment variable add ANT_OPTS variable with value -Xmx512M -XX:PermSize=1024m. Then in JRE tab add virtual memory argument select from variable list

Re: Tokenizing Property Files

2009-06-25 Thread David Weintraub
If all of these files agree EXCEPT for these specific values, then you should use filtering in your build.xml when you copy these files to build your artifacts. This (fortunately) is pretty simple to do: (In our sit

Tokenizing Property Files

2009-06-25 Thread Rez P
What's the right way to use token replacement for my Ant builds? We have a few files common to all environments and currently maintain a set of these files per environment -- xml files, property files, and a web.xml per environment not identical. The files contain mostly static information ex