Ah ha! That was it! ... I was ...
getProject().createClassLoader(classpath);
... when I needed to ...
getProject().createClassLoader(MyAnnotation.class.getClassLoader();,
classpath);
THANKS Peter!
On Wed, May 7, 2008 at 8:49 AM, Peter Reilly <[EMAIL PROTECTED]>
wrote:
> Also remember to
I will be out of the office starting 05/07/2008 and will not return until
05/12/2008.
I will respond to your message when I return.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Also remember to use the classloader that loaded the
custom task as the parent for the new classloader
created in the task.
Peter
On Wed, May 7, 2008 at 3:59 PM, Steve Loughran <[EMAIL PROTECTED]> wrote:
>
> Christofer Jennings wrote:
>
> > I think I have a classloader problem.
> >
> > I've made
Christofer Jennings wrote:
I think I have a classloader problem.
I've made a custom task that looks through classes for a method annotation,
then makes a report. I've got junit tests that work in my IDE showing that
the annotations can be found. But when I run the task the annotations are
not re
I don't have any experience with the sql task, but I have faced this type of
thing in the past and solved it by using the echo task to create a file with
something like "=" and then use another task to append to the
file by setting the command output to use the same file with append=true. This