Hello,
I'm using p2 director to provision a feature into CDT Neon 3 Linux 64-bit
without running the target application on a Mac OS X host with Oracle JDK
1.8.0_131_b11. One of the 3rd party bundles I'm using in the feature is
causing the following error message due to a missing "javax.crypto" bundle
dependency which should be present in JDK 1.7 and above:
======================================================================
Cannot complete the install because one or more required items could not be
found.
Software being installed: Feature 1.0.0.201706201533
(org.xxxxx.studio.feature.feature.group 1.0.0.201706201533)
Missing requirement: Netty/Handler 4.1.11.Final (io.netty.handler
4.1.11.Final) requires 'package javax.crypto 0.0.0' but it could not be
found
Cannot satisfy dependency:
From: Feature 1.0.0.201706201533 (org.xxxxx.studio.feature.feature.group
1.0.0.201706201533)
To: io.netty.handler [4.1.11.Final]
Application failed, log file location:
.../eclipse/configuration/1498784746909.log
======================================================================
I'm invoking the p2 director using the following CLI command:
java -jar $ECLIPSE_HOME/plugins/$LAUNCHER_JAR \
-application $P2_DIRECTOR \
-repository "file://$P2_REPOSITORY" \
-installIU "org.xxxxx.studio.feature.feature.group" \
-tag AddStudio \
-profile SDKProfile \
-destination $ECLIPSE_HOME
P2_REPOSITORY points to a local update site which for this feature which
loads without any problem when using the "Install New Software" UI based
installation mechanism.
After scouring the web I found a few Tyco related posts, but they did not
seem to apply or shed any light. I've not integrated Maven/Tyco to build
the project yet. I think I've exhausted most of my options and wanted to
check here as a last resort.
Any idea what I might be doing wrong? Anything I can try to remedy this
problem?
Thanks in advance,
Alex
_______________________________________________
p2-dev mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit
https://dev.eclipse.org/mailman/listinfo/p2-dev