Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-dev] Generate a.jre.javase into content.xml

AFAIK there is no good/straightforward solution for this problem as of now.

hardcoded JavaSE-1.6 a.jre.* IUs are only published as side-effect of publishing a product with eclipse-repository packaging type.
(and coupling the publishing of a.jre.* IUs to products in p2 is also conceptually wrong)

if you don't have/want a product, you may be able to achieve sth similar with p2.inf or with a custom execution environment [1] but not sure if that's a good idea either...
See also related bug [2] which in turn has references to relevant p2 bugs.

BTW at build-time we have solved this problem for tycho [3], but at install/update time you still need bogus IUs to satisfy dependencies to packages provided by the JDK.

IMHO the real solution for this in p2 would be to detect the *running* JDK during install/update and make sure package requirements for packages of the running JDK are satisfied.

Regards
Jan

[1] http://wiki.eclipse.org/Tycho/Execution_Environments 
[2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=387701 
[3] http://wiki.eclipse.org/Tycho/Execution_Environments#Effects_of_the_execution_environment_in_the_build 

-----Original Message-----
From: tycho-dev-bounces@xxxxxxxxxxx [mailto:tycho-dev-bounces@xxxxxxxxxxx] On Behalf Of Tom Schindl
Sent: Montag, 4. Februar 2013 17:55
To: Tycho developers list
Subject: [tycho-dev] Generate a.jre.javase into content.xml

Hi,

Is it somehow possible to instruct tycho to include this into the
content.xml when using the package type "eclipse-update-site" so that
people setuping a target-platform in Eclipse with the generated p2-repo
don't get a resolution problem because of imports from the JRE?

Tom

-- 
B e s t S o l u t i o n . a t                        EDV Systemhaus GmbH
------------------------------------------------------------------------
tom schindl                 geschäftsführer/CEO
------------------------------------------------------------------------
eduard-bodem-gasse 5-7/1   A-6020 innsbruck     fax      ++43 512 935833
http://www.BestSolution.at                      phone    ++43 512 935834
_______________________________________________
tycho-dev mailing list
tycho-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-dev


Back to the top