Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Can I avoid having all my OSDI containers copied?

Hi Patrick,

In Equinox, you can avoid the copying of bundles into the configuration area by preceding the bundle path with "reference:" - so, for example, "reference:file:plugins/org.opendaylight.controller.clustering.services-implementation-0.4.0.jar". This will use the bundle in-place.

Natives will still be copied out into the configuration area, as they must be 'real' files.

Thanks,
Ben





From:        Patrick Valsecchi <pvalsecc@xxxxxxxxx>
To:        equinox-dev@xxxxxxxxxxx
Date:        19/11/2013 08:20
Subject:        [equinox-dev] Can I avoid having all my OSDI containers copied?
Sent by:        equinox-dev-bounces@xxxxxxxxxxx




Hi,
I'm running on a platform that has very limited disk space and I was looking at disk usage of OpenDaylight.
The biggest directories are the plugins and configuration/org.eclipse.osgi/bundlesdirectories. The plugins directory is where all my bundles are, so I'm OK with it. But theconfiguration/org.eclipse.osgi/bundles directory seems to contain mostly copies of my bundles.
For example configuration/org.eclipse.osgi/bundles/117/1/bundlefile is an exact copy ofplugins/org.opendaylight.controller.clustering.services-implementation-0.4.0.jar. That is a big waste of disk space.
I've tried to find a configuration option to disable that and found nothing. Is there something?
I've looked at the Equinox source code as well and didn't find anything. Can somebody point me to the location in the code where this is done? I'd like to disable that or at least replace it by a hard link.
Thanks_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev


Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU

Back to the top