Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » Duplicate @ClassId value 'X' in type ...(Refresh / Clean problem?)
Duplicate @ClassId value 'X' in type ... [message #1463173] Thu, 06 November 2014 09:32 Go to next message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1252
Registered: October 2011
Senior Member
Hi,

We are working with the @ClassId annotation in our code.
Someone has created a duplicate id (probably a copy paste mistake).

The problem appears as error in the error view (this is correct):

index.php/fa/19777/0/

Now someone in the team has fixed the mistake.

When I synchronize the code in my workspace, the marker is still present.
Really strange, it appears at the wrong line (probably the old line number):

index.php/fa/19778/0/

Now the question:
How do I force the Scout SDK to compute the ClassId errors again (refresh).

The only way I managed to trigger the calculation of error marker was to remove the @ClassId("f8f6bf02-3004...") [the one still being marked as duplicate]. Save. Undo. Save.

An other way is of course to delete the warning from the error view with DELETE.

Related question:
When I select Project Menu > Clean... > Project, my expectation is that the error marker is removed (and that the Scout SDK recalculates the error marker. It seems not to be the case).
Re: Duplicate @ClassId value 'X' in type ... [message #1463448 is a reply to message #1463173] Thu, 06 November 2014 15:16 Go to previous message
Matthias Villiger is currently offline Matthias VilligerFriend
Messages: 232
Registered: September 2011
Senior Member
Hi Jérémie,

There are several workarounds:
- just delete the marker in the problem view
- as you did: edit the line of the annotation
- restart eclipse

A fresh build has no effect because this error marker is not created at build time but runs independently of the build. This has the advantage, that you also see these errors when the build is disabled.

kind regards
m
Previous Topic:advance scout course.
Next Topic:Accessing the HTML source code of the content of a BrowserField?
Goto Forum:
  


Current Time: Fri Mar 29 07:18:12 GMT 2024

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

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

Back to the top