I had the same problem yesterday. I did a clean/rebuild and just
opened the components with errors by double clicking the error
messages in a problems view. This resolved the problem without the
steps in wiki workaround.
Denis.
On Nov 20, 2007, at 8:12 PM, Kieran Kelleher wrote:
> Mike .... hopefully this is of use to you. I had 3 of these
> woelement not found false errors as shown in attached pic. Then I
> did a clean/rebuld of the project and got more.
>
> <pastedGraphic.tiff>
>
> Actually each clean/rebuild changes the errors to different
> components too it seems .... very strange.
> <pastedGraphic.tiff>
> Also the .markers modification date remains at yesterday even though
> I just did clean/rebuild just now. Not sure if that is significant.
>
>
> <pastedGraphic.tiff>
> The wiki workaround of deleting .markers and restarting Eclipse with
> -clean always works to clean this up for a while.
>
> Anyway if there is anything I can do to help track down this bug,
> let me know ..... for example if there is some workspace state or
> something to capture whenever this happens.
>
>
> Regards, Kieran
>
> ________________________________________________________________
> Blog: http://homepage.mac.com/kelleherk/iblog/index.html
> WebObjects Wiki: http://wiki.objectstyle.org/
> Eclipse 3.3.1 / WOLips #4652
> OS X 10.4.X Tiger / Java 1.5 / WO 5.3.X w/Wonder
> MySQL 4.1.X w/InnoDB / Connector-J 5.0.X
>
>
>
>
>
> On Nov 19, 2007, at 2:29 PM, Mike Schrag wrote:
>
>> btw -- does anyone know how to consistently setup this situation
>> where you get a hanging validation failure that is out-of-date?
>>
>> On Nov 19, 2007, at 2:01 PM, Mike Schrag wrote:
>>
>>> Still not quite fixed, actually.... But yes, this is the intent.
>>> It CLAIMS to be running the validator, but it doesn't really seem
>>> to be doing it. I'll get it fixed tonight.
>>>
>>> ms
>>>
>>> On Nov 19, 2007, at 1:58 PM, Kieran Kelleher wrote:
>>>
>>>> Oh thank you. Does this eliminate the need for this workaround
>>>> documented here:
>>>> http://wiki.objectstyle.org/confluence/display/WOL/Sticky+WOD+error+markers+will+not+go+away
>>>>
>>>> This is a continuous stumbling block for wolips newbies that I
>>>> assist from time to time.
>>>>
>>>> On Nov 19, 2007, at 11:54 AM, mschra..bjectstyle.org wrote:
>>>>
>>>>> Author: mschrag
>>>>> Date: 2007-11-19 11:54:29 -0500 (Mon, 19 Nov 2007)
>>>>> New Revision: 4654
>>>>>
>>>>> Modified:
>>>>> trunk/woproject/wolips/core/plugins/
>>>>> org.objectstyle.wolips.wodclipse.core/java/org/objectstyle/
>>>>> wolips/wodclipse/core/builder/WodBuilder.java
>>>>> Log:
>>>>> Fix "build clean" on WO's -- I think it was not revalidating
>>>>> everything ... Force clear the validation cache.
>>>>>
>>>>> Modified: trunk/woproject/wolips/core/plugins/
>>>>> org.objectstyle.wolips.wodclipse.core/java/org/objectstyle/
>>>>> wolips/wodclipse/core/builder/WodBuilder.java
>>>>> =
>>>>> ==================================================================
>>>>> --- trunk/woproject/wolips/core/plugins/
>>>>> org.objectstyle.wolips.wodclipse.core/java/org/objectstyle/
>>>>> wolips/wodclipse/core/builder/WodBuilder.java 2007-11-19
>>>>> 14:36:33 UTC (rev 4653)
>>>>> +++ trunk/woproject/wolips/core/plugins/
>>>>> org.objectstyle.wolips.wodclipse.core/java/org/objectstyle/
>>>>> wolips/wodclipse/core/builder/WodBuilder.java 2007-11-19
>>>>> 16:54:29 UTC (rev 4654)
>>>>>.. -152,9 +152,6 @@
>>>>> Set<IContainer> builtComponents =
>>>>> componentBuildCache(buildCache);
>>>>> IContainer woFolder = resource.getParent();
>>>>> if (!builtComponents.contains(woFolder)) {
>>>>> - if (_buildKind ==
>>>>> IncrementalProjectBuilder.FULL_BUILD) {
>>>>> - file.touch(monitor);
>>>>> - }
>>>>> validate = true;
>>>>> builtComponents.add(woFolder);
>>>>> }
>>>>>.. -163,9 +160,6 @@
>>>>> Set<IContainer> builtComponents =
>>>>> componentBuildCache(buildCache);
>>>>> IContainer woFolder = resource.getParent();
>>>>> if (!builtComponents.contains(woFolder)) {
>>>>> - if (_buildKind ==
>>>>> IncrementalProjectBuilder.FULL_BUILD) {
>>>>> - file.touch(monitor);
>>>>> - }
>>>>> validate = true;
>>>>> builtComponents.add(woFolder);
>>>>> }
>>>>>.. -211,15 +205,16 @@
>>>>> }
>>>>>
>>>>> protected void validateWodFile(IFile file, IProgressMonitor
>>>>> progressMonitor) throws CoreException, LocateException {
>>>>> - String _resourceName = file.getName();
>>>>> + String resourceName = file.getName();
>>>>> if (progressMonitor != null) {
>>>>> - progressMonitor.subTask("Locating components for " +
>>>>> _resourceName + " ...");
>>>>> + progressMonitor.subTask("Locating components for " +
>>>>> resourceName + " ...");
>>>>> }
>>>>> WodParserCache cache = WodParserCache.parser(file);
>>>>> if (progressMonitor != null) {
>>>>> progressMonitor.subTask("Building WO " +
>>>>> cache.getWodFile().getName() + " ...");
>>>>> }
>>>>> try {
>>>>> + cache.clearValidationCache();
>>>>> cache.parseHtmlAndWodIfNecessary();
>>>>> cache.validate();
>>>>> }
>>>>>
>>>>
>>>
>>>
>>
>>
>
This archive was generated by hypermail 2.0.0 : Wed Nov 21 2007 - 05:34:20 EST