RE: compiler References in task

2006-05-15 Thread jason heddings
That did it, thanks! I ended up using the antlib.xml to get the definitions in the same import... Thanks, --jah -Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Monday, 15 May, 2006 03:49 To: Ant Users List Subject: Re: compiler References in task jason

Re: compiler References in task

2006-05-15 Thread Dominique Devienne
You need to make sure that they are loaded by the same classloader; giving them the same path doesnt guarantee this, and once in separate classloaders, the tasks cannot cast the reference to the types they expect. Or drop cpptasks.jar in ANT_HOME/lib, and use XML namespaces with the auto-ma

Re: compiler References in task

2006-05-15 Thread Steve Loughran
jason heddings wrote: Hello- I have the following build file and I'm not sure what I'm missing: You need to make sure that they are loaded by the same classloader; giving them the same path doesnt guarantee this, and once in separate classloaders, the tasks cannot cast the reference

compiler References in task

2006-05-14 Thread jason heddings
Hello- I have the following build file and I'm not sure what I'm missing: When I try to run this, I get an error saying: build.xml:12: my-compiler doesn't denote a ProcessorDef This is my first attempt to factor out the compiler types, so thank

compiler References in task

2006-05-12 Thread jason heddings
Hello- I have the following build file and I'm not sure what I'm missing: When I try to run this, I get an error saying: build.xml:12: my-compiler doesn't denote a ProcessorDef This is my first attempt to factor out the compiler types, so thank