You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some problems that the renerated p2 repo on MacOS/Linux contains artifacts that causes an OSGI dependency error at start-up of my Eclipse RCP based application.
I boiled the problem down to a minimal example which can be started by simply executing mvn (see at the end of this issue). On Windows it creates a a repository with these plugins:
On Linux and MacOS however I get this result (see especially the size of the .httpclient_4.5.13.jar file 764KB vs. 1.4MB):
-rw-rw-r-- 1 user user 328K Sep 2 15:57 org.apache.commons.codec_1.11.0.jar
-rw-rw-r-- 1 user user 61K Sep 2 15:57 org.apache.commons.logging_1.2.0.jar
-rw-rw-r-- 1 user user 32K Sep 2 15:57 org.apache.httpcomponents.fluent-hc_4.5.13.jar
-rw-rw-r-- 1 user user 1.4M Sep 2 15:57 org.apache.httpcomponents.httpclient_4.5.13.jar
-rw-rw-r-- 1 user user 161K Sep 2 15:57 org.apache.httpcomponents.httpclient-cache_4.5.13.jar
-rw-rw-r-- 1 user user 322K Sep 2 15:57 org.apache.httpcomponents.httpcore_4.4.13.jar
-rw-rw-r-- 1 user user 42K Sep 2 15:57 org.apache.httpcomponents.httpmime_4.5.13.jar
Based on the MANIFEST.MF files from the httpclient jar file from Windows respectively Linux it seems like the Windows version has been processed by bnd-tool and the Linux version has not ben processed. I wasn't able to understand which component decides if or if not to process a jar with bnd, therefore I am starting in this project with the issue. Is there any logging I can enable to shed some light on p2-maven-plugin and bnd-tool what they do (or not do)?
I have some problems that the renerated p2 repo on MacOS/Linux contains artifacts that causes an OSGI dependency error at start-up of my Eclipse RCP based application.
I boiled the problem down to a minimal example which can be started by simply executing
mvn
(see at the end of this issue). On Windows it creates a a repository with these plugins:On Linux and MacOS however I get this result (see especially the size of the
.httpclient_4.5.13.jar
file 764KB vs. 1.4MB):Based on the
MANIFEST.MF
files from the httpclient jar file from Windows respectively Linux it seems like the Windows version has been processed by bnd-tool and the Linux version has not ben processed. I wasn't able to understand which component decides if or if not to process a jar with bnd, therefore I am starting in this project with the issue. Is there any logging I can enable to shed some light on p2-maven-plugin and bnd-tool what they do (or not do)?The text was updated successfully, but these errors were encountered: