summaryrefslogtreecommitdiffhomepage
path: root/prog/jao-java-ant.el
diff options
context:
space:
mode:
Diffstat (limited to 'prog/jao-java-ant.el')
-rw-r--r--prog/jao-java-ant.el20
1 files changed, 0 insertions, 20 deletions
diff --git a/prog/jao-java-ant.el b/prog/jao-java-ant.el
deleted file mode 100644
index 27c6420..0000000
--- a/prog/jao-java-ant.el
+++ /dev/null
@@ -1,20 +0,0 @@
-(require 'jao-dominating-file)
-
-(eval-after-load 'cc-mode
- '(progn
- (add-hook 'java-mode-hook
- (lambda ()
- (set (make-local-variable 'compile-command) "ant")))
- (define-key java-mode-map "\C-cc" 'jao-java-ant-build)))
-
-(defun jao-java-ant-build ()
- (interactive)
- (let ((build-file (jao-locate-dominating-file "build\\.xml")))
- (unless build-file
- (error "Couldn't find associated build file"))
- (let ((default-directory (file-name-directory build-file)))
- (call-interactively 'compile))))
-
-(provide 'jao-java-ant)
-
-;; End of jao-java-ant.el