Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

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

Open
myabc opened this Issue · 0 comments

1 participant

@myabc

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:

Rake::JavaExtensionTask.new('my_java_extension')

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
Something went wrong with that request. Please try again.