0

我正在研究 OpenGTS,我正在尝试使用 build.xml 和命令对其进行编译ant all。我不断收到此错误:

[java] 错误:无法找到或加载主类 org.opengts.util.CompiletimeVars

返回的 Java:1

代码:

<!-- (re)create compile time source file here? -->
<echo message="Creating CompileTime module ..."/>
<java classname="org.opengts.util.CompiletimeVars" fork="true" failonerror="true">
    <arg value="-configFileDir=${basedir}"/>
    <arg value="-template?=${basedir}/CompileTime.jtemp"/>
    <arg value="-package=org.opengts"/>
    <arg value="-output=${src.gts}/org/opengts/CompileTime.java"/>
    <arg value="-overwrite=false"/> <!-- do not overwrite -->
    <arg value="-extra=${CompiletimeVars.extra}"/>
    <arg value="${CompiletimeVars.arg}"/>
    <arg value="${CompiletimeVars.arg.1}"/>
    <arg value="${CompiletimeVars.arg.2}"/>
    <arg value="${CompiletimeVars.arg.3}"/>
    <classpath>
        <pathelement location="${build.lib}/gtsutils.jar"/>
    </classpath>
</java>
4

0 回答 0