File tree Expand file tree Collapse file tree
modules/apim-adapter/src/main/java/com/axway/apim/lib/utils Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -210,9 +210,11 @@ public static File getInstallFolder() {
210210 File installFolder = null ;
211211 while (permissions .hasMoreElements ()) {
212212 Permission permission = permissions .asIterator ().next ();
213+ LOG .info ("Permission class: " + permission .getClass ());
213214 if (permission .getClass () == FilePermission .class ) {
214215 String permName = permission .getName ();
215- // APIM-CLI runs compiles e.g. C:\Axway\Tools\apim-cli-1.12.0-SNAPSHOT\lib\apimcli-apim-adapter-1.12.0-SNAPSHOT.jar
216+ LOG .info ("Permission name: " + permName );
217+ // APIM-CLI runs compiled e.g. C:\Axway\Tools\apim-cli-1.12.0-SNAPSHOT\lib\apimcli-apim-adapter-1.12.0-SNAPSHOT.jar
216218 if (permName .endsWith (".jar" )) {
217219 installFolder = new File (permName ).getParentFile ().getParentFile ();
218220 break ;
@@ -224,7 +226,7 @@ public static File getInstallFolder() {
224226 }
225227 }
226228 if (installFolder == null ) {
227- LOG .error ("Cloud not determine install folder." );
229+ LOG .error ("Could not determine install folder." );
228230 }
229231 if (!installFolder .isDirectory ()) {
230232 LOG .error ("Determined install folder: " +installFolder +" is not a directory." );
You can’t perform that action at this time.
0 commit comments