;; -*-emacs-lisp-*-
;;
;; Emacs JDE customization file for Cocoon. It is automatically used
;; if you have a decently recent version of GNU Emacs or Xemacs with JDE.
;;
;; Author: Ovidiu Predescu <ovidiu@apache.org>
;; Date: April 2002


;; JDE customization
(jde-project-file-version "1.0")
(jde-set-variables
 '(jde-project-name "Cocoon")
 '(jde-compile-option-classpath (split-path "@jar.files@"))
 '(jde-compile-option-command-line-args "-g")
 '(jde-compile-option-sourcepath (quote ("@src.dir@")))
 '(jde-compile-option-directory "@build.war@/WEB-INF/classes")
 '(jde-global-classpath (split-path "@jar.files@"))
 '(jde-compile-option-debug (quote ("all" (t nil nil))))
 '(jde-compiler "javac"))

;; Editor customization
(defun jde-cocoon-custom ()
 ;; Indentation level
 (setq c-basic-offset 4)
 ;; Set TAB width to 8 characters
 (setq tab-width 8)
 ;; Make sure no tabs are used
 (setq indent-tabs-mode nil)
 (setq c-toggle-auto-hungry-state 1))

(add-hook 'jde-mode-hook 'jde-cocoon-custom t)
