Skip to content

Commit

Permalink
Adds support for bundledJreAsFallback property
Browse files Browse the repository at this point in the history
Closes #23
  • Loading branch information
lukaszlenart committed May 23, 2015
1 parent 64acaa1 commit 7962f3d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/main/java/com/akathist/maven/plugins/launch4j/Jre.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,18 @@ public class Jre {
*/
String path;

/**
* Sets jre's bundledJre64Bit flag
*/
@Parameter(defaultValue = "false")
boolean bundledJre64Bit;

/**
* Sets jre's bundledJreAsFallback flag
*/
@Parameter(defaultValue = "false")
boolean bundledJreAsFallback;

/**
* Use this property if you want the executable to search the system for a jre.
* It names the minimum version acceptable, in x.x.x[_xx] format.
Expand Down Expand Up @@ -129,6 +141,8 @@ net.sf.launch4j.config.Jre toL4j() {
net.sf.launch4j.config.Jre ret = new net.sf.launch4j.config.Jre();

ret.setPath(path);
ret.setBundledJre64Bit(bundledJre64Bit);
ret.setBundledJreAsFallback(bundledJreAsFallback);
ret.setMinVersion(minVersion);
ret.setMaxVersion(maxVersion);
ret.setJdkPreference(jdkPreference);
Expand Down

0 comments on commit 7962f3d

Please sign in to comment.