Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » feature.xml reference question
feature.xml reference question [message #786578] Mon, 30 January 2012 15:51 Go to next message
Anonymous Programmer is currently offline Anonymous ProgrammerFriend
Messages: 4
Registered: November 2011
Junior Member
I had a look at the feature.xml specification under
Platform Plug-in Developer Guide > Reference > Other reference information > Feature manifest

At the description of the <import> element, I cannot see what is the behavior if the version attribute is specified but the match attribute is _not_ specified.

Is one of the four match attribute values (perfect, equivalent, compatible, greaterOrEqual) the default value? If yes, which one is the default value. If no, what is the behavior if the version attribute is specified and the match attribute is not specified?

Thank you in advance!
Re: feature.xml reference question [message #786656 is a reply to message #786578] Mon, 30 January 2012 17:22 Go to previous messageGo to next message
Martin Skorsky is currently offline Martin SkorskyFriend
Messages: 112
Registered: July 2009
Senior Member
http://help.eclipse.org/helios/topic/org.eclipse.platform.doc.isv/reference/misc/feature_manifest.html shows that 'compatible' is the default:

<!ATTLIST import
plugin CDATA #IMPLIED
feature CDATA #IMPLIED
version CDATA #IMPLIED
match (perfect | equivalent | compatible | greaterOrEqual) "compatible"
patch (true | false) "false"
>

Re: feature.xml reference question [message #786704 is a reply to message #786656] Mon, 30 January 2012 18:36 Go to previous message
Anonymous Programmer is currently offline Anonymous ProgrammerFriend
Messages: 4
Registered: November 2011
Junior Member
D'oh *self-facepalm*

I was so focused on the description of the attributes, that I did not come to the idea to find this information in the DTD.

Thank you!
Previous Topic:Test
Next Topic:Best way to package plugins
Goto Forum:
  


Current Time: Sat Apr 27 00:41:12 GMT 2024

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

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

Back to the top