[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] Discovery URL from feature.xml not reflected in content.xml
|
Tobias Oberlies wrote:
> Where does the repository contain the URL? In the headers or in one of the units?
Here's what the content.xml of "Export/Deployable features" looks like:
<repository name='Exported Repository'
type='org.eclipse.equinox.internal.p2.metadata.repository.LocalMetadataRepository'
version='1.0.0'>
<properties size='2'>
<property name='p2.timestamp' value='1373557114559'/>
<property name='p2.compressed' value='true'/>
</properties>
<references size='2'>
<repository uri='http://example.org' url='http://example.org'
type='1' options='0'/>
<repository uri='http://example.org' url='http://example.org'
type='0' options='0'/>
</references>
...
So it's in the headers of the repository, I guess.
> In the former case, this wouldn't work because when eclipse-repository aggregates the build result, it only copies units and not repository headers.
Well, what I don't get is why something that was part of the unit (being
declared in the unit's feature.xml [1]) got moved to the
repository-header level.
Is there any chance that this will be supported in future versions of
Tycho or do I fundamentally misunderstand what eclipse-repository does?
Anyway, thanks for your help so far.
Andreas
[1]
<http://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fmisc%2Ffeature_manifest.html>
--
Codetrails UG (haftungsbeschränkt)
The knowledge transfer company
Robert-Bosch-Str. 7, 64293 Darmstadt
Mobile: +49-170-811-3791
http://www.codetrails.com/
Managing Director: Dr. Marcel Bruch
Handelsregister: Darmstadt HRB 91940