Breaking up a build file into smaller units

2005-01-12 Thread Pascal_Lafond
I have a build.xml file that is exceedingly long. I don't think I can create sub builds because of the dependencies. Is it possible to load targets from another xml file in a similar fashion that we can load properties. Thanks Pascal

Error initialising System ClassException in thread "main" Could not create the Java virtual machine.

2004-12-08 Thread Pascal_Lafond
I've created a Ant script for Oracle forms developper that automates the compilation and deployment of forms into ther development environment. It is working for all of them except one guy. To my knowledge he has the same security rights as everyone else. Does anyone know what could be the cause o

RE: auto configuration

2004-10-21 Thread Pascal_Lafond
Your right that would work. I don't know if the build would fail if you try to overwrite a property. I am pretty sure that if foo.dist already exists the build will fail on this next statement. That might not be the case when reading a properties file. Pascal

Re: auto configuration

2004-10-21 Thread Pascal_Lafond
Properties in ant are immutable. If you need to change a property (which is sometimes unavoidable) you will to include the 3rd party open source antcontrib library and use the variable task. I every site needs to replace a certain set of variables maybe they don't need to be present in global pr

Re: setErrorPrintStream on DefaultLogger not working

2004-10-14 Thread Pascal_Lafond
This solution may not be what you are looking for but I used a kornshell to capture ant output. The kornshell sets up the logging to a file and sends me an email. This will only work on a Unix/Linux system. I know Ant provides other methods but after consideration I decided on this. Here is samp