1.查看openfire_src/build下的build.properties.template,設置installer.install4j.home= "" 爲install4j爲安裝路徑
2.修改bulid.xml
我這裏將install4j安裝到D:\Program Files\install4j下。
這樣一段代碼
<property file="${basedir}/build/build.properties"/>
將它改爲
<property file="${basedir}/build/build.properties.template"/>
同時修改install4j路徑:
<property name="installer.install4j.home" value="/home/j2ee-bamboo/install4j.4.0.5"/>
將它改爲自己的install4j的安裝路徑:
<property name="installer.install4j.home" value="D:\Program Files\install4j"/>
3.build.xml文件修改
<taskdef name="install4j"
classname="com.install4j.Install4JTask"
classpath="C:\progrom\install4j\bin\ant.jar"/>