Setting custom classpath when invoking Ant programmatically

2008-04-22 Thread Gerrit .
Hi, I am trying to invoke Ant with an org.apache.tools.ant.Project instance. Can someone maybe give me a hint for the following problem: * Is there a way to add custom folders and jars to the Ant classpath? * (Maybe indirectly by configuring the ClassLoader?) I ask this because I need the func

Apply task and multiple target files

2008-04-17 Thread Gerrit .
Hi, I'm new to Ant. Maybe there's someone here who can point me to the relevant documentation or an example for my problem: I'd like to call for an executable which needs to be passed multiple targets, whose names are derived from the source file. Two of these are actual filesystem paths, on