Re: [aspectwerkz-dev] important patch for AnnotationCTask

Alexandre Vasseur <[email protected]> Tue, 2 Nov 2004 09:29:37 +0100
Newsgroups gmane.comp.java.aspectwerkz.devel
Message-ID <[email protected]>
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.

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
> >>
> >>
> >>
> >
> 
>