How to configure compile-jre on build agents?

Our development environment consist of several build agents who builds the installer mediums. Today we had a compile error inside of install4j at one of the build agents. The class version didn't match with some custom classes. We found out that the installed jre on the build agent were a jre_1.6 x32 and a jre_1.7 x64. The project setting was set to create a x32 installer medium with a minimum java version of 1.7. Therefore the search algorithm of install4j (%JAVA_HOME% etc.) used the jre_1.6 x32 to compile the code. **Now the question:** is it possible to configure the compile-jre during the maven build process? Maybe to modify the path of the config.xml from %User_Home%/.install4j5 to %INSTALL4J_HOME%/config? The best solution for our environment would be to point the compile-jre to a jre, which will be extracted during the maven build (phase: process-resources) and which will be included later in the installer as the bundled jre for the application. Then we could be ensure that the application is compiled with the same jre as it will be used after installation. No matter how the build agent is configured (x64 or x32). Hopefully the problem is understandable. Greetings
Hardie

以上就是How to configure compile-jre on build agents?的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » HBuilder

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏