Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-dev] what is a proper way to add the repositories used in tycho as a update site in eclipse?

Hi Mickael,

I could try the composite site approach:

<?xml version='1.0' encoding='UTF-8'?>
<?compositeMetadataRepository version='1.0.0'?>
<repository name=My Update Site
    type='org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository' version='1.0.0'>
  <properties size='2'>
    <property name='p2.compressed' value='true'/>
    <property name='p2.timestamp' value='1243822502499'/>
  <children size='5'>

    <child location=''/>
        <child location=''/>
        <child location=''/>
        <child location=''/>
        <child location=''/>


 it worked, but when I select the composite site, it shows a lot features that I would like not to show to customers.

Do you know if there is a way to setup composite to only show the main repository ?



On 04/09/12 12:00, Mickael Istria wrote:
On 09/04/2012 04:49 PM, Cristiano Gavião wrote:

I've created a p2 repository for my plugins using tycho, but I've not included all dependencies, just to get it more thin.

T proper build the plugin, I've set the p2 repositories that contains plugin's dependencies in the pom.

when I go to install the plugins in the eclipse IDE I need to add one by one by hand all p2 that contains the dependencies.

Is there anyway to easy this process, maybe automatically?
content.xml file support an "associate" tag to achieve this, but it does not seem to be configurable through Tycho/p2 publisher:
You can either tweak the output of eclipse-repository by creating a Mojo or a script to achieve that.
Or you can use a composite site that contains your site, and its dependencies site.

Mickael Istria
Eclipse developer at JBoss, by Red Hat
My blog - My Tweets

tycho-dev mailing list

Back to the top