[jbosstools-dev] Managing multiple versions of a spec in a plugin
Xavier Coulon
xcoulon at redhat.com
Thu Mar 13 03:59:43 EDT 2014
Alexey,
Thanks for the feedback on CDI. What about the CDI Facet in the project settings ? Do you programmatically switch the value (1.0 vs 1.1) if jars changed in the classpath ?
I think m2e-wtp has some connectors for that, but some user may also just set a Target Server (AS6, AS7 or Wildfly, etc.).
I guess I'll also have different validation rules that will be activated depending on the version of the spec the user selected.
Best regards,
/Xavier
On 12 Mar 2014, at 18:24, Alexey Kazakov <akazakov at exadel.com> wrote:
> On 03/12/2014 08:32 AM, Max Rydahl Andersen wrote:
>> Depends on how big differences there are. But in general, same plugin
>> supports multiple versions. Look at JDT, WTP, Hibernate, Seam, Ant,
>> Maven, etc. /max
>
> And CDI too.
> We keep all needed code in the same plugins.
> We switch to desired implementation depending on user's classpath. So
> users don't have to change any project settings/preferences/facets to
> switch from CDI 1.0 to CDI 1.1. Changing CDI JARs is enough.
> _______________________________________________
> jbosstools-dev mailing list
> jbosstools-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbosstools-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jbosstools-dev/attachments/20140313/39400a63/attachment.html
More information about the jbosstools-dev
mailing list