rake-compiler JavaExtensionTask should provide sanity check when there is no compilation #13

myabc opened this Issue Dec 11, 2009 · 0 comments


None yet

1 participant


To reproduce, create a basic project structure.

mkdir ext/my_java_extension

And create a blank .java file (MyJavaExtensionService.java) in the above directory.

Create a Rakefile with the following:


javac will not complain about being passed a blank .java file, but will not emit a .class file. jar will then be passed zero file arguments and output an error/usage message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment