[
https://issues.jboss.org/browse/TEIIDDES-840?page=com.atlassian.jira.plug...
]
Nick Boldt commented on TEIIDDES-840:
-------------------------------------
http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.platform.doc....
match - optional matching rule. Valid values and processing are as follows:
* if version attribute is not specifies, the match attribute (if specified) is
ignored.
* perfect - dependent plug-in version must match exactly the specified version. If
"patch" is "true", "perfect" is assumed and other values
cannot be set.
* equivalent - dependent plug-in version must be at least at the version specified, or
at a higher service level (major and minor version levels must equal the specified
version).
* compatible - dependent plug-in version must be at least at the version specified, or
at a higher service level or minor level (major version level must equal the specified
version).
* greaterOrEqual - dependent plug-in version must be at least at the version
specified, or at a higher service, minor or major level.
Doesn't say what the default match rule is, so setting it explicitly isn't a bad
idea. :)
soften requirement limits in feature.xml <import> statements to
ensure users can use DTP 1.7.x with latest Teiid 7.1.x
----------------------------------------------------------------------------------------------------------------------
Key: TEIIDDES-840
URL:
https://issues.jboss.org/browse/TEIIDDES-840
Project: Teiid Designer
Issue Type: Bug
Components: Build
Affects Versions: 7.1.1
Reporter: Nick Boldt
Fix For: 7.4
Looking in branches/7.1/features/org.teiid.designer.runtime.feature/feature.xml, I see
that you have very restrictive limits on required imported features:
<requires>
<import feature="org.eclipse.datatools.common.doc.user"
version="1.7.0.v200908280400-26-311A16321A3557"/>
<import feature="org.eclipse.datatools.connectivity.doc.user"
version="1.7.0.v200908280400-37D-7733L3D753L7BBF"/>
<import feature="org.eclipse.datatools.connectivity.feature"
version="1.7.0.v200908280400-7B7OAIEn1XeacwFFi4FhDyooRMY"/>
<import
feature="org.eclipse.datatools.connectivity.oda.designer.feature"
version="1.7.1.v200908280400-7E7C77DZRDEBDyIYEqgX"/>
<import feature="org.eclipse.datatools.connectivity.oda.feature"
version="1.7.1.v200908280400-7H794CcNBC0BvEdEXZe"/>
<import feature="org.eclipse.datatools.doc.user"
version="1.7.0.v200908280400-47C08w95ENAK6AFDFK7"/>
<import feature="org.eclipse.datatools.enablement.apache.derby.feature"
version="1.7.0.v200908280400-7768bBmKDLfMjHuIFJW7SBI"/>
<import feature="org.eclipse.datatools.enablement.feature"
version="1.7.0.v200908280400-7J8i2BWwQJOaz-Gi2C5seJM2FX2f"/>
...
</requires>
Wondering if you should explicitly include a match rule for the sake of clarity, and omit
the qualifier/suffix so that you're not so brittle in your requirement.
For example, could use one of these formats:
<import plugin="org.eclipse.core.resources" version="3.2.0"
match="compatible"/>
or
<import feature="org.hibernate.eclipse.feature"
version="3.2.0" match="greaterOrEqual"/>
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira