Re: Configuring a custom task

2005-03-31 Thread Upayavira
Upayavira wrote: Yves Martin wrote: Upayavira <[EMAIL PROTECTED]> writes: 1) Every time I use my task, I have to pass the task the classpath definition, as the task needs to create a new classloader with which to run my application. Is there a way to remove the necessity to mention the classpath,

Re: Configuring a custom task

2005-03-29 Thread Upayavira
Yves Martin wrote: Upayavira <[EMAIL PROTECTED]> writes: 1) Every time I use my task, I have to pass the task the classpath definition, as the task needs to create a new classloader with which to run my application. Is there a way to remove the necessity to mention the classpath, deriving it from

Re: Configuring a custom task

2005-03-29 Thread Yves Martin
Upayavira <[EMAIL PROTECTED]> writes: > 1) Every time I use my task, I have to pass the task the classpath > definition, as the task needs to create a new classloader with which to run > my application. Is there a way to remove the necessity to mention the > classpath, deriving it from the one use

Configuring a custom task

2005-03-29 Thread Upayavira
Hi all, I have written my own task. Here's how a section of my build.xml might look: ownerName="user1"/> The task itself is stored in a different lib directory, not on Ant's own classpath. Now, this works, but it feels a bit clumsy. I therefore have two questions: