Bug 278304 - Target platform bundles following an 'unusual naming scheme' are not handled correctly when building update site
Summary: Target platform bundles following an 'unusual naming scheme' are not handled ...
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Buckminster (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: buckminster.core-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-28 17:38 EDT by Alex Chatziparaskewas CLA
Modified: 2019-02-25 14:41 EST (History)
2 users (show)

See Also:


Attachments
Sample projects showing the deficiency (313.26 KB, application/x-zip)
2009-10-12 10:49 EDT, Alex Chatziparaskewas CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Chatziparaskewas CLA 2009-05-28 17:38:45 EDT
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
Comment 1 Alex Chatziparaskewas CLA 2009-06-01 15:08:20 EDT
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.
Comment 2 Thomas Hallgren CLA 2009-10-01 07:11:11 EDT
Alex, could you provide a sample that reproduces this problem?
Comment 3 Alex Chatziparaskewas CLA 2009-10-12 10:49:40 EDT
Created attachment 149366 [details]
Sample projects showing the deficiency
Comment 4 Alex Chatziparaskewas CLA 2009-10-12 10:50:57 EDT
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.
Comment 5 Stefan Ocke CLA 2010-01-22 09:11:52 EST
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)