答复: javac task encountered a compiling error at the 'import' statement

2011-03-21 Thread 汪燕青
: Ant Users List 主题: 答复: javac task encountered a compiling error at the 'import' statement I've tried setting the classpath and sourcepath, still didn't work. But if I removed the problematic import statement, compiling ok, which means the classpath and sourcepath is right. I

答复: javac task encountered a compiling error at the 'import' statement

2011-03-21 Thread 汪燕青
fix. But I when using Eclipse, setting the project's java compiler's 'Compiler compliance level' to 1.3, it was ok. -邮件原件- 发件人: 汪燕青 [mailto:wangyanq...@gameabc.com] 发送时间: 2011年3月22日 10:20 收件人: Ant Users List 主题: 答复: javac task encountered a compiling error at the

Re: javac task encountered a compiling error at the 'import' statement

2011-03-21 Thread Scot P. Floess
Can we see your build.xml? Sounds like a classpath/srcpath issue... On Tue, 22 Mar 2011, 汪燕青 wrote: Hi everyone,   When I’m building a simple project with ANT 1.8.2, I encountered a compiling error at the import statement of the java code file. There only 2 java files: A.java and com/B.j