[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[p2-dev] Loading eclipseextension repository with artifact size = 0
|
Hi,
I have following contents in artifact.xml file for eclipseextension repo:
<?artifactRepository version='1.1.0'?>
<repository name='/home/ali/path_to/eclipse/.eclipseextension'
type='org.eclipse.equinox.p2.artifact.repository.simpleRepository'
version='1.0.0'>
<properties size='3'>
<property name='p2.timestamp' value='1358545297882'/>
<property name='org.eclipse.update.site.policy' value='USER-EXCLUDE'/>
<property name='org.eclipse.update.site.list' value=''/>
</properties>
<mappings size='3'>
<rule filter='(& (classifier=osgi.bundle))'
output='${repoUrl}/plugins/${id}_${version}.jar'/>
<rule filter='(& (classifier=binary))'
output='${repoUrl}/binary/${id}_${version}'/>
<rule filter='(& (classifier=org.eclipse.update.feature))'
output='${repoUrl}/features/${id}_${version}.jar'/>
</mappings>
<artifacts size='0'/>
</repository>
When p2 loads the repository it shows that the size of artifacts is 298
instead of 0. Little investigation revealed that the artifacts are those
which are mentioned in eclipse/artifact.xml file:
<?artifactRepository version='1.1.0'?>
<repository name='Bundle pool'
type='org.eclipse.equinox.p2.artifact.repository.simpleRepository'
version='1.0.0'>
<properties size='2'>
<property name='p2.system' value='true'/>
<property name='p2.timestamp' value='1358545325329'/>
</properties>
<mappings size='3'>
<rule filter='(& (classifier=osgi.bundle))'
output='${repoUrl}/plugins/${id}_${version}.jar'/>
<rule filter='(& (classifier=binary))'
output='${repoUrl}/binary/${id}_${version}'/>
<rule filter='(& (classifier=org.eclipse.update.feature))'
output='${repoUrl}/features/${id}_${version}.jar'/>
</mappings>
<artifacts size='298'>
<artifact classifier='osgi.bundle'
id='org.eclipse.rse.services.files.ftp' version='3.0.300.v201101042155'>
<properties size='1'>
<property name='download.size' value='39844'/>
</properties>
</artifact>
...
Is it an expected behaviour (as the mappings of both repositories is
same)?
Thanks,
-Ali