Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337476 - [releng] Update site is named %feature name
Summary: [releng] Update site is named %feature name
Status: CLOSED FIXED
Alias: None
Product: OCL
Classification: Modeling
Component: Core (show other bugs)
Version: 3.1.0   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Adolfo Sanchez-Barbudo Herrera CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-17 13:41 EST by Ed Willink CLA
Modified: 2011-05-27 03:13 EDT (History)
0 users

See Also:


Attachments
Picture of anomally (20.09 KB, image/png)
2011-02-17 14:17 EST, Ed Willink CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Willink CLA 2011-02-17 13:41:52 EST
After using mdt-ocl-Update-3.1.0M5.zip as an Install New Software update site, the pull-down menu of sites shows %featureName.

Similar problems in thye past have been due to a missing bundleLocaliszation: Eclipse in the manifest.

[Acceleo has the same bug.]
Comment 1 Adolfo Sanchez-Barbudo Herrera CLA 2011-02-17 13:59:01 EST
Ed,

I don't follow your steps:

When using mdt-ocl-Update-3.10M5.zip to install new software I see an error concerning that there is an uncategorized feature (our org.eclipse.ocl.master feature). which also merits bugzilla ;P

P.S: I must note that I'm using an Eclipse Installation which already contains the OCL stuff.
Comment 2 Ed Willink CLA 2011-02-17 14:17:15 EST
Created attachment 189217 [details]
Picture of anomally

I meant

"Bundle-Localization: plugin"
Comment 3 Adolfo Sanchez-Barbudo Herrera CLA 2011-03-01 05:33:17 EST
Well, after some investigation I'm not sure why this doesn't properly work. My feelings buckminster issue...

- It's supposed that this name come from the build-feature name, which is supposed to use the feature.properties because the feature.xml file has been externalized.
- Other projects such EMF, Xtext which also tries to use a feature.properies file have had to move the feature name to the the one feature.xml rather than externalize it in the feature.properties file.
- I've also checked that buckminster build features don't externalize the feature.xml (no feature.properties file around).
- Since the build feature is not included in our releases, the feature doesn't need to be externalized at all.

I'm removing the feature.properties file from the build feature and moving the information into the feature.xml file.
Comment 4 Adolfo Sanchez-Barbudo Herrera CLA 2011-03-01 05:59:26 EST
Committed to HEAD.

Running a build to check artifacts...

I've also included org.eclipse.ocl.master feature into category.xml file... I'd like to check how the p2 repository looks like. In case I see any other anomaly, I'll open a new bugzilla concerning said category.xml issue.

Cheers,
Adolfo.
Comment 5 Adolfo Sanchez-Barbudo Herrera CLA 2011-03-02 07:38:07 EST
Verified.

Resolving as Fixed
Comment 6 Ed Willink CLA 2011-03-02 12:09:19 EST
Are you sure it's fixed? I downloaded the N-build yesterday and the %feature has inded gone, but it has not been replaced by "MDT/OCL    ".
Comment 7 Adolfo Sanchez-Barbudo Herrera CLA 2011-03-02 12:20:32 EST
(In reply to comment #6)
> Are you sure it's fixed? I downloaded the N-build yesterday and the %feature has
> inded gone, but it has not been replaced by "MDT/OCL    ".

You experienced the same I did in comment1

Try to install software again and you will probably see "MDT/OCL Build Site". 

When you are adding a new software site from the wizard, you are also allowed to set a name which will probably hide the name from the software site. If none is set, at some point, the name from the software site is used (probably, when you try to download software from the site). In our case, the name of the build feature, which previously contained "%featureName" and now has the name of the feature "MDT/OCL Build Site".

Does this make sense ?

Regards,
Adolfo.
-
Comment 8 Ed Willink CLA 2011-05-27 03:13:46 EDT
Closing