Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [epp-dev] EPP automated build, first incarnation

I believe this problem is fixed now.

- thomas

Markus Knauer wrote:

2009/5/14 Thomas Hallgren <thomas@xxxxxxx>
Markus Knauer wrote:
Here are question 2 and 3:

- I started an EPP build with the newly generated repository and the Galileo repo and it seems to end up as an all-in-one package (should be: CPP only package). Is there an error in the dependency generation? If I am doing a product export and generate my p2 repository 'the old way' I don't have this problem.

The builder should not generate any dependencies (aside from the ones extending from the topmost feature), so I doubt that. I need to look closer what your EPP build does. What's the fastest track to a debugable session?

Just run the p2 director app with the repositories (the newly generated EPP repo plus one of the Galileo repositories) with a root IU of a product, such as

eclipse -nosplash -consoleLog
-application org.eclipse.equinox.p2.director.app.application
-metadataRepositories http://repo1,file://repo2,...
-artifactRepositories http://repo1,file://repo2,...
-installIU epp.package.cpp
-destination /tmp/epp/eclipse -profile epp.package.cpp
-profileProperties org.eclipse.update.install.features=true
-bundlepool /tmp/epp/eclipse
-p2.os linux -p2.ws gtk -p2.arch x86_64
-roaming -vmargs -Declipse.p2.mirrors=false -Declipse.p2.data.area=/tmp/epp/eclipse/p2

I think this gives the fastest results. When I did this it included the sum of *all* EPP packages, i.e. org.eclipse.epp.package.cpp.feature, org.eclipse.epp.package.cpp.source.feature, org.eclipse.epp.package.java.feature, ...

- Would it be possible (or maybe helpful?) to move the feature dependencies in the feature from 'requires' to 'includes'? We talked about this before.
We did. But since we talked, I discovered a consequence of using 'includes'. The ability to define a version range goes away. With that, you also loose the ability to update the feature once it's installed. So perhaps it's better to stick with the 'requires'?

Maybe someone from the p2 team can give us a hint?

Regards, Markus

_______________________________________________ epp-dev mailing list epp-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/epp-dev


Back to the top