[jboss-dev-forums] [Design of JBoss Eclipse IDE (dev)] - Re: WAS: Hibernate Tools not forward compatible with WTP (@h
dlmiles
do-not-reply at jboss.com
Thu Aug 3 10:08:41 EDT 2006
"max.andersen at jboss.com" wrote : that stuff is definitly not needed in hibernate tools distribution....are you not looking at the full big distribution now ?
LOL. No! I think you are missing the point being made.
Here is a listing of org.eclipse.* files from hibernate tools:
| 59149 Fri Jul 14 03:07:30 BST 2006 plugins/org.apache.xerces_2.8.0.v200606131651/resolver.jar
| 1201551 Fri Jul 14 03:07:32 BST 2006 plugins/org.apache.xerces_2.8.0.v200606131651/xercesImpl.jar
| 198762 Fri Jul 14 03:07:30 BST 2006 plugins/org.apache.xerces_2.8.0.v200606131651/xml-apis.jar
| 484641 Fri Jul 14 03:07:32 BST 2006 plugins/org.eclipse.draw2d_3.2.0.v20060626.jar
| 154682 Fri Jul 14 03:07:32 BST 2006 plugins/org.eclipse.emf.common_2.2.0.v200606271057.jar
| 69767 Fri Jul 14 03:07:32 BST 2006 plugins/org.eclipse.emf.ecore.change_2.2.0.v200606271057.jar
| 73902 Fri Jul 14 03:07:32 BST 2006 plugins/org.eclipse.emf.ecore.edit_2.2.0.v200606271057.jar
| 169972 Fri Jul 14 03:07:32 BST 2006 plugins/org.eclipse.emf.ecore.xmi_2.2.0.v200606271057.jar
| 749588 Fri Jul 14 03:07:32 BST 2006 plugins/org.eclipse.emf.ecore_2.2.0.v200606271057.jar
| 225067 Fri Jul 14 03:07:32 BST 2006 plugins/org.eclipse.emf.edit_2.2.0.v200606271057.jar
| 748073 Fri Jul 14 03:07:32 BST 2006 plugins/org.eclipse.gef_3.2.0.v20060626.jar
| 91656 Fri Jul 14 03:07:32 BST 2006 plugins/org.eclipse.jem.util_1.2.0.v20060530_RC2.jar
| 35071 Fri Jul 14 03:07:32 BST 2006 plugins/org.eclipse.wst.common.core_1.1.0.v200606130645.jar
| 182926 Fri Jul 14 03:07:32 BST 2006 plugins/org.eclipse.wst.common.emf_1.1.0.v200606130645.jar
| 122035 Fri Jul 14 03:07:32 BST 2006 plugins/org.eclipse.wst.common.emfworkbench.integration_1.1.0.v200606130645.jar
| 37662 Fri Jul 14 03:07:32 BST 2006 plugins/org.eclipse.wst.common.environment_1.0.100.v200606130645.jar
| 106267 Fri Jul 14 03:07:32 BST 2006 plugins/org.eclipse.wst.common.frameworks_1.1.0.v200606130645.jar
| 162102 Fri Jul 14 03:07:32 BST 2006 plugins/org.eclipse.wst.common.project.facet.core_1.1.0.v200606130645.jar
| 172610 Fri Jul 14 03:07:32 BST 2006 plugins/org.eclipse.wst.common.project.facet.ui_1.1.0.v200606130645.jar
| 119099 Fri Jul 14 03:07:34 BST 2006 plugins/org.eclipse.wst.common.ui_1.1.0.v200606142122.jar
| 31779 Fri Jul 14 03:07:34 BST 2006 plugins/org.eclipse.wst.common.uriresolver_1.1.0.v200606130645.jar
| 388727 Fri Jul 14 03:07:34 BST 2006 plugins/org.eclipse.wst.dtd.core_1.1.0.v200606141450.jar
| 367107 Fri Jul 14 03:07:34 BST 2006 plugins/org.eclipse.wst.sse.core_1.1.0.v200606141450.jar
| 670902 Fri Jul 14 03:07:34 BST 2006 plugins/org.eclipse.wst.sse.ui_1.0.101.v200606191900.jar
| 184914 Fri Jul 14 03:07:34 BST 2006 plugins/org.eclipse.wst.validation_1.1.0.v200606130645.jar
| 603544 Fri Jul 14 03:07:34 BST 2006 plugins/org.eclipse.wst.xml.core_1.1.0.v200606142000.jar
| 646889 Fri Jul 14 03:07:34 BST 2006 plugins/org.eclipse.wst.xml.ui_1.0.100.v200606141450.jar
| 697947 Fri Jul 14 03:07:34 BST 2006 plugins/org.eclipse.xsd_2.2.0.v200606271057.jar
|
|
These files constiture the following FULL features from pre-requisites:
<import plugin="org.eclipse.gef" version="3.2.0" match="greaterOrEqual"/> <!-- REF1 -->
| <import plugin="org.eclipse.wst.xml_core.feature" version="1.5.0" match="greaterOrEqual"/> <!-- REF2 -->
| <import plugin="org.eclipse.wst.common_core.feature" version="1.5.0" match="greaterOrEqual"/> <!-- REF3 -->
| <import plugin="org.eclipse.wst.common_ui.feature" version="1.5.0" match="greaterOrEqual"/> <!-- REF4 -->
| <import plugin="org.apache.xerces.feature" version="2.8.0" match="greaterOrEqual" /> <!-- REF5 -->
| <import plugin="org.eclipse.xsd" version="2.2.0" match="greaterOrEqual" /> <!-- REF6 -->
| <import plugin="org.eclipse.jem" version="1.2.0" match="greaterOrEqual" /> <!-- REF7 -->
| <import plugin="org.eclipse.wst.xml_ui.feature" version="1.5.0" match="greaterOrEqual" /> <!-- REF8 -->
| <import plugin="org.eclipse.emf" version="2.2.0" match="greaterOrEqual" /> <!-- REF9 -->
|
Except you dont also distribute the related feature files here is a list of SOME of the missing files from the HibernateTools distiribution:
features/org.eclipse.emf_2.2.0.v200606271057
| features/org.eclipse.emf_2.2.0.v200606271057/license.html
| features/org.eclipse.emf_2.2.0.v200606271057/eclipse_update_120.jpg
| features/org.eclipse.emf_2.2.0.v200606271057/feature.properties
| features/org.eclipse.emf_2.2.0.v200606271057/epl-v10.html
| features/org.eclipse.emf_2.2.0.v200606271057/feature.xml
|
| features/org.eclipse.gef_3.2.0.v20060626/
| features/org.eclipse.gef_3.2.0.v20060626/license.html
| features/org.eclipse.gef_3.2.0.v20060626/eclipse_update_120.jpg
| features/org.eclipse.gef_3.2.0.v20060626/feature.properties
| features/org.eclipse.gef_3.2.0.v20060626/epl-v10.html
| features/org.eclipse.gef_3.2.0.v20060626/feature.xml
|
| features/org.eclipse.jem_1.2.0.v20060530_RC2--ZasJzJJez/
| features/org.eclipse.jem_1.2.0.v20060530_RC2--ZasJzJJez/license.html
| features/org.eclipse.jem_1.2.0.v20060530_RC2--ZasJzJJez/eclipse_update_120.jpg
| features/org.eclipse.jem_1.2.0.v20060530_RC2--ZasJzJJez/feature.properties
| features/org.eclipse.jem_1.2.0.v20060530_RC2--ZasJzJJez/epl-v10.html
| features/org.eclipse.jem_1.2.0.v20060530_RC2--ZasJzJJez/feature.xml
|
| features/org.eclipse.xsd_2.2.0.v200606271057/
| features/org.eclipse.xsd_2.2.0.v200606271057/license.html
| features/org.eclipse.xsd_2.2.0.v200606271057/eclipse_update_120.jpg
| features/org.eclipse.xsd_2.2.0.v200606271057/feature.properties
| features/org.eclipse.xsd_2.2.0.v200606271057/epl-v10.html
| features/org.eclipse.xsd_2.2.0.v200606271057/feature.xml
|
| yadda, yadda...
Note you are not distributing a full version of WTP only a verbatim copy of the pre-requisites you require for hibernate tools to function. The extra files would probably account for less than 200K in the HibernateTools distribution.
If you are going to re-distribute features from WTP at least do so in their original form not a bastardized version. The original form has both plugins/* files and features/* files. This way you can correctly make use of <import ...> and break away from <plugin ...>.
For update site purposes you simply mark out in the site.xml all the available features from that download site.
For sorceforge download purposes you simply include the relevant features/* files in the HibernateTools-XYZ.zip
Then you are compatible with the way the original feature was distributed.
Ideally your update site has each feature in a seperate JAR file and the site.xml and update manager works out a list of files it needs to satisfy all pre-requisite requriements (for fine grained downloading). But the first step on the road to that is to properly re-distribute your pre-requisites so they can be detected and seen as equivalent features by the platform.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962851#3962851
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962851
More information about the jboss-dev-forums
mailing list