Forum: JRuby JRuby 1.1.5 include_class breaks from myjar file...working in 1.1.4

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
C7aed300a54b96bf2372966ff8aeeeea?d=identicon&s=25 drrs (Guest)
on 2008-11-06 23:39
(Received via mailing list)
Something like this:
my_directory='<some directory>\build\WEB-INF\classes'
Dir.chdir(my_directory)
system('C:\jdk1.5.0\bin\jar cf myFile.jar .')
require 'myFile.jar'

Say Hello is now part of the myFile.jar

Now I do something like:
include_class 'com.mypackage.Hello'

Worked in JRuby 1.1.4.

Fails in JRuby 1.1.5?

Something changed to include java class..or is this functionality
broken?
Had to go back to Jruby 1.1.4
--
View this message in context:
http://www.nabble.com/JRuby-1.1.5-include_class-br...
Sent from the JRuby - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
C7aed300a54b96bf2372966ff8aeeeea?d=identicon&s=25 drrs (Guest)
on 2008-11-11 23:08
(Received via mailing list)
Anyone seen this?

This works without any issues in 1.1.4.
Was there an announcement on a workaround for this?

Please confirm.

Thanks!


drrs wrote:
> include_class 'com.mypackage.Hello'
>
> Worked in JRuby 1.1.4.
>
> Fails in JRuby 1.1.5?
>
> Something changed to include java class..or is this functionality broken?
> Had to go back to Jruby 1.1.4
>

--
View this message in context:
http://www.nabble.com/JRuby-1.1.5-include_class-br...
Sent from the JRuby - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
C7aed300a54b96bf2372966ff8aeeeea?d=identicon&s=25 drrs (Guest)
on 2008-12-12 22:59
(Received via mailing list)
I see the same issue in Jruby 1.1.6 RC1...can anyone please clarify me
why
something like this:

my_directory='<some directory>\build\WEB-INF\classes'
Dir.chdir(my_directory)
system('C:\jdk1.5.0\bin\jar cf myFile.jar .')
require 'myFile.jar'

Say com.mypackage.Hello is now part of the myFile.jar

Now I do something like:
include_class 'com.mypackage.Hello'

Worked in 1.1.4 and not in 1.1.5 and 1.1.6RC1?

Thanks in advance.


--
View this message in context:
http://www.nabble.com/JRuby-1.1.5-include_class-br...
Sent from the JRuby - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
Ede2aa10c6462f1d825143879be59e38?d=identicon&s=25 Charles Oliver Nutter (Guest)
on 2008-12-13 12:35
(Received via mailing list)
drrs wrote:
>
> Now I do something like:
> include_class 'com.mypackage.Hello'
>
> Worked in 1.1.4 and not in 1.1.5 and 1.1.6RC1?

If there's anything left that seems like a bug, please file one.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
This topic is locked and can not be replied to.