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).
- Paul
At 12:18 PM 3/29/00 +0200, you wrote:
>I have just installed the jde and read the documentation.
>It all works fine, but I do have one problem. If I build
>an example program, containing an error, the second buffer
>looks something like this:
>
>----
>cd e:/tda/auth/arakne/dk/coconut/browser2/
>make -f E:/tda/auth/arakne/Makefile -C E:/tda/auth/arakne
>javac -g -deprecation -classpath "jars/netscape.jar"
>dk/coconut/browser2/Browser.java
>dk\coconut\browser2\Browser.java:46: Class dk.coconut.browser2.Apta not
>found.
> private Apta apt;
>----
>
>When I click on the line "dk\coconut\browser2\Browser.java:46", I belive the
>first
>buffer is supposed load the Browser.java file. This is not the case, instead
>im
>asked to "Find this error in:".
>
>I belive setting the source directory root should do the job?
>Do I really have to put all my directories into the source directory?
>
>Regards,
>Ren� Schade
>
>
------------------------------------------------------------
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