From: kjvdheide Date: Wed, 20 Dec 2017 16:05:01 +0000 (+0000) Subject: JAL-2871 JAL-2877 second try at specifying config filelocation X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=19e2b55a344dcc9443de228d9a060b924b57dd42;p=jalview.git JAL-2871 JAL-2877 second try at specifying config filelocation --- 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