Community
Participate
Working Groups
Build ID: I20090430-2300 Steps To Reproduce: It seems like buckminster does not support a dash as a separator between bundle name and version for the complete filename of a target platform bundle, i.e. <symbolic name>-<version>.jar files are not included in an update site, while their underscore counterparts are, i.e. <symbolic name>_<version>.jar works perfectly. More information: Please refer as well to the following two threads: http://www.eclipse.org/newsportal/article.php?id=1065&group=eclipse.tools.buckminster#1065 http://www.eclipse.org/newsportal/article.php?id=1070&group=eclipse.tools.buckminster#1070
Just setting the right extend of this issue: This is not only about supporting 'dashes', but actually buckminster is currently only able handling plug-ins following the naming scheme <plugin's symbolic name>_version.jar.
Alex, could you provide a sample that reproduces this problem?
Created attachment 149366 [details] Sample projects showing the deficiency
Attached you will find now a sample project that is hopefully able reproducing the problem (and maybe some other problems, but that is for later). In order to show the problem, just do the following: 1) Please refer to the embedded readme project/file. 2) Invoke the buckminster action 'site.p2' on the 'test.updatesite' project using the 'buckminster properties' as defined in /test.updatesite/buckminster.properties'. If you now change to the directory '${rootdir}\buckminster\output\test.updatesite_1.0.0-eclipse.feature\site.p2\plugins', you will already see that the plugin 'com.springsource.org.apache.commons.io-1.4.0.jar' is not included in the p2 udpate site. Just get in touch again if something does not work as expected.
Note: This issue occurs for instance for all bundles from SpringSource Enterprise Bundle Repository (http://www.springsource.com/repository/app/). There, not only the dash is used instead of underscore, but additionally, the source bundle names are different, for example: org.springframework.beans-sources-3.0.0.RELEASE.jar (Buckminster only copies this file in its copy.plugins action, if one renames it to org.springframework.beans.source_3.0.0.RELEASE.jar)