Re: [aspectwerkz-dev] important patch for AnnotationCTask

the_mindstorm <[email protected]> Tue, 02 Nov 2004 10:59:14 +0200
Newsgroups gmane.comp.java.aspectwerkz.devel
Message-ID <[email protected]>
Quote [Alexandre Vasseur]:
>>From branch_1_0 I can run
> 
> ant samples:task:annotationc
> 
> without any problem
> without the fix
> 
> 
> That s quite surprising or there is something i don't get.

It is indeed suprising for me too. I have tried the same samples:task:annotationc after I have 
rolledback the sources and it have worked.
In the same time, with the rolledback sources of AW branch_1_0, my project doesn't work. I will try 
to reduce the problem as much as possible and send you a test.

:the_mindstorm

> 
> Can you send me the build.xml snip that makes the issue appear.
> 
> 
> Alex
> 
> 
> 
> On Tue, 02 Nov 2004 03:03:11 +0200, the_mindstorm
> <[email protected]> wrote:
>> Quote [Alexandre Vasseur]:
>> 
>> > Hi
>> >
>> > Would it be possible to have a sample / a test that shows the issue
>> > first ? How can I reproduce it on my side ?
>> >
>> > Thx
>> > Alex
>> 
>> Hi Alex!
>> 
>> Have you been able to reproduce the problem I was talking about? Do you need the test?
>> 
>> :the_mindstorm
>> 
>> 
>> 
>> >
>> >
>> > On Thu, 28 Oct 2004 23:59:20 +0300, the_mindstorm
>> > <[email protected]> wrote:
>> >> Hi!
>> >>
>> >> Playing around with the ant tasks for annotation and offline weaving I have found a problem while
>> >> compiling custom annotations.
>> >> It was again a problem regarding the classloaders: the classloader used for annotations was a
>> >> sibling of Ant class loader this giving some ClassCastExceptions in AnnotationManager.
>> >>
>> >> Attached is the patched version which uses the same mechanism as the one used for setting the class
>> >> loaders for AspectWerkzCTask.
>> >>
>> >> Please let me know what you think.
>> >>
>> >> :the_mindstorm
>> >>
>> >>
>> >>
>> >
>> 
>>
>