XSLT for Emacs
Brought to you by:
ovidiu
|
From: Jeremy C <je...@co...> - 2001-05-06 17:49:24
|
I am having a bit of trouble getting this to function properly.
I am running Emacs for Windows, 20.7 ... I have installed PSGML, JDE, and
elib is installed (No errors on load and JDE works great). What happens is
I get an error when hitting C-c C-x C-v that reports: Cannot find main
class, program will exit.
My Class path is:
SET
CLASSPATH=C:\DEVELOP\cocoon-1.8.2\bin\cocoon.jar;C:\DEVELOP\cocoon-1.8.2\lib\xalan_1_2_D02.jar;C:\DEVELOP\cocoon-1.8.2\lib\xerces_1_2.jar;C:\DEVELOP\jboss_jetty\jetty\lib\servlet_2_2.jar
Also, I get no syntax highlighting... Anyway, here is the revelant parts of
my .emacs file as well.
(add-to-list 'load-path (expand-file-name "~/emacs/site/jde/lisp"))
(add-to-list 'load-path (expand-file-name "~/emacs/site/semantic"))
(add-to-list 'load-path (expand-file-name "~/emacs/site/elib"))
(add-to-list 'load-path (expand-file-name "~/emacs/site/eieio"))
(add-to-list 'load-path (expand-file-name "~/emacs/site/xslt"))
(add-to-list 'load-path (expand-file-name "~/emacs/site/psgml"))
(autoload 'sgml-mode "psgml" "Major mode to edit SGML files." t)
(autoload 'xml-mode "psgml" "Major mode to edit XML files." t)
(autoload 'xslt-process-mode "xslt-process" "Run XSLT processor on buffer" t)
(setq auto-mode-alist
(append '(("\\.xml$" . xml-mode)) auto-mode-alist))
(add-hook 'xml-mode-hook 'xslt-process-mode)
(setq defer-loading-jde nil)
(if defer-loading-jde
(progn
(autoload 'jde-mode "jde" "JDE mode." t)
(setq auto-mode-alist
(append
'(("\\.java\\'" . jde-mode))
auto-mode-alist)))
(require 'jde))
(defun my-jde-mode-hook ()
(setq c-basic-offset 2))
(add-hook 'jde-mode-hook 'my-jde-mode-hook)
(custom-set-variables
'(xslt-process-cocoon1-properties-file
"c:\\DEVELOP\\cocoon-1.8.2\\conf\\cocoon.properties")
'(font-lock-support-mode (quote lazy-lock-mode))
'(xslt-process-default-processor (quote (Xalan1)))
(custom-set-faces)
Can you offer any assistance with my difficulties?
Thank you very much,
Jeremy - je...@co...
|