jruby/warbler — Issue #72: Generating a compiled war does not compile all controller files
Author: brentsowers1
Created: 2012-01-17 22:06:20+00:00
State: open

When I run "warble compiled war", .class files are not being generated for some of my controllers. I have 10 controller .rb files, and only 3 .class files are being generated. The .rb files for these controllers that don't have a .class are identical to the other .rb files, just a require to load the .class.

The behavior is consistent, it is always the same 7 controller files that do not have .class files in the WAR. And, running just "warble compiled" generates the same .class files, only 3 in controllers when there should be 10.

An unmodified scaffold controller will not have an associated .class file, so that's an easy way to reproduce this. I'm running JRuby 1.6.5 in 1.9 mode, and Rails 3.1.3.