在izpack中安装后执行脚本 [英] Execute script after installation in izpack

查看:186
本文介绍了在izpack中安装后执行脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我制作了包含jboss的jar文件,我想在解压缩jar并将其完全安装到我的机器上后启动我的Web应用程序.我应该在izpack中的哪里编写脚本,代码或xml标记,以便在安装应用程序后standalone.sh自动运行,而jboss在后台运行,并且应用程序成功部署

I have made jar file which contanins jboss and I want to start my web application when jar extracts and installed completly on my machine. where should i write script or code or xml tag in izpack so that after installing the application standalone.sh run automatically and my jboss run in the background and my application deployed successfully

推荐答案

以防万一有人像我刚才那样偶然发现了这个线程:

Just in case somebody stumbles upon this thread as i just did:

您可以在安装的"pack"元素中包含一个"executable"元素,该元素将作为自定义脚本执行: izpack文档

You can include an "executable" element in your install "pack" element which will execute as custom script: izpack documentation

这篇关于在izpack中安装后执行脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆