Skip to content
Browse files

comments

  • Loading branch information...
1 parent eff3a7a commit 191bac7afbbb814b87406044c2e0653fd076fe04 @jdillon jdillon committed Dec 6, 2012
View
2 install4j-maven-plugin/src/main/java/org/sonatype/install4j/maven/Install4jcMojoSupport.java
@@ -72,8 +72,10 @@ protected void doExecute() throws Exception {
log.debug("install4jc: " + install4jc);
+ // ensure the binary is executable
ant.chmod(install4jc, "u+x");
+ // ensure version is compatible
VersionHelper versionHelper = new VersionHelper(log);
String versionProperty = versionHelper.fetchVersion(ant, install4jc);
versionHelper.ensureVersionCompatible(ant.getProperty(versionProperty));

0 comments on commit 191bac7

Please sign in to comment.
Something went wrong with that request. Please try again.