0 Replies Latest reply on Aug 9, 2002 7:47 AM by pra

    Emacs and ear,war and sar-files

      OK, of topic. But I am just so happy, finaally I got emacst to recognice not only jar but also ear, war and sar files. Al are now possible to open from emacs and edit live - talk about hot reddeploys!!!

      FYI: edit .emacs:

      (setq auto-mode-alist
      (cons '("\\.ear$" . archive-mode) auto-mode-alist))
      (setq auto-mode-alist
      (cons '("\\.war$" . archive-mode) auto-mode-alist))
      (setq auto-mode-alist
      (cons '("\\.sar$" . archive-mode) auto-mode-alist))

      ;-) Peter ;-)