Re: classloader problem?

2008-05-07 Thread Christofer Jennings
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

Tony Mao is out of the office.

2008-05-07 Thread tmao
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]

Re: classloader problem?

2008-05-07 Thread Peter Reilly
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

Re: classloader problem?

2008-05-07 Thread Steve Loughran
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

Re: How to assign a result of sqltask to variable

2008-05-07 Thread Chuck Holzwarth
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