Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ajdt-dev] delcare precedence: missing error message in AJDT

Andy Clement wrote:
> Possibly another manifestation of the 'error message goes missing'
> bug, covered by https://bugs.eclipse.org/bugs/show_bug.cgi?id=132314 .
>  Oliver, I assume you get a nice error message outside of eclipse on
> the command line?  If so, do you have a simple test program that
> demonstrates the problem that you could attach to that bug?

I set up a little test project but can't reproduce the bug with this new
project also it is very close to my old project. Next I experimented a
litte bit with the old project where I can see sometime messages like

>
findStateManagingOutputLocation(.../examples/Kap05-Advice/5LottoPrecedence/build/classes)
has 1 states to look through
<
findStateManagingOutputLocation(.../examples/Kap05-Advice/5LottoPrecedence/build/classes)
returning org.aspectj.ajdt.internal.core.builder.AjState@1ddfb6a

The old project is created over 1 year ago with AJDT 1.2 (or less).
Perhaps there are some relicts from former times. I will try to set up
the same project from scratch to see if the problem still cocurs.

regards
Oliver



> 
> Andy.
> 
> On 21/04/06, Oliver Böhm <boehm@xxxxxxxxxx> wrote:
>> Hi,
>>
>> today I had a talk to my students and showed them the "declare
>> precedence" statement. I also wanted to show what the compiler says when
>> conflicting declare-precedence statements are used. Unfortunately the
>> AJDT shows me *no* error message (but there are missing class files
>> afterwards!).
>>
>> Consider the following example:
>>
>>     declare precedence : *, CopAspect, *;
>>
>> This should give (and gave in the past if I remember correctly) an error
>> message. When I compile it via 'ant' I got the correct error message
>>
>>      [iajc] error at declare precedence : *, CopAspect, *;
>>
>> I use AJDT 1.3.1. Is this a known problem? Or should I create a bug report?
>>
>> regards
>> Oliver
>> --
>> Oliver Böhm
>> http://www.javatux.de
>>
>> _______________________________________________
>> ajdt-dev mailing list
>> ajdt-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/ajdt-dev
>>
> _______________________________________________
> ajdt-dev mailing list
> ajdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/ajdt-dev


-- 
Oliver Böhm
http://www.javatux.de



Back to the top