At 11:56 AM 3/29/00 -0500, you wrote:
>Hi Rene,
>
>The JDE uses Emacs's standard compile package for running make files and
>compilations. This package assumes that a compiler error message includes
>the absolute path of the file in which the error occurred. I believe this
>assumption is valid for C compilers and for Jikes. However, it is not valid
>for javac as javac error messages contain only the relative path passed on
>the command line. This works fine when using the JDE compile program
>because the JDE compile command always runs the compiler in the directory
>containing the source file being compiled. However, it creates problems
>when building projects in which the makefile resides in a directory
>different from the source files.
>
>There as a hook in the Emacs compile package for installing a custom error
>message handler. My plan ultimately is to provide a JDE handler that would
>match the search the source directories listed in jde-db-source-directories
>for the file specifed in a javac error message. If anyone else wants to
>undertake this task, please feel free as I won't get to it for a while.
>(Please let me know, if you decide to undertake this).
>
>
Oddly enough there is a message on the gnu.emacs.help newsgroup on this
same subject and somebody pointed out that there is already a variable
compilation-search-directories that allows you to specifiy directories for
searching for source files. I don't think this will work if you use
qualified source file names in your makefile.
Perhaps all the JDE really needs to do is to update
compilation-search-directories with the value of jde-db-source-directories.
- Paul
------------------------------------------------------------
ASKING FOR TECHNICAL SUPPORT ON THE JDE LIST
Please use the JDE->Help->Submit Problem Report command when reporting a
bug or seeking help. This command generates a complete snapshot of your
system. Submitting such a snapshot increases the chances that your request
will get a swift response.
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
JDE website: http://sunsite.auc.dk/jde/
JDE mailing list archive:
http://www.mail-archive.com/[email protected]/maillist.html