Configuration.workingDir is now set correctly.
| | |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonIgnore; |
| | | import com.fasterxml.jackson.annotation.JsonProperty; |
| | | import lombok.AccessLevel; |
| | | import lombok.Getter; |
| | | import lombok.Setter; |
| | | import org.apache.commons.lang3.StringUtils; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | |
| | | private static final String RESTORE_DIRNAME = "restore"; |
| | | |
| | | @JsonIgnore |
| | | @Setter(AccessLevel.PACKAGE) |
| | | private File workingDir; |
| | | |
| | | @Getter |
| | |
| | | } |
| | | } |
| | | } |
| | | this.configuration.setWorkingDir(workingDir); |
| | | } catch (IOException ex) { |
| | | log.error("Error while trying to read from config file: " + configFile.getAbsolutePath() + ": " + ex.getMessage(), ex); |
| | | return; |