How to remove aspectj path? [message #516244] |
Tue, 23 February 2010 05:45  |
Eclipse User |
|
|
|
I had first added a folder containing an aspect that I want to add to my
application using the Properties => AspectJ Build => Aspect Path tab.
Later I decided, I rather need to add that folder as a project source
folder. Doing so, I got an error, that the buildpath contains a duplicate
entry.
So I removed the entry from the Aspect Path tab (which is now empty), but I
still get that error message!
Meanwhile I restarted eclipse a few times (and the Aspect Path tab remained
empty), but still, when I try to add the aspect folder to my build path, I
keep getting that "duplicate" error msg. Where is that info kept, that a
folder was once added to the aspect path and why is that info not properly
cleaned up, when removing a folder from the Aspect path?
Michael
|
|
|
|
Re: How to remove aspectj path? [message #600831 is a reply to message #516244] |
Wed, 24 February 2010 11:24  |
Eclipse User |
|
|
|
This information is contained in the .classpath file of your project. This file is normally filtered from the package explorer and navigation views, but you can remove the filter. However, this may not be necessary.
What I think is happening is this:
1. When you add a folder to the aspect path, it is automatically added to the java build path.
2. When you remove a folder from the aspet path, it is not removed from the java build path (this must be done separately).
3. Now, when you try to add this same folder as a source folder, eclipse calls this a duplicate because it is already around on the build path.
So, to fix your problem, I think all you need to do is remove the folder from your ava build path.
|
|
|
Powered by
FUDForum. Page generated in 0.03007 seconds