Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » problem with Marker persistence in 3.0 M7
problem with Marker persistence in 3.0 M7 [message #152557] Tue, 06 April 2004 01:21 Go to next message
Dan Jacobs is currently offline Dan JacobsFriend
Messages: 13
Registered: July 2009
Junior Member
Hi all,

I'm having some difficulty with Markers using version 3.0 M7. Is there
anything special that needs to be done besides what I've got below? There
doesn't seem to be any other mention of this in the archive, so I assume
I'm neglecting to do something that should be obvious.

<extension id="jplates.classname.marker"
name="%jplatesClassNameMarker"
point="org.eclipse.core.resources.markers">
<super type=
" com.jplates.tools.eclipse.JPlatesPlugin.jplates.crossref.mar ker "/>
<attribute name="classname"/>
<persistent value="true"/>
</extension>

I'm using this marker type to record the qualified class-name on my JPlates
sources, which is handy for for creating breakpoints, and the markers are
getting created, but they're not still there after restarting Eclipse.

Thanks in advance,
-- Dan
Re: problem with Marker persistence in 3.0 M7 [message #152568 is a reply to message #152557] Tue, 06 April 2004 01:31 Go to previous message
Dan Jacobs is currently offline Dan JacobsFriend
Messages: 13
Registered: July 2009
Junior Member
Gee, I hate replying to my own postings, but I knew I must have just done
something stupid.

In this case, the String constant in my code didn't match the string
literal in the XML file.

It sure would be nice to have a configuration language that could be
properly cross-referenced with Java code, instead of having to eyeball it
and hope for the best. Are there any other language designers out there up
to the task of joining me on that one?

Cheers,
-- Dan

Dan Jacobs wrote:

> Hi all,
>
> I'm having some difficulty with Markers using version 3.0 M7. Is there
> anything special that needs to be done besides what I've got below?
> There doesn't seem to be any other mention of this in the archive, so I
> assume I'm neglecting to do something that should be obvious.
>
> <extension id="jplates.classname.marker"
> name="%jplatesClassNameMarker"
> point="org.eclipse.core.resources.markers">
> <super type=
> " com.jplates.tools.eclipse.JPlatesPlugin.jplates.crossref.mar ker "/>
> <attribute name="classname"/>
> <persistent value="true"/>
> </extension>
>
> I'm using this marker type to record the qualified class-name on my
> JPlates sources, which is handy for for creating breakpoints, and the
> markers are getting created, but they're not still there after
> restarting Eclipse.
>
> Thanks in advance,
> -- Dan
>
Previous Topic:Thanks for that little thing called exit value
Next Topic:directing debugger to non-java source editor
Goto Forum:
  


Current Time: Sat Jul 27 16:15:32 GMT 2024

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

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

Back to the top