首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >许可证的Install4j蚂蚁任务抛出错误

许可证的Install4j蚂蚁任务抛出错误
EN

Stack Overflow用户
提问于 2014-03-04 12:04:30
回答 1查看 988关注 0票数 1

运行install4j ant任务时出现以下错误,即使install4j中存在许可证(与install4j IDE检查)。尝试使用命令行提供许可证

install4jc -license=XXXX

但还是会犯同样的错误。

代码语言:javascript
运行
复制
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/>

谢谢,

普拉蒂克

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2014-03-04 17:57:58

可能您是以不同用户的身份运行ant。

复制

代码语言:javascript
运行
复制
%USERPROFILE%\.install4j5\config.xml

代码语言:javascript
运行
复制
[install4j installation directory]\config\config.xml

那么所有的用户都可以使用这个许可证,

票数 5
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/22171457

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档