Urs Reupke
Urs Reupke

Reputation: 6921

How to install the install4j compiler in a scripted way?

I contribute to an open source project and would like to use install4j to build installers. I further would like to use Travis-CI as my build server, using their free open-source offer.

Travis runs every build in a fresh VM, and install4j requires a command-line compiler to be present. Thus, I need to provide/install install4j itself in my build script.

A crude way to go about it would be to fetch an archive from the ej-technologies website every time I build, unzip it and then compile. This requires an OS-switch and a load of archive-handling, depending on the system in use.

I hope there is a better way. How would you go about it?

Upvotes: 1

Views: 221

Answers (1)

Urs Reupke
Urs Reupke

Reputation: 6921

[Making @IngoKegel's comments into an answer]
Downloading a fresh copy of Install4J from the ej-technologies website is the only way there currently is. This has to be done separately for each OS, since there are no platform-independent installers or archives.

Upvotes: 1

Related Questions