Forum: JRuby Stripped down JRuby.jar ?

1605c6b1dc1cc72357c57c9179c883ae?d=identicon&s=25 Boily, Sylvain (Guest)
on 2014-03-18 18:40
(Received via mailing list)
Hi, we were looking into using the UnmarshallStream class from the
Jruby.jar within out java web application and realized that the jar
contains some third party library which are getting in conflicts with
out own dependencies (e.g.: joda time)

Is there a jar that contains only the Jruby functionality without the
3rd party libs ?

I found out that there is a jruby-complete.jar but this one is even
bigger.

Thanks

Sylvain
B05d3cbc64b0031a24c2887fb6ddc173?d=identicon&s=25 christian (Guest)
on 2014-03-18 18:49
(Received via mailing list)
you can use

http://search.maven.org/#artifactdetails|org.jruby...

depending on your "dependency tool" you have certain amount of freedom
to
exclude and/or overwrite dependencies from jruby.

maybe that helps.

- christian

PS joda-time is needed the moment you want to marshal/unmarshal Date,
DateTime, Time objects
1605c6b1dc1cc72357c57c9179c883ae?d=identicon&s=25 Boily, Sylvain (Guest)
on 2014-03-18 19:32
(Received via mailing list)
Thanks for you reply,

When using the latest jruby versions the issue disappear , it looks like
all self-contained packages are now under org.jruby.
Problem solved.

Thanks

Sylvain


From: christian <m.kristian@web.de<mailto:m.kristian@web.de>>
Reply-To: "user@jruby.codehaus.org<mailto:user@jruby.codehaus.org>"
<user@jruby.codehaus.org<mailto:user@jruby.codehaus.org>>
Date: Tuesday, March 18, 2014 at 1:46 PM
To: "user@jruby.codehaus.org<mailto:user@jruby.codehaus.org>"
<user@jruby.codehaus.org<mailto:user@jruby.codehaus.org>>
Subject: Re: [jruby-user] Stripped down JRuby.jar ?

you can use

http://search.maven.org/#artifactdetails|org.jruby...

depending on your "dependency tool" you have certain amount of freedom
to exclude and/or overwrite dependencies from jruby.

maybe that helps.

- christian

PS joda-time is needed the moment you want to marshal/unmarshal Date,
DateTime, Time objects


On Tue, Mar 18, 2014 at 5:39 PM, Boily, Sylvain
<Sylvain.Boily@nuance.com<mailto:Sylvain.Boily@nuance.com>> wrote:
Hi, we were looking into using the UnmarshallStream class from the
Jruby.jar within out java web application and realized that the jar
contains some third party library which are getting in conflicts with
out own dependencies (e.g.: joda time)

Is there a jar that contains only the Jruby functionality without the
3rd party libs ?

I found out that there is a jruby-complete.jar but this one is even
bigger.

Thanks

Sylvain
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.