Useful if you want the jde-run-application-class to be something like "$ORION_HOME/orion.jar".
It needs to modified for the fix to jde-run-option-jar in version 1.93
-- Josh
(defun jde-run-get-main-class ()
"Gets the main class for the application to which the current
source buffer belongs."
(let ((main-class jde-run-application-class))
(if (or
(not main-class)
(string= main-class ""))
(setq main-class
(concat (jde-db-get-package)
(file-name-sans-extension
(file-name-nondirectory (buffer-file-name))))))
+ (if (car jde-run-option-jar)
+ (setq main-class (jde-normalize-path 'jde-run-application-class)))
main-class))-- Joshua Spiewak Ivy Ventures, LLC Phone: 781.793.0204 Mobile: 617.308.5674 Fax: 347.710.4095
