It’s similar, but not identical to
eclipse plugin dependency range syntax. The commas are ORs. You can run fairly
complex expressions like “1.0,1.2,[2.5-3.75),[5.0”.
- Konstantin
From: Kevin Bauer
[mailto:kmbauer@xxxxxxxxxx]
Sent: Friday, April 07, 2006 3:18
PM
To: Konstantin Komissarchik
Cc: wtp-dev@xxxxxxxxxxx
Subject: RE: Facets
I will give that a try. I did not
get that , meant or. I was thinking of the eclipse plugin dependency ranges.
Friday,
April 07, 2006 6:13 PM
To: Kevin Bauer/Raleigh/IBM@IBMUS
cc: <wtp-dev@xxxxxxxxxxx>
From: "Konstantin Komissarchik" <kosta@xxxxxxx>
Subject: RE: Facets
Kevin,
_expression_ “[2.3, 2.4]” means
“greater than or equal to 2.3 or less than or equal to 2.4”. That
matches 2.2. What are you trying to represent. The direct translation of
“>:2.3” is “[2.3”. Perhaps you were trying for
“[2.3-2.4]”...
- Konstantin
From: Kevin Bauer
[mailto:kmbauer@xxxxxxxxxx]
Sent: Thursday, April 06, 2006
12:37 PM
To: Konstantin Komissarchik
Cc: wtp-dev@xxxxxxxxxxx
Subject: Facets
Konstantin,
I have
a build based on a 200603302119-200603302119 version of
WTP. In my build my facets started giving me messages like...
The
">", ">=", "<", and "<="
notation in version expressions has been deprecated. It used in plugin
com.ibm.etools.myplugin. Note that the angle brackets are represented via
"<" and ">" in the plugin.xml files. The
functionality has been replaced with range notation. For instance
"[X-Y)" means all versions greater or equals to X and less than Y.
Open ranges such as "(X" or "Y]" are also allowed.
However
I changed my facet from...
<constraint>
<requires
facet="jst.web" version=">=2.3"/>
</constraint>
To...
<constraint>
<requires
facet="jst.web" version="[2.3, 2.4]"/>
</constraint>
and it
no longer indicated that a 2.2 web project was invalid. Has this been
addressed? If so in what build?
Thanks,
Kevin Bauer
_______________________________________________________________________
Notice: This email message, together with any attachments, may contain
information of BEA Systems, Inc., its subsidiaries and affiliated
entities, that may be confidential, proprietary, copyrighted and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.