I looked at OSGi syntax before
implementing this, but it just wasn’t flexible enough so I chose to
borrow ideas from it instead of adopting it verbatim. Regarding your suggestion
to change the meaning of comma from ‘or’ to ‘and’
depending on the context that’s it is used in, I think that would cause
more confusion than it would solve.
From: Michael Elder
Sent: Monday, April 10, 2006 6:48
To: General discussion of
project-wide or architectural issues.
Cc: Konstantin Komissarchik;
Subject: Re: [wtp-dev] RE: Facets
I think that this kind of error is likely to be repeated
with many developers. I think it would make more sense for [ or ( x , y ,
) or ] style notation to mimic the OSGi standard used by Eclipse. I think allowing
a comma (",") to be "or" outside of brackets or parenthesis
is still okay; but the [(x , y)] being interpretted as two independent units
"[(x" and "y)]" just isn't intuitive.
Michael D. Elder
Rational Studio / Services Tools Development
IBM RTP Lab
Ext: (919) 543-8356
04/07/2006 06:18 PM
"General discussion of project-wide or architectural issues."
[wtp-dev] RE: Facets
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
From: "Konstantin Komissarchik" <kosta@xxxxxxx>
Subject: RE: Facets
_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]”...
From: Kevin Bauer
Sent: Thursday, April 06, 2006 12:37 PM
To: Konstantin Komissarchik
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...
facet="jst.web" version="[2.3, 2.4]"/>
and it no longer indicated that a 2.2 web project was invalid. Has this
been addressed? If so in what build?
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.
wtp-dev mailing list