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.
- Konstantin
From: Michael Elder
[mailto:mdelder@xxxxxxxxxx]
Sent: Monday, April 10, 2006 6:48
AM
To: General discussion of
project-wide or architectural issues.
Cc: Konstantin Komissarchik;
wtp-dev@xxxxxxxxxxx; wtp-dev-bounces@xxxxxxxxxxx
Subject: Re: [wtp-dev] RE: Facets
Hi Kosta,
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.
-------------------------------------------------------------------------
Kind Regards,
Michael D. Elder
Rational Studio / Services Tools Development
IBM RTP Lab
Ext: (919) 543-8356
T/L: 441-8356
mdelder@xxxxxxxxxx
Kevin Bauer/Raleigh/IBM@IBMUS
Sent
by: wtp-dev-bounces@xxxxxxxxxxx
04/07/2006 06:18 PM
Please
respond to
"General discussion of project-wide or architectural issues."
<wtp-dev@xxxxxxxxxxx>
|
|
To
|
"Konstantin Komissarchik"
<kosta@xxxxxxx>
|
cc
|
wtp-dev@xxxxxxxxxxx
|
Subject
|
[wtp-dev] RE: Facets
|
|
Konstantin,
I
will give that a try. I did not get that , meant or. I was thinking
of the eclipse plugin dependency ranges.
Thanks,
Kevin
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.
_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-dev