我有一个GWT项目,我已经有一段时间没有构建它了,尽管我不认为有太大的变化。
当我奔跑
ant gwtc
我得到输出:
Buildfile: .../build.xml
libs:
javac:
[javac] .../build.xml:31: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 4 source files to .../war/WEB-INF/classes
[javac] error: Source option 5 is no longer supported. Use 7 or later.
[javac] error: Target option 5 is no longer supported. Use 7 or later.
BUILD FAILED
.../build.xml:31: Compile failed; see the compiler error output for details.
1条答案
按热度按时间isr3a4wc1#
在生成的build.xml文件中,我发现了以下代码块:
并将源代码和目标代码行更改为1.7。