Memory leaks with ant 1.5.x! Searching for a fix

2003-03-12 Thread Jürgen Schlierf
Hello, I'm using ant with eclipse 2.1 RC1. The memory leaks caused problems after 20-30 builds. Does anyone know how to fix ant 1.5.1/2? Thanks Jürgen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

with Many Files

2003-03-12 Thread Bryan Urteaga
Hello All, When I try to compile C# code using the task, I get the following error message: [csc] The following character string is too long: [csc] /nologo /debug- /incremental- /main:view.SPSContainer /optimize- /reference:System.Data.dll;System.dll;Syst em.XML.dll;mscorlib.dll;dataobjec

Build classpath dynamically

2003-03-12 Thread Markus M. May
Hello, I am working currently in a project, which describes dependencies in a file and downloads it from a repository (sf.net/projects/greebo). So basically I would like to add a property or even better a path reference to the build file, which is created based on another XML file. Any ideas, o

RE: Classpath in Java task

2003-03-12 Thread Dominique Devienne
Just fork the Java process your task starts. This will eliminate the strange classloader issues you are seeing. Your task basically uses/composes a task, configures it (possibly using the datatypes and arguments of your own task), then executes it in forked mode (javaTask.setFork(true);). See my

Re: Classpath in Java task

2003-03-12 Thread Mike McNally
> the classpathref basically points to a bunch of support jars the ultimate > java class needs (e.g. antlr.jar) but not rt.jar (who ever needs to add > rt.jar to their classpath?) Well, as I understand it the crux of the matter is that your task is going to be loaded with the system classpath if

Re: Classpath in Java task

2003-03-12 Thread John Guthrie
> > so my question is how do i get the rt.jar into my Java object's > > classpath? > > You could add the JRE libraries to the classpath you pass in to > but i don't want to have to hunt up where the jre is, or require folks using my task to do so either. i want to be able to pass on the classpath

Re: Classpath in Java task

2003-03-12 Thread Mike McNally
> so my question is how do i get the rt.jar into my Java object's > classpath? You could add the JRE libraries to the classpath you pass in to is there a way to get the classpath that is in my task and pass > that on to the Java task (along with that the user specified), > and/or is that even a g

Classpath in Java task

2003-03-12 Thread John Guthrie
i am writing a task that wraps a java routine. my (squonking good) copy of 'java development with ant' gives an example of this (p. 491). so in my task i create a Java object in my execute() and try to use that problem is that i set the classpath based on the task settings and, when i run it, i ge

help configuring Log4jListener?

2003-03-12 Thread Nolan Ring
Hi, I posted yesterday about appending to an ant logfile rather than overwriting it. Thanks for the responses - I think that the best would be for me to run a listener and then work with the output file. However, right now I'm in listener hell and am getting the dreaded log4j:WARN No appender