Reputation: 371
We bought the install4j license. Please let us know to integration of license key with Ant build script ?
Upvotes: 1
Views: 722
Reputation: 621
The following worked for me,
<taskdef name="install4j"
classname="com.install4j.Install4JTask"
classpath="/home/User/install4j6/bin/ant.jar"/>
<target name="build-media">
<install4j license="License Key" projectfile="project.install4j" destimation="Destination Dir"/>
<variable>If Any<variable>
<variable>If Any<variable>
</target>
Upvotes: 0
Reputation: 48090
According to the documentation:
http://resources.ej-technologies.com/install4j/help/doc/cli/ant.html
you can set the license key with the license
attribute of the install4j
ant task.
Upvotes: 1