Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] is tycho tycho-p2-director-plugin:1.4.0:materialize-products caching stuff?

OK found the problem this is a bit weird
not sure if i should make a bug for this

I think in the beginning those projects has first as a version "12" 

so in the maven repo i had for that project also a "12" dir besides "12.0.0"

the  assemble-repository  does take the "12.0.0" (how I say it really in the feature.xml)

But then   materialize-products   really takes the "12" instead of the "12.0.0"

If i delete the "12" dirs then it works ok

So it is a bit weird that there is a difference between the 2..

 



On Tue, 24 Sep 2019 at 17:34, Johan Compagner <jcompagner@xxxxxxxxxx> wrote:
Hi,

now that i need to keep for now the jre that i ship really to a fixed version because eclipse doesn't correctly upgrade those. I am testing if i then can for new install upgrade the jre but then who do an update don't see that (so I just need to keep the version fixed)

but to my big surprise if i build the product i still have the old one (I am testing now to upgrade to the jdk13 release) in my final build

image.png
in my target dir of the product plugin the "repository" is filled with the correct stuff
then the big zip is also fine (I guess that's just a zip of the repo dir)

but the products dir suddenly has the old stuff of the jre features...
how can that be?

if I look at the log:

[INFO] --- tycho-p2-repository-plugin:1.4.0:assemble-repository (default-assemble-repository) @ com.servoy.eclipse.product ---
[INFO]
[INFO] --- tycho-p2-repository-plugin:1.4.0:archive-repository (default-archive-repository) @ com.servoy.eclipse.product ---
[INFO] Building zip: /var/lib/jenkins/jobs/master/jobs/servoy-eclipse/workspace/com.servoy.eclipse.product/target/com.servoy.eclipse.product-2019.12.0.3540_rc.zip
[INFO]
[INFO] --- tycho-p2-director-plugin:1.4.0:materialize-products (materialize-products) @ com.servoy.eclipse.product ---
[INFO] Installing product servoy.product for environment win32/win32/x86_64 to /var/lib/jenkins/jobs/master/jobs/servoy-eclipse/workspace/com.servoy.eclipse.product/target/products/servoy.product/win32/win32/x86_64
Installing servoy.product 2019.12.0.3540_rc.
Operation completed in 9680 ms.
[INFO] Installing product servoy.product for environment macosx/cocoa/x86_64 to /var/lib/jenkins/jobs/master/jobs/servoy-eclipse/workspace/com.servoy.eclipse.product/target/products/servoy.product/macosx/cocoa/x86_64/Eclipse.app
Installing servoy.product 2019.12.0.3540_rc.
Operation completed in 6539 ms.
[INFO] Installing product servoy.product for environment linux/gtk/x86_64 to /var/lib/jenkins/jobs/master/jobs/servoy-eclipse/workspace/com.servoy.eclipse.product/target/products/servoy.product/linux/gtk/x86_64
Installing servoy.product 2019.12.0.3540_rc.
Operation completed in 6510 ms.

it seems that assemble (and archive) is working on the latest stuff
But suddenly the  materialize-products is working with different jars? it doesn't get it from the repository that in the same target dir?

--
Johan Compagner
Servoy


--
Johan Compagner
Servoy

Back to the top