即使在 install4j 中存在许可证(使用 install4j IDE 检查),运行 install4j ant 任务时也会出现以下错误。尝试使用命令行提供许可证,
install4jc -license=XXXX
但仍然出现相同的错误。
build 04-Mar-2014 03:45:51 [install4j] Executing 'C:\Program Files\install4j5\bin\install4jc.exe' with arguments:<br/>
build 04-Mar-2014 03:45:51 [install4j] '--win-keystore-password=XXXX'<br/>
build 04-Mar-2014 03:45:51 [install4j] 'C:\Users\Z_Admin\bamboo-home\xml-data\build-dir\ZEETRUNK-BUILDALL-JOB1\trunk\installer\zbot\installer\zbot.install4j'<br/>
build 04-Mar-2014 03:45:51 [install4j] <br/>
build 04-Mar-2014 03:45:51 [install4j] The ' characters around the executable and arguments are<br/>
build 04-Mar-2014 03:45:51 [install4j] not part of the command.<br/>
build 04-Mar-2014 03:45:52 [install4j] install4j version 5.1.6 (build 5596), built on 2013-06-07<br/>
build 04-Mar-2014 03:45:52 [install4j] Please run the command line executable with the -L [license key] option or open the install4j IDE to enter a license key.<br/>
build 04-Mar-2014 03:45:52 [ant] Exiting C:\Users\Z_Admin\bamboo-home\xml-data\build-dir\ZEETRUNK-BUILDALL-JOB1\trunk\installer\zephyr\installer\exebuild.xml.<br/>
Run Code Online (Sandbox Code Playgroud)
谢谢,
普拉特克
可能您正在以不同的用户身份运行 ant。
复制
%USERPROFILE%\.install4j5\config.xml
Run Code Online (Sandbox Code Playgroud)
到
[install4j installation directory]\config\config.xml
Run Code Online (Sandbox Code Playgroud)
那么许可证将可供所有用户使用,
| 归档时间: |
|
| 查看次数: |
878 次 |
| 最近记录: |