Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] broken resources?

Can't see anything obviously sinister in the aspect, and the last
advice is quite some distance in the stack from the point of failure.
If you temporarily change the advice as follows:

     after() throwing(Throwable pThrowable) : 
        (voidCalls() || returnCalls()) &&
!within(com.managesoft.distribution.container.Builder)
    {
    }

    Object around() : voidCalls() &&
!within(com.managesoft.distribution.container.Builder)
    {
        final Object result = proceed();
        return result;
    }

    Object around() : returnCalls() &&
!within(com.managesoft.distribution.container.Builder)
    {
        final Object result = proceed();
        return proceed();
    }

does the test pass again?

On 16/08/05, Torsten Curdt <tcurdt@xxxxxxxxxx> wrote:
> 
> > Hmm, where does the resource that the SAXParser is trying to read from
> > live?
> 
> Next to the classes.
> 
> >   Is it possible that when building with ajc this resource is not
> > getting copied into the output directory / jar correctly?
> 
> No, all there. Besides I check for the existence
> which should throw a special exception otherwise.
> Also I assume it would be a different exception.
> 
> So my aspect looks ok? ...should not be related?
> 
> cheers
> --
> Torsten
> 
> 
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
> 
> 
> 
> 


-- 
-- Adrian
adrian.colyer@xxxxxxxxx


Back to the top