as you mentioned that you are using make -C -f so are you able to click on
errors and jump to locations in right buffers? I am not able to get that
behaviour. I can use C-cC-vC-c fine and get to error in the buffer but with
make (I use one thats available for cygwin on nt) it fails. could you try
that one out and if you have an example (like HelloWorld using make from
cygwin) at your site it would be cool.
-----Original Message-----
From: Paul Kinnucan [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 01, 1999 10:39 AM
To: Mark.Koennecke
Cc: [EMAIL PROTECTED]
Subject: Re: JDE-wish
At 03:09 PM 10/1/99 +0200, you wrote:
>
> Dear Paul Kinnacan,
>
> I recently downloaded and installed your nice JDE package for emacs to
> my machine. First: thanks for providing that!
>
> But I have a wish: I am building several related applications which
> share some common code from a shared source path. From this root
> directory a forest of subdirectories exists which contain code special
> to applications or common code. The root directory also holds all
> Makefiles and all sources are meant to be compiled from there. Now,
> when compiling or building a Java source from one of the subdirectories
> the compile of course fails because the compiler does not find the other
> class files in the same package (though I set classpath to the root
> dir). For the build option I was able to levy the problem somewhat
> by having a shell script instead of make which first cd's into the root
> directory and then invokes make. But jumping to errors does not work
> in this mode.
>
Hi Mark,
I don't understand the problem. A Java compiler should be able to find any
class as long as you have set the classpath correctly and included the
appropriate import statements in your source files. It doesn't matter what
directory you compile from.
I am working on an application with a very complex, multiproject structure,
and I have no problems building it, just using a Java compiler and setting
jde-global-classpath.
If you're talking about using make to build your projects, that's a
different story. In this case, I change directories to the directory
containing the makefile and run the makefile. I use make's -f and -C
options to get the directories working correctly. I'm planning on adding a
jde variable that will allow you to specify the location of the makefile
for a project, so that you can build the project from any directory in the
project.
- Paul