[aspectwerkz-dev] important patch for AnnotationCTask

the_mindstorm <[email protected]> Thu, 28 Oct 2004 23:59:20 +0300
Newsgroups gmane.comp.java.aspectwerkz.devel
Message-ID <[email protected]>
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
annotation.zip (application/zip, 9.3 KB) - not displayed