Hi Jean,
> I'm working on the Spring bundles today, but I plan to resume my work on > GWT bundles tomorrow. > I'll be home and available to help! > Your patch can't be included in SMX bundle as you don't use the SMX > infrastructure (right now we use maven-bundle-plugin and shade). I don't > think BND and Ant are required to create a bundle for GWT. Ok, that patch however was for GWT and it works, but it has not been taken into account by GWT contributors. So I tried to make one also using SMX infrastructure and its pom.xml is copied here: https://gist.github.com/cristcost/8733491 but it does not work. Actually, maven-bundle-plugin uses BND (not BNDTools) and we should be able > to do OSGi bundles for GWT (I did GWT 2.4 bundles without problem). > I was not aware of existence of BNDTools :-) I used BND directly with an Ant task. there are three main jar in GWT distribution: - gwt-user.jar - gwt-dev.jar - gwt-servlet.jar what is needed at runtime on a Java server, is the last one. Unfortunately it is not a regular project but rather a subset of classes from gwt-user.jar and gwt-dev.jar, so in gwt-servlet.jar there are unresolved references which make maven-bundle-plugin fail (but BND 1.50.00 standalone works). > The behaviour also depends on the maven-bundle-plugin version. Did you try > with 2.4.0 ? > I'm able to compile gwt-dev-2.4.0 and gwt-user-2.4.0 simply by updateing the parent to org.apache.servicemix.bundles/bundles-pom/12-SNAPSHOT gwt-user-.2.6.0 and gwt-dev-.2.6.0 gives me "Unresolved references" I'll try to now to compile my Ant patch with a BND tool of the same version of maven-bundle-plugin Regards, Cristiano
