Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Not seeing repositories from feature.xml files in content.xml/jar

The repository we want is actually our own update site. This isn't the same as the one used for Eclipse train aggregation. So, for example, for indigo-sr1, we specified update-indigo-sr1 for the aggregation. Our project may have point releases between the time of SR1 and SR2 and those will be placed in our regular update site ("update").

When a user goes to the indigo update site for the first time, all the sub-projects that have their own update sites specified in their content.xml files are automatically added to the list of update sites available. This means the user doesn't have to manually input the update site for ptp, CDT, EMF, etc... They too have separate update sites from the aggregation site.

When we were using a pde-build mechanism, this worked fine and now that we have switched to tycho, it no longer works. The problem was tracked down to the missing repository references in our content.xml. Right now, we are one of the only sub-projects that doesn't have its site added to the update site list.

I am trying to figure out if we are missing a step or parameter or whether the call to tycho-p2-publisher-plugin should have done this for us. I don't want to have a manual step at the end of build.

-- Jeff J.

On 11/14/2011 09:55 AM, Oberlies, Tobias wrote:
What do you need other repositories in the content.xml for?

Regards
Tobias


-----Original Message-----
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-
bounces@xxxxxxxxxxx] On Behalf Of Jeff Johnston
Sent: Freitag, 4. November 2011 23:39
To: tycho-user@xxxxxxxxxxx
Subject: [tycho-user] Not seeing repositories from feature.xml files in
content.xml/jar

I am using tycho to build my project.

    <packaging>eclipse-repository</packaging>

    <build>
      <plugins>
        <plugin>
          <groupId>org.eclipse.tycho</groupId>
          <artifactId>tycho-p2-publisher-plugin</artifactId>
          <version>${tycho-version}</version>
          <configuration>
            <publishArtifacts>true</publishArtifacts>
          </configuration>
        </plugin>
      </plugins>
    </build>


The content.xml file created does not contain references to the update
repository site that is mentioned in all my feature.xml files.

How do I get the publisher to add that refence into content.xml?

-- Jeff J.
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user



Back to the top