Bug 255122 - [aspects] p2.inf for equinox aspects
Summary: [aspects] p2.inf for equinox aspects
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: Incubator (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: equinox.incubator-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2008-11-12 18:35 EST by Andrew Eisenberg CLA
Modified: 2009-04-29 15:30 EDT (History)
1 user (show)

See Also:


Attachments
p2.inf for a p2 installer (1.03 KB, patch)
2008-11-12 18:36 EST, Andrew Eisenberg CLA
mlippert: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Eisenberg CLA 2008-11-12 18:35:36 EST
I've been playing around with installing equinox aspects so that it can be installed from a P2 installer with automatically updating the config.ini.

The attached patch configures the bundle to do that.
Comment 1 Andrew Eisenberg CLA 2008-11-12 18:36:30 EST
Created attachment 117725 [details]
p2.inf for a p2 installer
Comment 2 Martin Lippert CLA 2008-11-21 15:51:41 EST
Applied the patch. Just changed the start level of the weaving service from 2 to 4. This makes it easier for configs where the configurator is started at a higher level than 1.
Comment 3 Martin Lippert CLA 2008-12-21 16:08:34 EST
I made a small change to this: I splitted the p2.inf file into multiple for each individual bundle. Now the p2.inf of the hook contains the hook configuration, p2.inf of weaving contains the weaving settings, and p2.inf for the caching bundles configure the different caching bundles. This follows the module structure of equinox aspects and allows you to re-use p2.inf for the hook bundle even if you implement your own weaving service.