Precompiling ruby files to run faisl
------------------------------------
Key: JRUBY-1974
URL: http://jira.codehaus.org/browse/JRUBY-1974
Project: JRuby
Issue Type: Bug
Components: Compiler
Affects Versions: JRuby 1.1RC1
Environment: Linux Fedora * Java 1.6 latest realease of Jruby
Reporter: Derek Townsend
Priority: Critical
When precompiling the jruby files does not work. WHen the files are run under
jrubyc for precompilation the files names change example, example_ex.rb to
example_ex_dot_rb.class.
This erros then affects any and all requires in the classpath aswell in the
jard files. the compiled reques can not know where or what to do.
$:jrubyc src/*.rb
$:jrubyc src/test/*.rb
$:Compiling src/test/test.rb to class ruby/src/test/test_dot_rb
$:Compiling src/thread_jar_ex.rb to class ruby/src/thread_jar_ex_dot_rb
Error Example:
$: java -jar thread.jar
$: Exception in thread "main" src/thread_jar_ex.rb:3: no such file to load --
ruby/src/test/test (LoadError)
...internal jruby stack elided..
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email