构建install4j项目失败,“/ bin / sh失败,返回码为1”

时间:2014-10-17 15:20:19

标签: install4j

我正在以详细模式构建一个install4j项目,它偶尔会在构建结束时出现以下一般错误(未显示其他错误):

07:08:29 [install4j] Writing md5sums.
07:08:29 [install4j] Writing output.txt.
07:08:29 [install4j] Writing updates.xml.
07:08:29 [install4j] 
07:08:29 [install4j] Build completed in 126.5 seconds.
07:08:29 
07:08:29 BUILD FAILED
07:08:29 /home/jenkins/workspace/Product-Build/src/build.xml:1736: The following error occurred while executing this line:
07:08:29 /home/jenkins/workspace/Product-Build/src/build.xml:1745: The following error occurred while executing this line:
07:08:29 /home/jenkins/workspace/Product-Build/src/macros.xml:228: /bin/sh failed with return code 1

更新:查看日志我发现以下异常解释了失败:

08:43:55 [install4j] com.a.a.d: The path "<PATH>/file" does not exist.
08:43:55 [install4j]    at com.install4j.b.b.f.a(ejt:241)
08:43:55 [install4j]    at com.install4j.b.b.f.a(ejt:114)
08:43:55 [install4j]    at com.install4j.b.b.f.a(ejt:90)
08:43:55 [install4j]    at com.install4j.b.h.a(ejt:197)
08:43:55 [install4j]    at com.install4j.b.h.d(ejt:106)
08:43:55 [install4j]    at com.install4j.Install4JApplication.c(ejt:435)
08:43:55 [install4j]    at com.a.a.a(ejt:286)
08:43:55 [install4j]    at com.install4j.Install4JApplication.main(ejt:92)
08:43:55 [install4j]    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
08:43:55 [install4j]    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
08:43:55 [install4j]    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
08:43:55 [install4j]    at java.lang.reflect.Method.invoke(Method.java:606)
08:43:55 [install4j]    at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
08:43:55 [install4j]    at com.install4j.runtime.launcher.Launcher.main(Unknown Source)
08:43:55 [install4j] install4j: compilation failed. Reason: The path "<PATH>/file" does not exist.

0 个答案:

没有答案