2,展开L2JServer项目,你会看到build.xml文件
在该文件上点击右键->Run as -> Ant build 然后等待编译完成,刷新你的项目,会看到build文件夹,里面就是编译好的内容了。
若要更新源码,在项目上右键选择Team,选择Pull即可(Fetch也可以更新,但是Pull操作简单)。
若要查看更新历史和日志,在项目上右键选择Team,选择Show in history即可
BUILD FAILED
C:\Users\XXX\git\l2j_mobius\L2J_Mobius_1.0_Ertheia\build.xml:64: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "C:\Program Files\Java\jre1.8.0_211"
BUILD FAILED
error: unmappable character (0xFF) for encoding UTF-8
C:\Users\XXX\git2\l2j_mobius\L2J_Mobius_1.0_Ertheia\build.xml:64: Compile failed; see the compiler error output for details.