Re: Should jde-run-option-classpath
"Suraj Acharya" <[email protected]> Fri, 4 May 2007 19:25:31 -0700
| Newsgroups | gmane.emacs.jdee |
|---|---|
| Message-ID | <[email protected]> |
Looks like you've found a bug.
Replace all the `string=' tests with `equal', like this:
(defmethod jde-run-classpath-arg ((this jde-run-vm))
"Returns the classpath argument for this vm."
(let ((classpath
(if jde-run-option-classpath
(if (equal jde-run-option-classpath "global")
jde-global-classpath
(unless (equal jde-run-option-classpath "none")
jde-run-option-classpath))))
(symbol
(if (and jde-run-option-classpath
(equal jde-run-option-classpath "global"))
'jde-global-classpath
'jde-run-option-classpath)))
(if classpath
(list
"-classpath"
(jde-build-classpath
classpath symbol)))))
On 5/4/07, Andy Watson <[email protected]> wrote:
>
> Hello JDE users,
>
> I've been attempting to use the jde-run-option-classpath value to
> control how an application is executed via jde-run.
>
> I'm assuming (perhaps a bad thing) that the jde-run-option-classpath
> should be a list of strings. If however you look at
> jde-run-classpath-arg, the first thing it does is a string= to test to
> see if this variable is set to "global". Of course, this fails if
> jde-run-option-classpath is a list with a stringp error.
>
> What should I do? My workaround is to use jde-global-classpath for the
> time being.
>
> Thanks,
> Andy
> --
>