Mark Zhang wrote:
> Hello Kohsuke,
>
> Thanks for the reply, I appreciate it.
> I tried download the newest code(7 weeks new ) from https://codemodel.dev.java.net/ .
> It still doesn't work for me. maybe there is something wrong with my code. I will try to find what is going on there. anyway, thanks alot.
I attached the code I used to test the problem.
> by the way, I saw the reserved keywords in the JJavaName.java. I think 'con' is also one of them. I couldn't name a file con.java or con.*.
> so maybe we couldn't generate a java source file named con.java. Just FYI.
On Windows you cannot create a file or directory named 'con' because CON
is reserved as console. The same with NUL, AUX, etc. That's a Windows
restriction.
It's bit hard to handle these things consistently. Maybe codeModel
should watch out for those, but they are definitely not reserved words.
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com