Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » erratic behaviour re. obsolete project references
erratic behaviour re. obsolete project references [message #54652] Thu, 07 July 2005 23:07 Go to next message
Michael Moser is currently offline Michael MoserFriend
Messages: 914
Registered: July 2009
Senior Member
I had the strange case here, that - whenever I rebuilt my project - AJDT
popped up an error telling me
---------------------------------
AspectJ error:
---------------------------------
Error creating marker
reason:
Reource /<other_project>/..../<SomeFile>.java does not exist.
---------------------------------

I indeed previously had "imported" (i.e. referenced) that
<other_project> from my now aspectized current project, but - to improve
the behaviour of the aspect visualizer - in the meantime I now "linked"
the source of <other_project> into my current project (according to the
"Using linked source folders" chapter in the online help), so that
<other_project> should nowhere be referenced any more in the current
project.

But that error kept reappearing each time when I did a rebuild! In the
end I desperately deleted the <other_project> from eclipse (of course
without deleting its content...) and only after that the error popup had
finally gone.

So - apparently - AspectJ keeps around some old reference to a
previously referenced project, even after removing it from the
build-path and obviously that reference even survives (several!) "Build
clean"s.

Michael
Re: erratic behaviour re. obsolete project references [message #54923 is a reply to message #54652] Tue, 12 July 2005 09:46 Go to previous message
Eclipse UserFriend
Originally posted by: mchapman.uk.ibm.com

Hi Macheal,

This is clearly a bug. Please can you raise this in bugzilla, with the
exact steps required to reproduce.

Thanks,

Matt.

On Fri, 08 Jul 2005 01:07:04 +0200, Michael Moser wrote:
> I had the strange case here, that - whenever I rebuilt my project - AJDT
> popped up an error telling me
> ---------------------------------
> AspectJ error:
> ---------------------------------
> Error creating marker
> reason:
> Reource /<other_project>/..../<SomeFile>.java does not exist.
> ---------------------------------
>
> I indeed previously had "imported" (i.e. referenced) that
> <other_project> from my now aspectized current project, but - to improve
> the behaviour of the aspect visualizer - in the meantime I now "linked"
> the source of <other_project> into my current project (according to the
> "Using linked source folders" chapter in the online help), so that
> <other_project> should nowhere be referenced any more in the current
> project.
>
> But that error kept reappearing each time when I did a rebuild! In the
> end I desperately deleted the <other_project> from eclipse (of course
> without deleting its content...) and only after that the error popup had
> finally gone.
>
> So - apparently - AspectJ keeps around some old reference to a
> previously referenced project, even after removing it from the
> build-path and obviously that reference even survives (several!) "Build
> clean"s.
>
> Michael
--
Matt Chapman
AJDT Development, http://www.eclipse.org/ajdt
Re: erratic behaviour re. obsolete project references [message #589403 is a reply to message #54652] Tue, 12 July 2005 09:46 Go to previous message
Matt Chapman is currently offline Matt ChapmanFriend
Messages: 429
Registered: July 2009
Senior Member
Hi Macheal,

This is clearly a bug. Please can you raise this in bugzilla, with the
exact steps required to reproduce.

Thanks,

Matt.

On Fri, 08 Jul 2005 01:07:04 +0200, Michael Moser wrote:
> I had the strange case here, that - whenever I rebuilt my project - AJDT
> popped up an error telling me
> ---------------------------------
> AspectJ error:
> ---------------------------------
> Error creating marker
> reason:
> Reource /<other_project>/..../<SomeFile>.java does not exist.
> ---------------------------------
>
> I indeed previously had "imported" (i.e. referenced) that
> <other_project> from my now aspectized current project, but - to improve
> the behaviour of the aspect visualizer - in the meantime I now "linked"
> the source of <other_project> into my current project (according to the
> "Using linked source folders" chapter in the online help), so that
> <other_project> should nowhere be referenced any more in the current
> project.
>
> But that error kept reappearing each time when I did a rebuild! In the
> end I desperately deleted the <other_project> from eclipse (of course
> without deleting its content...) and only after that the error popup had
> finally gone.
>
> So - apparently - AspectJ keeps around some old reference to a
> previously referenced project, even after removing it from the
> build-path and obviously that reference even survives (several!) "Build
> clean"s.
>
> Michael
--
Matt Chapman
AJDT Development, http://www.eclipse.org/ajdt
Previous Topic:what does AJDT do to the JavaBuildPath-Edit function?
Next Topic:what does AJDT do to the JavaBuildPath-Edit function?
Goto Forum:
  


Current Time: Thu Apr 25 09:25:08 GMT 2024

Powered by FUDForum. Page generated in 0.03003 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top