我正在使用ant编译并运行一个java程序,该程序已成功编译,但在运行所需的output.txt时没有生成。运行命令有问题吗?
COMPILE:ant -buildfile build.xml all
运行:ant -buildfile build.xml运行-Darg0 = train_all_txt.txt -Darg1 = output.txt
build.xml中的代码:
<target name="run" depends="jar">
<java jar="${BUILD}/jar/recommenderSystem.jar" fork="true">
<arg value="${arg0}"/>
<arg value="${arg1}"/>
<arg value="${arg2}"/>
<arg value="${arg3}"/>
<arg value="${arg4}"/>
</java>
</target>