Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jruby-core 1.7.14 isn't a valid OSGI bundle anymore #1971

Closed
muellerc opened this Issue Sep 14, 2014 · 9 comments

Comments

Projects
None yet
3 participants
@muellerc
Copy link

commented Sep 14, 2014

The content of the MANIFEST.MF file is (1.7.14 and 1.7.15):

Manifest-Version: 1.0
Built-By: enebo
Build-Jdk: 1.7.0_60
Created-By: Apache Maven 3.2.1
Archiver-Version: Plexus Archiver

The content of the MANIFEST.MF file is (1.7.13 and before was):

Manifest-Version: 1.0
Export-Package: org.jruby;version="1.7.13";uses:="jnr.constants,jnr.po
six,org.jcodings,org.joda.time,org.joni,org.jruby.anno,org.jruby.ast,
org.jruby.ast.executable,org.jruby.ast.visitor,org.jruby.common,org.j
ruby.compiler,org.jruby.embed,org.jruby.exceptions,org.jruby.ext.cove
rage,org.jruby.ext.ffi,org.jruby.internal.runtime,org.jruby.internal.
runtime.methods,org.jruby.ir,org.jruby.javasupport,org.jruby.javasupp
ort.proxy,org.jruby.lexer.yacc,org.jruby.management,org.jruby.parser,
org.jruby.runtime,org.jruby.runtime.backtrace,org.jruby.runtime.built
in,org.jruby.runtime.callback,org.jruby.runtime.callsite,org.jruby.ru
ntime.encoding,org.jruby.runtime.invokedynamic,org.jruby.runtime.ivar
s,org.jruby.runtime.load,org.jruby.runtime.marshal,org.jruby.runtime.
opto,org.jruby.runtime.profile,org.jruby.runtime.profile.builtin,org.
jruby.util,org.jruby.util.encoding,org.jruby.util.func,org.jruby.util
.io",org.jruby.anno;version="1.7.13";uses:="javax.annotation.processi
ng,javax.lang.model,javax.lang.model.element,org.jruby,org.jruby.inte
rnal.runtime.methods,org.jruby.runtime",org.jruby.ant;version="1.7.13
";uses:="org.apache.tools.ant",org.jruby.ast;version="1.7.13";uses:="
org.jcodings,org.jruby,org.jruby.ast.types,org.jruby.ast.visitor,org.
jruby.lexer.yacc,org.jruby.parser,org.jruby.runtime,org.jruby.runtime
.builtin,org.jruby.runtime.opto,org.jruby.util",org.jruby.ast.executa
ble;version="1.7.13";uses:="org.jcodings,org.jruby,org.jruby.internal
.runtime.methods,org.jruby.parser,org.jruby.runtime,org.jruby.runtime
.builtin,org.jruby.runtime.callsite,org.jruby.runtime.ivars,org.jruby
.runtime.opto,org.jruby.util",org.jruby.ast.java_signature;version="1
.7.13",org.jruby.ast.types;version="1.7.13";uses:="org.jruby,org.jrub
y.runtime,org.jruby.runtime.builtin",org.jruby.ast.util;version="1.7.
13";uses:="org.jruby,org.jruby.ast,org.jruby.runtime.builtin",org.jru
by.ast.visitor;version="1.7.13";uses:="org.jruby.ast",org.jruby.cext;
version="1.7.13";uses:="org.jruby,org.jruby.internal.runtime.methods,
org.jruby.runtime,org.jruby.runtime.builtin",org.jruby.common;version
="1.7.13";uses:="org.joni,org.jruby,org.jruby.lexer.yacc",org.jruby.c
ompiler;version="1.7.13";uses:="org.jcodings,org.jruby,org.jruby.ast,
org.jruby.compiler.impl,org.jruby.internal.runtime.methods,org.jruby.
lexer.yacc,org.jruby.parser,org.jruby.runtime,org.jruby.runtime.built
in,org.jruby.util,org.objectweb.asm",org.jruby.compiler.impl;version=
"1.7.13";uses:="org.jcodings,org.jruby.ast,org.jruby.compiler,org.jru
by.internal.runtime.methods,org.jruby.lexer.yacc,org.jruby.parser,org
.jruby.runtime,org.jruby.util,org.objectweb.asm",org.jruby.compiler.u
til;version="1.7.13";uses:="org.jruby.compiler.impl,org.jruby.util,or
g.objectweb.asm",org.jruby.demo.ext;version="1.7.13";uses:="org.jruby
,org.jruby.anno,org.jruby.internal.runtime.methods,org.jruby.runtime,
org.jruby.runtime.builtin",org.jruby.embed;version="1.7.13";uses:="or
g.jruby,org.jruby.ast,org.jruby.embed.internal,org.jruby.javasupport,
org.jruby.runtime,org.jruby.runtime.scope,org.jruby.util",org.jruby.e
mbed.bsf;version="1.7.13";uses:="org.apache.bsf,org.apache.bsf.util",
org.jruby.embed.internal;version="1.7.13";uses:="org.jruby,org.jruby.
ast,org.jruby.ast.executable,org.jruby.embed,org.jruby.embed.variable
,org.jruby.javasupport,org.jruby.runtime,org.jruby.runtime.builtin,or
g.jruby.runtime.scope,org.jruby.util",org.jruby.embed.io;version="1.7
.13",org.jruby.embed.jsr223;version="1.7.13";uses:="javax.script",org
.jruby.embed.osgi;version="1.7.13";uses:="org.jruby.embed,org.jruby.e
mbed.osgi.internal,org.osgi.framework",org.jruby.embed.osgi.internal;
version="1.7.13";uses:="org.jruby,org.jruby.runtime.load,org.osgi.fra
mework",org.jruby.embed.osgi.utils;version="1.7.13";uses:="org.osgi.f
ramework",org.jruby.embed.util;version="1.7.13";uses:="org.jruby.embe
d",org.jruby.embed.variable;version="1.7.13";uses:="org.jruby,org.jru
by.embed,org.jruby.embed.internal,org.jruby.runtime.builtin,org.jruby
.runtime.scope",org.jruby.environment;version="1.7.13";uses:="org.jru
by.util",org.jruby.evaluator;version="1.7.13";uses:="org.jruby,org.jr
uby.ast,org.jruby.parser,org.jruby.runtime,org.jruby.runtime.builtin"
,org.jruby.exceptions;version="1.7.13";uses:="org.jruby,org.jruby.run
time.builtin",org.jruby.ext;version="1.7.13";uses:="jnr.constants.pla
tform,jnr.posix,org.jruby,org.jruby.runtime.load",org.jruby.ext.bigde
cimal;version="1.7.13";uses:="org.jruby,org.jruby.anno,org.jruby.inte
rnal.runtime.methods,org.jruby.runtime,org.jruby.runtime.builtin,org.
jruby.runtime.load",org.jruby.ext.coverage;version="1.7.13";uses:="or
g.jruby,org.jruby.anno,org.jruby.internal.runtime.methods,org.jruby.r
untime,org.jruby.runtime.builtin,org.jruby.runtime.load",org.jruby.ex
t.delegate;version="1.7.13";uses:="org.jruby,org.jruby.anno,org.jruby
.internal.runtime.methods,org.jruby.runtime,org.jruby.runtime.builtin
,org.jruby.runtime.load",org.jruby.ext.digest;version="1.7.13";uses:=
"org.jruby,org.jruby.anno,org.jruby.internal.runtime.methods,org.jrub
y.runtime,org.jruby.runtime.builtin,org.jruby.runtime.load",org.jruby
.ext.enumerator;version="1.7.13";uses:="org.jruby,org.jruby.runtime.l
oad",org.jruby.ext.etc;version="1.7.13";uses:="org.jruby,org.jruby.an
no,org.jruby.internal.runtime.methods,org.jruby.runtime,org.jruby.run
time.builtin,org.jruby.runtime.load",org.jruby.ext.fcntl;version="1.7
.13";uses:="org.jruby,org.jruby.runtime.load",org.jruby.ext.ffi;versi
on="1.7.13";uses:="org.jruby,org.jruby.anno,org.jruby.exceptions,org.
jruby.internal.runtime.methods,org.jruby.runtime,org.jruby.runtime.bu
iltin,org.jruby.runtime.load",org.jruby.ext.ffi.io;version="1.7.13";u
ses:="org.jruby,org.jruby.anno,org.jruby.internal.runtime.methods,org
.jruby.runtime,org.jruby.runtime.builtin",org.jruby.ext.ffi.jffi;vers
ion="1.7.13";uses:="com.kenai.jffi,org.jruby,org.jruby.anno,org.jruby
.ext.ffi,org.jruby.internal.runtime.methods,org.jruby.runtime,org.jru
by.runtime.builtin,org.jruby.runtime.callsite,org.jruby.runtime.invok
edynamic",org.jruby.ext.fiber;version="1.7.13";uses:="org.jruby,org.j
ruby.anno,org.jruby.internal.runtime.methods,org.jruby.runtime,org.jr
uby.runtime.builtin,org.jruby.runtime.load",org.jruby.ext.iconv;versi
on="1.7.13";uses:="org.jruby,org.jruby.anno,org.jruby.internal.runtim
e.methods,org.jruby.runtime,org.jruby.runtime.builtin,org.jruby.runti
me.load",org.jruby.ext.io.try_nonblock;version="1.7.13";uses:="org.jr
uby,org.jruby.anno,org.jruby.internal.runtime.methods,org.jruby.runti
me,org.jruby.runtime.builtin,org.jruby.runtime.load",org.jruby.ext.io
.wait;version="1.7.13";uses:="org.jruby,org.jruby.anno,org.jruby.inte
rnal.runtime.methods,org.jruby.runtime,org.jruby.runtime.builtin,org.
jruby.runtime.load",org.jruby.ext.jruby;version="1.7.13";uses:="org.j
ruby,org.jruby.anno,org.jruby.internal.runtime.methods,org.jruby.runt
ime,org.jruby.runtime.builtin,org.jruby.runtime.load",org.jruby.ext.m
athn;version="1.7.13";uses:="org.jruby,org.jruby.runtime.load",org.jr
uby.ext.net.protocol;version="1.7.13";uses:="org.jruby,org.jruby.anno
,org.jruby.internal.runtime.methods,org.jruby.runtime,org.jruby.runti
me.builtin,org.jruby.runtime.load",org.jruby.ext.nkf;version="1.7.13"
;uses:="org.jruby,org.jruby.anno,org.jruby.internal.runtime.methods,o
rg.jruby.runtime,org.jruby.runtime.builtin,org.jruby.runtime.load",or
g.jruby.ext.pathname;version="1.7.13";uses:="org.jruby,org.jruby.anno
,org.jruby.internal.runtime.methods,org.jruby.runtime,org.jruby.runti
me.builtin,org.jruby.runtime.load",org.jruby.ext.psych;version="1.7.1
3";uses:="org.jcodings,org.jruby,org.jruby.anno,org.jruby.internal.ru
ntime.methods,org.jruby.runtime,org.jruby.runtime.builtin,org.jruby.r
untime.load",org.jruby.ext.rbconfig;version="1.7.13";uses:="org.jruby
,org.jruby.anno,org.jruby.internal.runtime.methods,org.jruby.runtime,
org.jruby.runtime.builtin,org.jruby.runtime.load",org.jruby.ext.secur
erandom;version="1.7.13";uses:="org.jruby,org.jruby.anno,org.jruby.in
ternal.runtime.methods,org.jruby.runtime,org.jruby.runtime.builtin",o
rg.jruby.ext.socket;version="1.7.13";uses:="jnr.constants.platform,or
g.jruby,org.jruby.anno,org.jruby.internal.runtime.methods,org.jruby.r
untime,org.jruby.runtime.builtin,org.jruby.runtime.load,org.jruby.uti
l,org.jruby.util.io",org.jruby.ext.stringio;version="1.7.13";uses:="o
rg.jcodings,org.jruby,org.jruby.anno,org.jruby.internal.runtime.metho
ds,org.jruby.runtime,org.jruby.runtime.builtin,org.jruby.runtime.enco
ding,org.jruby.runtime.load,org.jruby.util",org.jruby.ext.strscan;ver
sion="1.7.13";uses:="org.jruby,org.jruby.anno,org.jruby.internal.runt
ime.methods,org.jruby.runtime,org.jruby.runtime.builtin,org.jruby.run
time.load",org.jruby.ext.tempfile;version="1.7.13";uses:="org.jruby,o
rg.jruby.anno,org.jruby.internal.runtime.methods,org.jruby.runtime,or
g.jruby.runtime.builtin,org.jruby.runtime.load",org.jruby.ext.thread;
version="1.7.13";uses:="org.jruby,org.jruby.anno,org.jruby.internal.r
untime.methods,org.jruby.runtime,org.jruby.runtime.builtin,org.jruby.
runtime.load",org.jruby.ext.timeout;version="1.7.13";uses:="org.jruby
,org.jruby.anno,org.jruby.internal.runtime.methods,org.jruby.runtime,
org.jruby.runtime.builtin,org.jruby.runtime.load",org.jruby.ext.trace
point;version="1.7.13";uses:="org.jruby,org.jruby.anno,org.jruby.inte
rnal.runtime.methods,org.jruby.runtime,org.jruby.runtime.builtin",org
.jruby.ext.weakref;version="1.7.13";uses:="org.jruby,org.jruby.anno,o
rg.jruby.internal.runtime.methods,org.jruby.runtime,org.jruby.runtime
.builtin,org.jruby.runtime.load",org.jruby.ext.zlib;version="1.7.13";
uses:="org.jcodings,org.jruby,org.jruby.anno,org.jruby.internal.runti
me.methods,org.jruby.runtime,org.jruby.runtime.builtin,org.jruby.runt
ime.load,org.jruby.util,org.jruby.util.encoding,org.jruby.util.io",or
g.jruby.gen;version="1.7.13";uses:="org.jruby,org.jruby.anno",org.jru
by.internal.runtime;version="1.7.13";uses:="org.jruby,org.jruby.runti
me,org.jruby.runtime.builtin,org.jruby.runtime.opto",org.jruby.intern
al.runtime.methods;version="1.7.13";uses:="com.headius.invokebinder,o
rg.jruby,org.jruby.anno,org.jruby.ast,org.jruby.ast.executable,org.jr
uby.exceptions,org.jruby.ir,org.jruby.lexer.yacc,org.jruby.parser,org
.jruby.runtime,org.jruby.runtime.builtin,org.jruby.runtime.callback,o
rg.jruby.runtime.ivars,org.jruby.util,org.objectweb.asm",org.jruby.ir
;version="1.7.13";uses:="org.jruby,org.jruby.ast,org.jruby.ir.dataflo
w,org.jruby.ir.instructions,org.jruby.ir.instructions.defined,org.jru
by.ir.instructions.ruby19,org.jruby.ir.listeners,org.jruby.ir.operand
s,org.jruby.ir.passes,org.jruby.ir.representations,org.jruby.ir.trans
formations.inlining,org.jruby.parser,org.jruby.runtime,org.jruby.runt
ime.builtin",org.jruby.ir.dataflow;version="1.7.13";uses:="org.jruby.
ir,org.jruby.ir.instructions,org.jruby.ir.operands,org.jruby.ir.repre
sentations,org.jruby.ir.util",org.jruby.ir.dataflow.analyses;version=
"1.7.13";uses:="org.jruby.ir,org.jruby.ir.dataflow,org.jruby.ir.instr
uctions,org.jruby.ir.operands,org.jruby.ir.representations,org.jruby.
ir.util",org.jruby.ir.instructions;version="1.7.13";uses:="org.jruby,
org.jruby.internal.runtime.methods,org.jruby.ir,org.jruby.ir.operands
,org.jruby.ir.transformations.inlining,org.jruby.runtime,org.jruby.ru
ntime.builtin,org.jruby.runtime.ivars",org.jruby.ir.instructions.call
adapter;version="1.7.13";uses:="org.jruby.ir.operands,org.jruby.runti
me,org.jruby.runtime.builtin",org.jruby.ir.instructions.defined;versi
on="1.7.13";uses:="org.jruby.ir,org.jruby.ir.instructions,org.jruby.i
r.operands,org.jruby.ir.transformations.inlining,org.jruby.runtime,or
g.jruby.runtime.builtin",org.jruby.ir.instructions.ruby19;version="1.
7.13";uses:="org.jcodings,org.jruby.ir,org.jruby.ir.instructions,org.
jruby.ir.operands,org.jruby.ir.transformations.inlining,org.jruby.lex
er.yacc,org.jruby.runtime,org.jruby.runtime.builtin",org.jruby.ir.ins
tructions.ruby20;version="1.7.13";uses:="org.jruby.ir.instructions,or
g.jruby.ir.operands,org.jruby.runtime,org.jruby.runtime.builtin",org.
jruby.ir.instructions.specialized;version="1.7.13";uses:="org.jruby.i
r.instructions,org.jruby.ir.operands,org.jruby.runtime,org.jruby.runt
ime.builtin",org.jruby.ir.interpreter;version="1.7.13";uses:="org.jru
by,org.jruby.ast,org.jruby.internal.runtime.methods,org.jruby.ir,org.
jruby.runtime,org.jruby.runtime.builtin",org.jruby.ir.listeners;versi
on="1.7.13";uses:="org.jruby.ast,org.jruby.ir,org.jruby.ir.instructio
ns,org.jruby.ir.operands",org.jruby.ir.operands;version="1.7.13";uses
:="org.jcodings,org.jruby,org.jruby.internal.runtime.methods,org.jrub
y.ir,org.jruby.ir.transformations.inlining,org.jruby.runtime,org.jrub
y.runtime.builtin,org.jruby.util",org.jruby.ir.passes;version="1.7.13
";uses:="org.jruby.ir,org.jruby.ir.instructions,org.jruby.ir.represen
tations",org.jruby.ir.representations;version="1.7.13";uses:="org.jru
by.ir,org.jruby.ir.instructions,org.jruby.ir.operands,org.jruby.ir.tr
ansformations.inlining,org.jruby.ir.util",org.jruby.ir.runtime;versio
n="1.7.13";uses:="org.jruby.exceptions,org.jruby.ir,org.jruby.runtime
,org.jruby.runtime.builtin",org.jruby.ir.targets;version="1.7.13";use
s:="org.jruby,org.jruby.compiler.impl,org.jruby.ir,org.jruby.ir.instr
uctions,org.jruby.ir.instructions.defined,org.jruby.ir.instructions.r
uby19,org.jruby.ir.operands,org.jruby.parser,org.jruby.runtime,org.jr
uby.runtime.builtin,org.jruby.runtime.invokedynamic,org.jruby.util,or
g.objectweb.asm,org.objectweb.asm.commons",org.jruby.ir.transformatio
ns.inlining;version="1.7.13";uses:="org.jruby,org.jruby.ir,org.jruby.
ir.instructions,org.jruby.ir.operands,org.jruby.ir.representations,or
g.jruby.runtime",org.jruby.ir.util;version="1.7.13",org.jruby.java.ad
dons;version="1.7.13";uses:="org.jruby,org.jruby.anno,org.jruby.inter
nal.runtime.methods,org.jruby.javasupport,org.jruby.runtime,org.jruby
.runtime.builtin",org.jruby.java.codegen;version="1.7.13";uses:="org.
jruby,org.jruby.compiler.impl,org.jruby.runtime.builtin,org.jruby.run
time.callsite,org.jruby.util",org.jruby.java.dispatch;version="1.7.13
";uses:="org.jruby,org.jruby.exceptions,org.jruby.javasupport,org.jru
by.runtime.builtin",org.jruby.java.invokers;version="1.7.13";uses:="o
rg.jruby,org.jruby.internal.runtime.methods,org.jruby.javasupport,org
.jruby.runtime,org.jruby.runtime.builtin",org.jruby.java.proxies;vers
ion="1.7.13";uses:="org.jruby,org.jruby.anno,org.jruby.internal.runti
me.methods,org.jruby.javasupport,org.jruby.runtime,org.jruby.runtime.
builtin",org.jruby.java.util;version="1.7.13";uses:="org.jruby,org.jr
uby.internal.runtime.methods,org.jruby.java.proxies,org.jruby.javasup
port,org.jruby.runtime,org.jruby.runtime.builtin",org.jruby.javasuppo
rt;version="1.7.13";uses:="org.jruby,org.jruby.anno,org.jruby.ast,org
.jruby.exceptions,org.jruby.internal.runtime.methods,org.jruby.java.p
roxies,org.jruby.javasupport.proxy,org.jruby.javasupport.util,org.jru
by.runtime,org.jruby.runtime.builtin,org.jruby.runtime.load,org.jruby
.util",org.jruby.javasupport.bsf;version="1.7.13";uses:="org.apache.b
sf,org.apache.bsf.util",org.jruby.javasupport.proxy;version="1.7.13";
uses:="org.jruby,org.jruby.anno,org.jruby.internal.runtime.methods,or
g.jruby.javasupport,org.jruby.runtime,org.jruby.runtime.builtin",org.
jruby.javasupport.util;version="1.7.13";uses:="org.jruby.runtime",org
.jruby.lexer;version="1.7.13";uses:="org.jruby.util",org.jruby.lexer.
yacc;version="1.7.13";uses:="org.jcodings,org.jruby.ast,org.jruby.com
mon,org.jruby.parser,org.jruby.runtime,org.jruby.util",org.jruby.main
;version="1.7.13";uses:="org.jruby",org.jruby.management;version="1.7
.13";uses:="org.jruby,org.jruby.compiler,org.jruby.runtime.backtrace"
,org.jruby.parser;version="1.7.13";uses:="org.jcodings,org.jruby,org.
jruby.ast,org.jruby.ast.java_signature,org.jruby.common,org.jruby.ir,
org.jruby.lexer,org.jruby.lexer.yacc,org.jruby.runtime,org.jruby.runt
ime.builtin,org.jruby.runtime.encoding,org.jruby.util",org.jruby.plat
form;version="1.7.13",org.jruby.runtime;version="1.7.13";uses:="org.j
ruby,org.jruby.anno,org.jruby.ast,org.jruby.ast.executable,org.jruby.
compiler,org.jruby.exceptions,org.jruby.ext.fiber,org.jruby.internal.
runtime.methods,org.jruby.ir,org.jruby.lexer.yacc,org.jruby.parser,or
g.jruby.runtime.assigner,org.jruby.runtime.backtrace,org.jruby.runtim
e.builtin,org.jruby.runtime.callback,org.jruby.runtime.invokedynamic,
org.jruby.runtime.marshal,org.jruby.runtime.profile,org.jruby.util",o
rg.jruby.runtime.assigner;version="1.7.13";uses:="org.jruby,org.jruby
.ast,org.jruby.runtime,org.jruby.runtime.builtin",org.jruby.runtime.b
acktrace;version="1.7.13";uses:="org.jruby,org.jruby.lexer.yacc,org.j
ruby.runtime,org.jruby.runtime.builtin",org.jruby.runtime.builtin;ver
sion="1.7.13";uses:="org.jruby,org.jruby.runtime",org.jruby.runtime.c
allback;version="1.7.13";uses:="org.jruby.runtime,org.jruby.runtime.b
uiltin",org.jruby.runtime.callsite;version="1.7.13";uses:="org.jruby,
org.jruby.exceptions,org.jruby.internal.runtime.methods,org.jruby.run
time,org.jruby.runtime.builtin",org.jruby.runtime.component;version="
1.7.13";uses:="org.jruby.runtime.builtin",org.jruby.runtime.encoding;
version="1.7.13";uses:="org.jcodings,org.jcodings.util,org.jruby,org.
jruby.runtime.builtin,org.jruby.util",org.jruby.runtime.invokedynamic
;version="1.7.13";uses:="com.headius.invokebinder,org.jcodings,org.jr
uby,org.jruby.ast.executable,org.jruby.exceptions,org.jruby.internal.
runtime,org.jruby.internal.runtime.methods,org.jruby.parser,org.jruby
.runtime,org.jruby.runtime.builtin,org.jruby.runtime.callsite,org.jru
by.util,org.objectweb.asm",org.jruby.runtime.ivars;version="1.7.13";u
ses:="org.jruby,org.jruby.runtime.builtin",org.jruby.runtime.load;ver
sion="1.7.13";uses:="org.jruby,org.jruby.ast.executable,org.jruby.exc
eptions,org.jruby.runtime.builtin,org.jruby.util,org.jruby.util.colle
ctions",org.jruby.runtime.marshal;version="1.7.13";uses:="org.jcoding
s,org.jruby,org.jruby.internal.runtime.methods,org.jruby.runtime.buil
tin,org.jruby.util",org.jruby.runtime.opto;version="1.7.13";uses:="or
g.jruby,org.jruby.compiler,org.jruby.compiler.impl,org.jruby.runtime.
builtin",org.jruby.runtime.profile;version="1.7.13";uses:="org.jruby,
org.jruby.internal.runtime.methods,org.jruby.runtime",org.jruby.runti
me.profile.builtin;version="1.7.13";uses:="org.jruby,org.jruby.intern
al.runtime.methods,org.jruby.runtime,org.jruby.runtime.profile,org.jr
uby.util.collections",org.jruby.runtime.scope;version="1.7.13";uses:=
"org.jruby.ir,org.jruby.parser,org.jruby.runtime,org.jruby.runtime.bu
iltin",org.jruby.threading;version="1.7.13",org.jruby.util;version="1
.7.13";uses:="com.martiansoftware.nailgun,javax.lang.model.element,jn
r.ffi,jnr.ffi.annotations,jnr.ffi.byref,jnr.ffi.types,jnr.posix,org.j
codings,org.joda.time,org.joni,org.jruby,org.jruby.ast.executable,org
.jruby.exceptions,org.jruby.runtime,org.jruby.runtime.builtin,org.jru
by.runtime.invokedynamic,org.jruby.util.io,org.objectweb.asm",org.jru
by.util.cli;version="1.7.13";uses:="com.headius.options,org.jruby,org
.jruby.util",org.jruby.util.collections;version="1.7.13";uses:="org.j
ruby,org.jruby.runtime,org.jruby.runtime.builtin",org.jruby.util.enco
ding;version="1.7.13";uses:="org.jcodings,org.jruby,org.jruby.excepti
ons,org.jruby.runtime,org.jruby.runtime.builtin,org.jruby.util",org.j
ruby.util.func;version="1.7.13",org.jruby.util.io;version="1.7.13";us
es:="jnr.constants.platform,jnr.posix,jnr.unixsocket,org.jcodings,org
.jruby,org.jruby.exceptions,org.jruby.runtime,org.jruby.runtime.built
in,org.jruby.util,org.jruby.util.encoding",org.jruby.util.log;version
="1.7.13",org.jruby.util.string;version="1.7.13";uses:="org.jruby.uti
l",org.jruby.util.unsafe;version="1.7.13";uses:="sun.misc"
Built-By: enebo
Tool: Bnd-2.1.0.20130426-122213
Bundle-Name: JRuby Core 1.7.13
Created-By: Apache Maven Bundle Plugin
Bundle-Vendor: JRuby
Build-Jdk: 1.7.0_60
Bundle-Version: 1.7.13
Bnd-LastModified: 1403631258521
Bundle-ManifestVersion: 2
Bundle-License: http://www.gnu.org/licenses/gpl-3.0-standalone.html, h
ttp://www.gnu.org/licenses/lgpl-3.0-standalone.html, http://www.eclip
se.org/legal/epl-v10.html
Bundle-Description: JRuby Core 1.7.13 OSGi bundle
Bundle-SymbolicName: org.jruby.jruby-core
Bundle-DocURL: http://jruby.org
Import-Package: com.headius.invokebinder;resolution:=optional,com.head
ius.options;resolution:=optional,com.jcraft.jzlib;resolution:=optiona
l,com.kenai.jffi;resolution:=optional,com.martiansoftware.nailgun;res
olution:=optional,javax.annotation.processing;resolution:=optional,ja
vax.lang.model;resolution:=optional,javax.lang.model.element;resoluti
on:=optional,javax.lang.model.type;resolution:=optional,javax.lang.mo
del.util;resolution:=optional,javax.management;resolution:=optional,j
avax.script;resolution:=optional,javax.swing;resolution:=optional,jnr
.constants;resolution:=optional,jnr.constants.platform;resolution:=op
tional,jnr.enxio.channels;resolution:=optional,jnr.ffi;resolution:=op
tional,jnr.ffi.annotations;resolution:=optional,jnr.ffi.byref;resolut
ion:=optional,jnr.ffi.types;resolution:=optional,jnr.ffi.util.ref;res
olution:=optional,jnr.netdb;resolution:=optional,jnr.posix;resolution
:=optional,jnr.posix.util;resolution:=optional,jnr.unixsocket;resolut
ion:=optional,org.apache.bsf;resolution:=optional,org.apache.bsf.util
;resolution:=optional,org.apache.tools.ant;resolution:=optional,org.j
codings;resolution:=optional,org.jcodings.ascii;resolution:=optional,
org.jcodings.exception;resolution:=optional,org.jcodings.specific;res
olution:=optional,org.jcodings.unicode;resolution:=optional,org.jcodi
ngs.util;resolution:=optional,org.joda.time;resolution:=optional;vers
ion="[2.3,3)",org.joda.time.chrono;resolution:=optional;version="[2.3
,3)",org.joda.time.format;resolution:=optional;version="[2.3,3)",org.
joni;resolution:=optional,org.joni.exception;resolution:=optional,org
.objectweb.asm;resolution:=optional;version="[5.0,6)",org.objectweb.a
sm.commons;resolution:=optional;version="[5.0,6)",org.objectweb.asm.u
til;resolution:=optional;version="[5.0,6)",org.osgi.framework;resolut
ion:=optional;version="[1.7,2)",org.osgi.framework.wiring;resolution:
=optional;version="[1.1,2)",org.yaml.snakeyaml;resolution:=optional;v
ersion="[1.13,2)",org.yaml.snakeyaml.emitter;resolution:=optional;ver
sion="[1.13,2)",org.yaml.snakeyaml.error;resolution:=optional;version
="[1.13,2)",org.yaml.snakeyaml.events;resolution:=optional;version="[
1.13,2)",org.yaml.snakeyaml.parser;resolution:=optional;version="[1.1
3,2)",org.yaml.snakeyaml.reader;resolution:=optional;version="[1.13,2
)",org.yaml.snakeyaml.scanner;resolution:=optional;version="[1.13,2)"
,sun.misc;resolution:=optional,sun.nio.cs;resolution:=optional
Archiver-Version: Plexus Archiver

@mkristian

This comment has been minimized.

Copy link
Member

commented Sep 14, 2014

yes, that is true.
how did you use jruby-core osgi bundle ? without jruby-stdlib.jar ? is it
possible to use jruby-complete.jar instead ?

we can put this back but it would be great to understand the use-case and
add a test-case for this on our side.

@muellerc

This comment has been minimized.

Copy link
Author

commented Sep 14, 2014

We use it in our Apache Camel Ruby component [1], where we provide a feature file to install JRuby and its dependencies in Apache Karaf [2]. As you can see here, we are using jruby-core and jruby-stdlib.

Is the jruby-complete.jar a valid OSGI bundle?

[1] http://camel.apache.org/ruby.html
[2] https://git-wip-us.apache.org/repos/asf?p=camel.git;a=blob;f=platforms/karaf/features/src/main/resources/features.xml;h=9f7575f85d0ae8cbe3bc17cb20b6a6e38d7865ac;hb=HEAD

@mkristian

This comment has been minimized.

Copy link
Member

commented Sep 15, 2014

jruby-complete is valid OSGI bundle and its contains all the dependencies
from jruby-core. jruby-complete has no dependencies.

from the karaf config I see that you are using
org.jruby:jruby-core, org.jruby:jruby-stdlib and org.jruby:jruby via the
bundle declaration. ALL three were OSGi before jruby-1.7.14 ! the reason
for this removal was the Import-Package: ... from the Manifest (see your
first email) where none of those package belong to jar which is an OSGi
bundle. since there are not test-cases on the jruby side and I did not know
how to set up one I drop the OSGi config.

I will put the config back and see if I can get a PAX test case for it. in
general the jruby-core and jruby artifacts are the better choice IMO in
such environments like karaf.

one more question: are you using ScriptingContainer or
OSGiScriptingContainer from the jruby. maybe you could provide me with a
link on the code where Camel uses JRuby - only if you just know where it
is. thanx.

@muellerc

This comment has been minimized.

Copy link
Author

commented Sep 15, 2014

If you have a look at line 153ff at [1], it looks like we are using the ScriptingContainer (because in the script component, we handle multiple different script implementations like Ruby, Groovy, JavaScript, ...).

I will give jruby-complete a try. Let's see how it works...

[1] https://git-wip-us.apache.org/repos/asf?p=camel.git;a=blob;f=components/camel-script/src/main/java/org/apache/camel/script/osgi/Activator.java;h=3dd1c73729be19753d4002dfd0f30e0ee157d64b;hb=HEAD

P.S.: Dropping the OSGI meta information, I would expect such a change in a major or minor version, not in a patch/micro version.

@mkristian

This comment has been minimized.

Copy link
Member

commented Sep 15, 2014

P.S.: Dropping the OSGI meta information, I would expect such a change in
a major or minor version, not in a patch/micro version.

yes, I was inconsiderate and too hasty - sorry for the inconvenience caused.

@mkristian

This comment has been minimized.

Copy link
Member

commented Sep 17, 2014

fixed via 87f09b2

please do switch to jruby-complete if possible. IMO jruby-complete should be enough for OSGi environment. please speak out if you think otherwise

@mkristian mkristian closed this Sep 17, 2014

@muellerc

This comment has been minimized.

Copy link
Author

commented Sep 17, 2014

Thanks Christian!
At present, we are discussing to move to jruby-complete. The only downside I can think about is the size of jruby-complete. It's really fat ;-)
35MB (jruby-complete) compared to 16 MB (jruby-core + jruby-stdlib).

@mkristian

This comment has been minimized.

Copy link
Member

commented Sep 17, 2014

it is actually only 22M there is a packing issue which blow up
jruby-complete-1.7.14 and jruby-complete-1.7.15.

in the end it is just org.jruby:jruby with all it dependencies packed. with
the 16MB you are missing all the dependent jar of jruby-core, so it ends up
to be around 22M.

for me the plus-side is that we have some (basic) tests in place that
things like openssl do work.

@muellerc

This comment has been minimized.

Copy link
Author

commented Sep 22, 2014

Ok, thanks for letting me know. I will wait for JRuby 1.7.16 before we switch to jruby-complete...

@enebo enebo added this to the JRuby 1.7.16 milestone Sep 25, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.