Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/ant/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
查看GWT ANT compile的更多错误信息_Gwt_Ant - Fatal编程技术网

查看GWT ANT compile的更多错误信息

查看GWT ANT compile的更多错误信息,gwt,ant,Gwt,Ant,我正在为GWT开发一个ANT构建。我的构建失败,基本上没有任何信息- [回声更新](08:27:26)编译gwtp [回声更新](08:27:30)gwtp项目更新 [回声更新](08:27:43)生成gwt all 构建失败 c:\git\psuite\build\build gwt.xml:92:执行此行时发生以下错误: c:\git\psuite\build\build gwt.xml:72:Java返回:1 java构建部分在这里或eclipse中运行良好,没有错误,但是从java到ja

我正在为GWT开发一个ANT构建。我的构建失败,基本上没有任何信息-

[回声更新](08:27:26)编译gwtp

[回声更新](08:27:30)gwtp项目更新

[回声更新](08:27:43)生成gwt all

构建失败 c:\git\psuite\build\build gwt.xml:92:执行此行时发生以下错误:

c:\git\psuite\build\build gwt.xml:72:Java返回:1

java构建部分在这里或eclipse中运行良好,没有错误,但是从java到javascript的构建失败,基本上没有错误消息。我可以做些什么来实现更多的输出吗?这是ANT构建失败的部分

<macrodef name="gwt-compile-js" description="compiles java to javascript">
    <attribute name="module"/>
    <sequential>
        <property name="gwt.args" value="-style ${gwt.compiler.style} -logLevel ${gwt.compiler.loglevel} -compileReport -XsoycDetailed -XdisableCastChecking"/>
        <java classname="com.google.gwt.dev.Compiler" failonerror="true" fork="true">
            <classpath>
                <pathelement location="${gwt.src.dir}"/>
                <path refid="gwt.project.class.path"/>
            </classpath>
            <jvmarg value="${gwt.compiler.jvmargs}"/>
            <arg line="-war"/>
            <arg value="${gwt.deploy.dir}"/>
            <arg line="-localWorkers ${gwt.compiler.localworkers}"/>
            <arg line="${gwt.args}"/>
            <arg line="@{module}"/>
        </java>
    </sequential>
</macrodef>

日志级别设置为ALL,样式为OBF


谢谢你的帮助

您是否使用详细选项运行脚本?哇,成功了。很抱歉给您添麻烦。ANT新手,没有看到有详细的选项。我使用的是一个同事标记为-安静。