Comments below.
:-)
> -----Original Message-----
> From: Paul Kinnucan [mailto:[EMAIL PROTECTED]]
> Sent: den 24 november 2000 15:07
> To: Gunnar Bostr�m
> Cc: [EMAIL PROTECTED]
> Subject: RE: JDE 2.2.6betaX
>
>
> At 04:15 PM 11/24/00 +0100, you wrote:
> >I've tested beta3 and missed the jde-wiz-kill-extra-import.
> >
>
> As the release notes note, all import related functions have
> been renamed
> to begin with jde-import. Thus, jde-wiz-kill-extra-import has become
> jde-import-kill-extra-imports.
>
Sorry, I missed that.
> >I liked your solution for importing $CLASSPATH to
> jde-global-classpath, so I
> >would like to see that as part of 2.6.
> >
>
> What was the solution? I don't remember.
(defun jde-append-classpath ()
"*Adds the contents of CLASSPATH to `jde-global-classpath',
but only if the contents that are not already in `jde-global-classpath'."
(interactive)
(let ((paths
(jde-path-string-to-list
(getenv "CLASSPATH"))))
(while paths
(let ((path (car paths)))
(if jde-global-classpath
(if (not
(find-if
(lambda(p) (string= p path))
jde-global-classpath))
(setq jde-global-classpath
(append jde-global-classpath (list path))))
(setq jde-global-classpath (list path)))
(setq paths (cdr paths))))))
the function must also be added to: "Jde Entering Java Buffer Hooks"
Of cause you must make sure that jde-global-class-path is not set if the
project file is saved.
>
>
> - Paul
>