jrubyc path output
------------------
Key: JRUBY-5638
URL: http://jira.codehaus.org/browse/JRUBY-5638
Project: JRuby
Issue Type: Improvement
Affects Versions: JRuby 1.6
Environment: OS X
Reporter: Zach Holman
Assignee: Thomas E Enebo
Priority: Minor
I chatted with @headius about this on IRC, he asked me to file an issue. The
gist of it:
We precompile our models and controllers prior to deploys. Our process for
precompiling each individual file is like this:
`jrubyc --dir /PATH/TO/COMPILED/OUTPUT lib/some-path/file.rb`
We would have expected that to then output the file to
`/PATH/TO/COMPILED/OUTPUT/lib/some-path/file.class`. The problem is that jrubyc
anticipates how Java interprets namespaces, so it instead outputs to
`/PATH/TO/COMPILED/OUTPUT/lib/some_minus_path/file.class`. From our
perspective, we basically treat JRuby's .class files *as* .rb files, so we want
the final path to be the same before compilation.
I'm not sure the implications of fixing this- as I mentioned on IRC, if there
was a command-line switch like `--respect-paths` or something, I'm all for that
and it'd solve it for me. But it also sounded like jrubyc needed some cleaning
up in general for this and other issues, so this is just to make note of it all.
--
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