Re: Change to jde-run-classpath-arg

[email protected] (Przemysław Wojnowski)
Newsgroups gmane.emacs.jdee.devel
Message-ID <[email protected]>
Hi!
I have tested this and created a patch - the only way to repository. ;-)

Regards,
Przemek

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf

_______________________________________________
jdee-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jdee-devel
jde-run.diff (text/x-diff, 924 B)
Index: lisp/jde-run.el
===================================================================
--- lisp/jde-run.el	(revision 154)
+++ lisp/jde-run.el	(working copy)
@@ -602,12 +602,15 @@
   "Returns the classpath argument for this vm."
   (let ((classpath
 	 (if jde-run-option-classpath
-	      (if (string= jde-run-option-classpath "global")
-		  jde-global-classpath
-		(unless (string= jde-run-option-classpath "none")
-		  jde-run-option-classpath))))
+	     (if (and (stringp jde-run-option-classpath)
+		      (string= jde-run-option-classpath "global"))
+		 jde-global-classpath
+	       (unless (and (stringp jde-run-option-classpath)
+			    (string= jde-run-option-classpath "none"))
+		 jde-run-option-classpath))))
 	(symbol
 	 (if (and jde-run-option-classpath
+		  (stringp jde-run-option-classpath)
 		  (string= jde-run-option-classpath "global"))
 	     'jde-global-classpath
 	   'jde-run-option-classpath)))
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.