[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
Re: [aspectj-users] aspect is not recognized
|
- From: Andrew Eisenberg <andrew@xxxxxxxxxxxx>
- Date: Fri, 18 Sep 2009 14:41:40 -0700
- Delivered-to: aspectj-users@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:reply-to:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=KOp7l8J9friRiZBcjx7tkSltoXKRG4Tw6xtUbwSGc3I=; b=o2CKGofIC3GKf/X0t4uAzP/2UlDdqZW8FIbhbnAIY4Rg/nX19AQJqifgBeiqYALWaR CMXzIRWDlEEdBJkI/jVGz84maDTXY51VPphdMJwvP3RbecEJlCWXzEtQMX85Pas3WKvO +QmbGnlSXts608G4015sQLClydn3ZwohZjZTs=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=EbUBuBjnHE5xtkQ3HGqnZsutUsVwD3F0yWJUkBTYa9hhuCcfINW78eHDaRXMbNgD/I pIg70TbEaM5YmttG5R6gi8RLbdWUM5PnzDc4wmHlnK9wohys+/dgNxk6nYaSexQL52pY DX5j2iKzRh7B9zn4vlkPySa3U0OQ3J6+a+LYo=
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