[jbosstools-issues] [JBoss JIRA] (JBIDE-25152) Make the old Hibernate runtime plugins optional

Nick Boldt (JIRA) issues at jboss.org
Thu Oct 5 09:34:01 EDT 2017


    [ https://issues.jboss.org/browse/JBIDE-25152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13472826#comment-13472826 ] 

Nick Boldt commented on JBIDE-25152:
------------------------------------

Simplest option would be to expose these plugins on the update sites directly, then mark all but the latest deprecated.

And we could include only the last one in the CoreTools / OOTB install from Marketplace/devstudio installer.

For the tests, however, I suppose they need to be updated to 5_2, ideally in a global variable in a single place (rather than hardcoded everywhere), and we can mark the old version-specific ones deprecated too. 

Then all these deprecated plugins should either be contained in a runtime.old feature / runtime.test.old feature, or simply removed so they're only exposed one by one on the update sites.

Here's the complete list of IUs:

* hibernate-search-plugins/org.jboss.tools.hibernate.search.runtime.v_4_0
* hibernate-search-plugins/org.jboss.tools.hibernate.search.runtime.v_5_3
* hibernate-search-plugins/org.jboss.tools.hibernate.search.runtime.v_5_5
* hibernate-search-plugins/org.jboss.tools.hibernate.search.runtime.v_5_5.1
* hibernate-search-plugins/org.jboss.tools.hibernate.search.runtime.v_5_7

* plugins/org.jboss.tools.hibernate.libs.antlr.v_2_7_7
* plugins/org.jboss.tools.hibernate.libs.bsh.v_2_0_b4
* plugins/org.jboss.tools.hibernate.libs.dom4j.v_1_6_1
* plugins/org.jboss.tools.hibernate.libs.freemarker.v_2_3_8
* plugins/org.jboss.tools.hibernate.libs.jtidy.v_r8-20060801

* plugins/org.jboss.tools.hibernate.runtime.v_3_5
* plugins/org.jboss.tools.hibernate.runtime.v_3_6
* plugins/org.jboss.tools.hibernate.runtime.v_4_0
* plugins/org.jboss.tools.hibernate.runtime.v_4_3
* plugins/org.jboss.tools.hibernate.runtime.v_5_0
* plugins/org.jboss.tools.hibernate.runtime.v_5_1
* plugins/org.jboss.tools.hibernate.runtime.v_5_2

* tests/org.jboss.tools.hibernate.runtime.v_3_5.test
* tests/org.jboss.tools.hibernate.runtime.v_3_6.test
* tests/org.jboss.tools.hibernate.runtime.v_4_0.test
* tests/org.jboss.tools.hibernate.runtime.v_4_3.test
* tests/org.jboss.tools.hibernate.runtime.v_5_0.test
* tests/org.jboss.tools.hibernate.runtime.v_5_1.test
* tests/org.jboss.tools.hibernate.runtime.v_5_2.test


> Make the old Hibernate runtime plugins optional
> -----------------------------------------------
>
>                 Key: JBIDE-25152
>                 URL: https://issues.jboss.org/browse/JBIDE-25152
>             Project: Tools (JBoss Tools)
>          Issue Type: Task
>          Components: hibernate
>    Affects Versions: 4.5.1.AM2
>            Reporter: Koen Aers
>             Fix For: 4.5.1.Final
>
>
> There are a fair number of Hibernate runtime plugins available for the current JBoss Tools. They are named ‘org.jboss.tools.hibernate.runtime.v_x_y’ and use the actual core Hibernate (and Hibernate tools) classes to implement the SPI defined in ‘org.jboss.tools.hibernate.runtime.spi’. But the number of these implementations keeps growing and so it is needed to get this under control. The aimed solution is to only provide the most recent implementation and make the other ones installable on request. 
> To solve this issue all the places where the actual Hibernate version is hardcoded need to be identified and only the latest version can be used. This is especially true for the tests in 'org.hibernate.eclipse.console.test' which use version 3.5.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the jbosstools-issues mailing list