Repository: incubator-taverna-plugin-component Updated Branches: refs/heads/master e84b5c161 -> 2d67e834c
File -> Path Project: http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/commit/77e3eb4a Tree: http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/tree/77e3eb4a Diff: http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/diff/77e3eb4a Branch: refs/heads/master Commit: 77e3eb4a78144b446ed443c3f85d3f6dd748ba71 Parents: e84b5c1 Author: Stian Soiland-Reyes <[email protected]> Authored: Mon Feb 22 13:38:12 2016 +0000 Committer: Stian Soiland-Reyes <[email protected]> Committed: Mon Feb 22 13:38:12 2016 +0000 ---------------------------------------------------------------------- .../org/apache/taverna/component/profile/BaseProfileLocator.java | 2 +- .../main/java/org/apache/taverna/component/utils/SystemUtils.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/77e3eb4a/taverna-component-activity/src/main/java/org/apache/taverna/component/profile/BaseProfileLocator.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/profile/BaseProfileLocator.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/profile/BaseProfileLocator.java index 475accb..e8c1354 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/profile/BaseProfileLocator.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/profile/BaseProfileLocator.java @@ -125,7 +125,7 @@ public class BaseProfileLocator { } private File getBaseProfileFile() { - File config = new File(appConfig.getApplicationHomeDir(), "conf"); + File config = new File(appConfig.getApplicationHomeDir().toFile(), "conf"); if (!config.exists()) config.mkdir(); return new File(config, BASE_PROFILE_PATH); http://git-wip-us.apache.org/repos/asf/incubator-taverna-plugin-component/blob/77e3eb4a/taverna-component-activity/src/main/java/org/apache/taverna/component/utils/SystemUtils.java ---------------------------------------------------------------------- diff --git a/taverna-component-activity/src/main/java/org/apache/taverna/component/utils/SystemUtils.java b/taverna-component-activity/src/main/java/org/apache/taverna/component/utils/SystemUtils.java index dab2692..7145b19 100644 --- a/taverna-component-activity/src/main/java/org/apache/taverna/component/utils/SystemUtils.java +++ b/taverna-component-activity/src/main/java/org/apache/taverna/component/utils/SystemUtils.java @@ -83,7 +83,7 @@ public class SystemUtils { } public File getApplicationHomeDir() { - return appConfig.getApplicationHomeDir(); + return appConfig.getApplicationHomeDir().toFile(); } public void setAppConfig(ApplicationConfiguration appConfig) {
