Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] *.jar.pack.gz files missing in Oxygen CDT repository

For what it's worth, here's a p2.mirror script that can mirror a CDT update site regardless of the type of artifacts therein (jar or jar.pack.gz).

https://github.com/jbosstools/jbosstools-download.jboss.org/commit/ca8ea7bffcfe2f13478c34b9af3ffae9e4792206

If you omit the <iu/> qualifier on line 25, the entire site will be mirorred. Add more <iu/>s to mirror only specific artifacts.

Anyway, p2.mirror scripts are an ancient way to do site mirroring, but they still work. :)

Cheers,

Nick

On Tue, Jun 26, 2018 at 11:39 AM Jonah Graham <jonah@xxxxxxxxxxxxxxxx> wrote:
Yes, that is what I found in  Bug 457495 and the gerrit that did it, I was waiting for Joanne's bug to continue discussion there. However, AFAICT, the artifacts.xml still seems to refer to the pack.gz versions of the JARs.

I think the reason Neon included the .pack.gz in the zip is because it was a zip of the repository directory from the build machine as opposed to the zip file created by the maven bundle.

~~~
Jonah Graham
Kichwa Coders Ltd.
www.kichwacoders.com


On Tue, 26 Jun 2018 at 15:36, Marc-André Laperle <marc-andre.laperle@xxxxxxxxxxxx> wrote:

It was intentional to not include them in the zip as it makes it almost twice the size for no benefit to a user who wants to install it using the zip. The idea is that people who need to mirror it can do so using the unzipped p2 repo and the tycho mirror

https://wiki.eclipse.org/Tycho/Additional_Tools#mirror_goal

or build it from the repo.


Marc-André




From: cdt-dev-bounces@xxxxxxxxxxx <cdt-dev-bounces@xxxxxxxxxxx> on behalf of Joanne Woo <jwoo@xxxxxxxxxx>
Sent: Monday, June 25, 2018 2:35 PM
To: cdt-dev@xxxxxxxxxxx
Subject: [cdt-dev] *.jar.pack.gz files missing in Oxygen CDT repository
 
Hi,

I'm trying to create a mirror for Eclipse Oxygen and got the following error from using the CDT archived p2 repo http://www.eclipse.org/downloads/download.php?file=/tools/cdt/releases/9.4/cdt-9.4.3/cdt-9.4.3.zip:

Messages while mirroring artifact descriptors:

Artifact not found: jar:file:/opt/git/eclipse_oxygen_mirror/com.mvista.devrocket.p2site/scripts/../p2-archives/cdt-9.4.3.zip!/plugins/org.eclipse.cdt.codan.core.cxx_3.4.0.201802261533.jar.pack.gz.

I noticed that none of the *jar.pack.gz files which existed in the Neon CDT repo are available in the Oxygen CDT repo.  Is this intentional?

Joanne

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


--

Nick Boldt

Principal Software Engineer, RHCSA

Productization Lead :: JBoss Tools & Dev Studio

IM: @nickboldt / @nboldt / http://nick.divbyzero.com



“The Only Thing That Is Constant Is Change” - Heraclitus

Back to the top