[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [aspectj-users] aspectj and java 1.4 incl assertions in eclip se

Silvia Breu wrote:
> I am using eclipse and I've successfully added the AspectJ-plugin.
> Now, I want to weave an aspect to software code written with
> assertions.
> It seems not to work (complaining about all the asserts) and I am
> wondering if that's the problem of the new plugin or if I missed to
> fix
> a certain property.
> The Java compiler is set to 1.4, the classpath is correct, the jar-
> file
> for AspectJ is set and I have also chosen the button "support
> assertions
> from 1.4 java" in the properties for the AspectJ compiler.
> Does anyone have an idea how to fix my problem?

I know that assertions work in both the 1.0.6 and 1.1beta4 compilers when run from the command-line.  You do need to turn them on with the "-source 1.4" option.  My guess is this is a bug in the IDE integration you're using and should be submitted to that project as a bug report.  Be sure to specify what version you're using when you submit the bug.

-Jim