Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] aspect is not recognized

It sounds like your project is not using the ajbuilder and is using
the javabuilder instead.

Your .project file should look something like this:

<projectDescription>
	<name>myproject</name>
	<comment></comment>
	<projects>
	</projects>
	<buildSpec>
		<buildCommand>
			<name>org.eclipse.ajdt.core.ajbuilder</name>
			<arguments>
			</arguments>
		</buildCommand>
	</buildSpec>
	<natures>
		<nature>org.eclipse.ajdt.ui.ajnature</nature>
		<nature>org.eclipse.jdt.core.javanature</nature>
	</natures>
</projectDescription>

Notice that the ajbuilder is being used and the ajnature is above the
javanature.

If your .project file looks different, try right clicking on the
project Configure -> Add AspectJ Support

--a


Back to the top