Javier S. L�pez writes:
 > > Setting user.dir will do nothing, unless every call you
 > > make to open a file prepends "System.getProperty(user.dir)".
 > This is okay for this case though. The property can be set and the
 > CompileServer.java can take care of calling
 > System.getProperty("user.dir"). 
 > 

This sounds good. I propose trying the following implementation.  CompileServer should 
be modified to accept the directory of the source file from the JDE (or, better, to 
parse the full path into a directory and a file name). It then sets user.dir to the 
directory of the source file to be compiled and passes the file name to javac. I'll do 
this tonight, if no one else wants to tackle it before then.

- Paul

Reply via email to