2 Sep 2002 07:24
asking help
Paul Kinnucan <paulk <at> mathworks.com>
2002-09-02 05:24:20 GMT
2002-09-02 05:24:20 GMT
andriamasinoro fenintsoa writes:
> Hi,
>
> I have a little problem with the "jde-resolve-relative-paths-p"
> variable. Actually, I would like to have the "." character in my
> jde-global-classpath variable but the JDE always translate it to an
> absolute path even if I set the former variable to nil.
>
> What should I do please?
>
There is a bug in the jde-normalize-path function. A fix will appear
in the next beta release. Meanwhile, you can patch jde.el with
the fixed version of jde-normalize-path included below.
- Paul
(defun jde-normalize-path (path &optional symbol)
"This function performs the following transformation on PATH:
* Replaces environment variables of the form $VAR or ${VAR} with
their values. Note that you must use the Unix notation for
environment variables on the native Windows versions of Emacs and
XEmacs.
* Replaces the tilde character with the value of the home directory,
typically specified by the HOME environment variable.
* Converts Cygwin style paths to DOS notation on Windows.
(Continue reading)
Unfortunatly it doesnt work for me in my case. I have both the
source and the generated classes hanging off the same directory,
e.g.
/some/path/java/com/...
/some/path/java/build/generated/com/...
/some/path/java/build/classes/com/...
So /some/path/java is in my source path. If I do to the bsh
bsh % jde.util.JdeUtilities.getQualifiedName("OSClass");
I get
(list "build.classes.com.serco.objectserver.OSClass")
and not
(list "com.serco.objectserver.OSClass")
RSS Feed