Hello all,

I assume this is really an Emacs problem rather than a JDEE one, but I'm hoping 
one of you can still help me.

I'm using cygnus 20b, emacs 21.1.1, ant 1.4.1, JDEE 2.2.8 and get the following 
when I try to do a build:

        cd e:/Projects/Java/Idle/Example/src/prj.el
        ant.bat -Dbuffer=e:/Projects/Java/Idle/Example/src/Bomb.java  -buildfile 
build.xml -emacs
        @echo: not found
        //E/Programme/Freeware/jakarta-ant-1.4.1/bin/ant.bat: 31: Syntax error: "(" 
unexpected (expecting "then")

        Compilation exited abnormally with code 2 at Fri May 24 08:47:28

If I run the line with ant.bat directly from a bash window it works fine.

Here is my .emacs:

(add-to-list 'load-path "C:/Programme/Emacs/site-lisp")
(add-to-list 'load-path "E:/Programme/Freeware/Lisp")


;; w3
;(setq load-path (cons "e:/Programme/Freeware/w3-4.0pre.47/lisp" load-path))
;(require 'w3-auto)


;; bash
(setq binary-process-input t)
(setq w32-quote-process-args ?\")
(setq shell-file-name "bash")
(setenv "SHELL" shell-file-name)
(setq explicit-shell-file-name shell-file-name)
(setq explicit-sh-args '("-login" "-i"))

;
; JDEE
;
(add-to-list 'load-path (expand-file-name 
"C:/Programme/Emacs/emacs-20.7/site-lisp/jde-2.2.8/lisp"))
;(add-to-list 'load-path (expand-file-name 
"E:/Programme/Freeware/jde-2.2.9beta9.1/lisp"))
(add-to-list 'load-path (expand-file-name 
"C:/Programme/Emacs/emacs-20.7/site-lisp/elib-1.0"))
(add-to-list 'load-path (expand-file-name "e:/Programme/Freeware/eieio-0.16"))

; speedbar
(add-to-list 'load-path "e:/Programme/Freeware/speedbar-0.13a")
(autoload 'speedbar-frame-mode "speedbar" "Popup a speedbar frame" t)
(autoload 'speedbar-get-focus "speedbar" "Jump to speedbar frame" t)
(define-key-after (lookup-key global-map [menu-bar tools])
      [speedbar] '("Speedbar" . speedbar-frame-mode) [calendar])
(global-set-key [(f4)] 'speedbar-get-focus)
(add-hook 'texinfo-mode-hook (lambda () (require 'sb-texinfo)))

;semantic
(add-to-list 'load-path "e:/Programme/Freeware/semantic-1.4beta11")
(setq semantic-load-turn-everything-on t)
(require 'semantic-load)

;
(require 'jde)


(custom-set-variables
  ;; custom-set-variables was added by Custom -- don't edit or cut/paste it!
  ;; Your init file should contain only one such instance.
 '(jde-ant-program "ant.bat"))
(custom-set-faces
  ;; custom-set-faces was added by Custom -- don't edit or cut/paste it!
  ;; Your init file should contain only one such instance.
 )

and here is the prj.el:

(jde-project-file-version "1.0")
(jde-set-variables
; '(jde-global-classpath (quote ("E:/Projects/Java/Idle/Example/lib")))
; '(jde-make-program "make")
 '(jde-ant-program "ant.bat")
; '(jde-db-source-directories (quote ("E:/Projects/Java/Idle/Example/src")))
 '(jde-build-function (quote (jde-ant-build)))
 '(jde-run-application-class "")
 '(jde-compile-option-depend nil))

Any help would be greatly appreciated.

Loris

---------------------------------------------------------
Dr. Loris Bennett, S.E.S.A. AG
[EMAIL PROTECTED]
+49 30 390 722 333

Reply via email to