Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Requirement not mirrored with tycho-p2-extras:mirror

I just explicitly mirrored both versions. Only the latest version is mirrored although I explicitly want to mirror the old on as well. 
I do not have an idea how to solve this, despite setting latestVersionOnly to false :-(

<configuration>
	<source>
		<repository>
			<url>http://download.eclipse.org/eclipse/updates/4.7</url>
		</repository>
	</source>
	<ius>
		<iu>
			<id>org.eclipse.jdt.annotation </id>
			<version>1.1.150.v20180322-1206</version>
		</iu>
		<iu>
			<id>org.eclipse.jdt.annotation </id>
			<version>2.1.150.v20180322-1206</version>
		</iu>
	</ius>
	<latestVersionOnly>true</latestVersionOnly>
</configuration>


----- Urspr√ľngliche Mail -----
Von: "Oliver Libutzki" <oliver@xxxxxxxxxxx>
An: "tycho-user" <tycho-user@xxxxxxxxxxx>
Gesendet: Dienstag, 8. Mai 2018 12:37:30
Betreff: [tycho-user] Requirement not mirrored with tycho-p2-extras:mirror

Hi everyone,

I try to mirror the iu org.eclipse.jdt.feature.group (Version: 3.13.4.v20180330-0919) from http://download.eclipse.org/eclipse/updates/4.7 by using the tycho (1.1.0) mirror goal.

I have all the default settings of the goal with one exception: latestVersionOnly is set to true.

After mirroring the p2 repo seems to have an inconsistent state as I get this error message when using it:

Missing requirement: Eclipse Java Development Tools 3.13.4.v20180330-0919 (org.eclipse.jdt.feature.group 3.13.4.v20180330-0919) requires 'org.eclipse.jdt.annotation [1.1.150.v20180322-1206]' but it could not be found

Obviudly only the latest version of org.eclipse.jdt.annotation (2.1.150.v20180322-1206) has been mirrored. Obviously this happens, because latestVersionOnly is set to true. Anyway, org.eclipse.jdt.feature.group has a strict version requirement for 1.1.150.v20180322-1206, so my expectation is that this version is mirrored as well.

Is this is bug? Do you know any workaround? Using latestVersionOnly=false leads to a very, very huge repo which I just don't need.

Kind regards
Oliver
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top