Re: [aspectwerkz-dev] important patch for AnnotationCTask
Alexandre Vasseur <[email protected]> Wed, 3 Nov 2004 16:13:17 +0100
| Newsgroups | gmane.comp.java.aspectwerkz.devel |
|---|---|
| Message-ID | <[email protected]> |
Thanks Indeed it seems to have some weird effect when we define a task with Ant and when this ones executes. I could fix the issue by removing a ClassLoader.getSystemClassLoader() and using a someAWClass.class.getClassLoader() instead. I still don't get why we don't see the issue in AW build.xml. Alex On Tue, 02 Nov 2004 16:38:07 +0200, the_mindstorm <[email protected]> wrote: > The test: > > Attached is the test failing. > Custom annotation: net.noco.unit.aw.ContextAnnotationProxy > Class under test: net.noco.unit.SimpleTestImpl > > Before running pls follow the indications in README. > > To test run: > > [old mode => passing] > ant aw:annotation:direct run:test > > [task mode => failing with ClassCastException] > ant aw:annotation:task run:test > > After applying the patch both will run. > > I wait with interest your opinions. > > :the_mindstorm > > >