Good idea Achim !

Anyway, it's something that we have to address at Pax URL.

Let me look for the Jira (else I will create one).

Regards
JB

On 09/16/2014 10:37 AM, Achim Nierbeck wrote:
There is a simple workaround available for that.
wrap the url :)

wrap:mvn:org.eclipse.jdt.core.compiler/ecj/4.4

that's what I did for Pax Web ;)

regards, Achim



2014-09-16 10:32 GMT+02:00 Harald Wellmann <[email protected]>:

Karaf 3.0.1 just gave me the following exception when I tried to install
the ECJ bundle:

   Manifest not present in the first entry of the zip
mvn:org.eclipse.jdt.core.compiler/ecj/4.4


I believe it's folklore that the manifest has to be the first entry in a
JAR, but in fact, the spec [1] doesn't say so.

So why doesn't Karaf simply continue scanning the JAR entries until the
manifest is found?

[1] http://docs.oracle.com/javase/8/docs/technotes/guides/jar/jar.html

Best regards,

Harald





--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to