![]() |
Integrating install4j with your ant script (read about ant at
ant.apache.org)
is easy. Just use the install4j task
that is provided in $INSTALL4J_HOME/bin/ant.jar
and set the projectfile parameter to the install4j project
file that you want to build.
To make the <taskdef name="install4j" classname="com.install4j.Install4JTask" classpath="C:\Program Files\install4j\bin\ant.jar"/> <target name="media"> <install4j projectfile="myapp.install4j"/> </target>
On macOS, the
The
Note: it is not possible to copy the |
![]() |
The install4j task supports the following parameters:
Contained elements:
|
![]() |
The "hello" sample project includes an ant build script that shows how to setup
the install4j task. To install the sample projects, invoke
Project->Open Sample Project from the install4j IDE. When you
do this for the first time, the sample projects are copied to the "Documents" folder in your
home directory.
In the ant media
to start the build. If you have not defined install4jHomeDir in |