Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
myabc opened this issue Dec 11, 2009 · 0 comments
Labels

Comments

@myabc
Copy link
Contributor

myabc commented Dec 11, 2009

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
Labels
Projects
None yet
Development

No branches or pull requests

1 participant