Repository: incubator-taverna-commandline Updated Branches: refs/heads/master c3a31c56f -> cd5b2ee27
file -> path Project: http://git-wip-us.apache.org/repos/asf/incubator-taverna-commandline/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-taverna-commandline/commit/cd5b2ee2 Tree: http://git-wip-us.apache.org/repos/asf/incubator-taverna-commandline/tree/cd5b2ee2 Diff: http://git-wip-us.apache.org/repos/asf/incubator-taverna-commandline/diff/cd5b2ee2 Branch: refs/heads/master Commit: cd5b2ee279e8302690d94d03d356cd9e22dc5682 Parents: c3a31c5 Author: Stian Soiland-Reyes <[email protected]> Authored: Sun Feb 14 23:02:41 2016 +0000 Committer: Stian Soiland-Reyes <[email protected]> Committed: Sun Feb 14 23:02:41 2016 +0000 ---------------------------------------------------------------------- .../org/apache/taverna/commandline/TavernaCommandLine.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-taverna-commandline/blob/cd5b2ee2/taverna-commandline-launcher/src/main/java/org/apache/taverna/commandline/TavernaCommandLine.java ---------------------------------------------------------------------- diff --git a/taverna-commandline-launcher/src/main/java/org/apache/taverna/commandline/TavernaCommandLine.java b/taverna-commandline-launcher/src/main/java/org/apache/taverna/commandline/TavernaCommandLine.java index ce36de6..b8489a3 100644 --- a/taverna-commandline-launcher/src/main/java/org/apache/taverna/commandline/TavernaCommandLine.java +++ b/taverna-commandline-launcher/src/main/java/org/apache/taverna/commandline/TavernaCommandLine.java @@ -123,7 +123,7 @@ public class TavernaCommandLine { private static List<URI> getBundleURIs() { List<URI> bundleURIs = new ArrayList<URI>(); ApplicationProfile applicationProfile = applicationConfiguration.getApplicationProfile(); - File libDir = new File(applicationConfiguration.getStartupDir(), "lib"); + File libDir = new File(applicationConfiguration.getStartupDir().toFile(), "lib"); if (applicationProfile != null) { for (BundleInfo bundle : applicationProfile.getBundle()) { File bundleFile = new File(libDir, bundle.getFileName()); @@ -138,12 +138,12 @@ public class TavernaCommandLine { } private static File getAppDirectory() { - return new File(applicationConfiguration.getApplicationHomeDir().getAbsolutePath()); + return new File(applicationConfiguration.getApplicationHomeDir().toFile().getAbsolutePath()); } private static void setDerbyPaths() { System.setProperty("derby.system.home", getAppDirectory().getAbsolutePath()); - File logFile = new File(applicationConfiguration.getLogDir(), "derby.log"); + File logFile = new File(applicationConfiguration.getLogDir().toFile(), "derby.log"); System.setProperty("derby.stream.error.file", logFile.getAbsolutePath()); }
