Re: flymake integration for the eclipse java compiler

"Jason Coffin" <[email protected]> Fri, 27 Apr 2007 17:12:25 -0400
Newsgroups gmane.emacs.jdee
Message-ID <[email protected]>
On 4/27/07, Suraj Acharya <[email protected]> wrote:
> Jason,
>
> The problem is because flymake thinks the temp file is called
> "c:/DOCUME~1/jcoffin/LOCALS~1/Temp/..." while ecj is returning error
> messages with filenames like "c:\Documents and Settings\jcoffin\Local
> Settings\Temp\...".
>
> I thought I fixed this in the new function definition I sent in my
> previous mail, by not calling file-truename. Are you sure you're using
> this function definition and not the one from your saved .el file?
> Basically the variable temp-file in that function should have the
> directory names with ~1 in them, and not spaces.
>
> What does the line that starts with "sent command=.." in your
> *Messages* buffer look like?
>

sent command=(new org.eclipse.jdt.internal.compiler.batch.Main(new
java.io.PrintWriter(System.out),

new java.io.PrintWriter(System.err), true)).compile(new String[]
{"-classpath","[**very long clas path
definition**]","-Xemacs","-noExit","-d","none","-1.5","c:/Documents
and Settings/jcoffin/Local
Settings/Temp/-45009877/ISPSpamComplaintHandler.java"});, to
process=#<process bsh>


And yes, I'm using your new function definition.