/** * Sets the target version of the compilation */ public void setTarget(String version) { options.target = SpecVersion.parse(version); if (options.target == null) throw new BuildException(version + " is not a valid version number. Perhaps you meant @destdir?"); specTarget = options.target.getVersion(); }
/** * Sets the target version of the compilation */ public void setTarget(String version) { options.target = SpecVersion.parse(version); if (options.target == null) throw new BuildException(version + " is not a valid version number. Perhaps you meant @destdir?"); specTarget = options.target.getVersion(); }
/** * Sets the target version of the compilation */ public void setTarget(String version) { options.target = SpecVersion.parse(version); if (options.target == null) throw new BuildException(version + " is not a valid version number. Perhaps you meant @destdir?"); specTarget = options.target.getVersion(); }