Taskdef class Com.install4j.install4jtask cannot found

Source: Internet
Author: User

Compile openfire with Eclipse, where Ant adds bulid.xml times wrong

Taskdef class Com.install4j.install4jtask cannot found

The reason is that the install4j path of the Bulid.xml Installer.install4j.home is incorrect

Solve:

1. Download and install install4j

Page http://download.csdn.net/detail/wjx5858598/2861075

Address http://dldx.csdn.net/fd.php?i=854628610758033&s=4698e847820b00451d5034cf5e433f5e

2. Modify Bulid.xml

I am here to install install4j under D:\Program files\install4j.

Such a piece of code
<property file= "${basedir}/build/build.properties"/>
Change it to
<property file= "${basedir}/build/build.properties.template"/>


Modify the install4j path at the same time:
<property name= "Installer.install4j.home" value= "/home/j2ee-bamboo/install4j.4.0.5"/>
Change it to its own install4j installation path:
<property name= "Installer.install4j.home" value= "D:\Program files\install4j"/>

Reference:http://resources.ej-technologies.com/install4j/help/doc/indexredirect.html?http&&& Resources.ej-technologies.com/install4j/help/doc/cli/ant.html

Http://www.verydemo.com/demo_c167_i4909.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.