From 19e2b55a344dcc9443de228d9a060b924b57dd42 Mon Sep 17 00:00:00 2001 From: kjvdheide Date: Wed, 20 Dec 2017 16:05:01 +0000 Subject: [PATCH] JAL-2871 JAL-2877 second try at specifying config filelocation --- src/jalview/ext/archaeopteryx/AptxInit.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/jalview/ext/archaeopteryx/AptxInit.java b/src/jalview/ext/archaeopteryx/AptxInit.java index aaccfe8..f3093fa 100644 --- a/src/jalview/ext/archaeopteryx/AptxInit.java +++ b/src/jalview/ext/archaeopteryx/AptxInit.java @@ -56,7 +56,10 @@ public final class AptxInit // yet to add user preferred config private final static Configuration APTX_CONFIG = new Configuration( Cache.getDefault("APTXCONFIG", - "resources/_aptx_jalview_configuration_file.txt"), + Cache.class.getClass() + .getResource( + "/_aptx_jalview_configuration_file.txt") + .toString()), false, false, false); private final static boolean VALIDATE_PHYLOXML_XSD = APTX_CONFIG -- 1.7.10.2