Revision: 5068
http://sourceforge.net/p/jump-pilot/code/5068
Author: edso
Date: 2016-10-09 19:01:24 +0000 (Sun, 09 Oct 2016)
Log Message:
-----------
make native ECW support more chatty about it's status. log successful loading
or failure with reason.
Modified Paths:
--------------
core/trunk/src/com/vividsolutions/jump/workbench/imagery/ecw/ECWImageFactory.java
Modified:
core/trunk/src/com/vividsolutions/jump/workbench/imagery/ecw/ECWImageFactory.java
===================================================================
---
core/trunk/src/com/vividsolutions/jump/workbench/imagery/ecw/ECWImageFactory.java
2016-10-09 17:44:55 UTC (rev 5067)
+++
core/trunk/src/com/vividsolutions/jump/workbench/imagery/ecw/ECWImageFactory.java
2016-10-09 19:01:24 UTC (rev 5068)
@@ -38,6 +38,7 @@
import com.vividsolutions.jump.I18N;
import com.vividsolutions.jump.JUMPException;
import com.vividsolutions.jump.io.CompressedFile;
+import com.vividsolutions.jump.workbench.Logger;
import com.vividsolutions.jump.workbench.WorkbenchContext;
import com.vividsolutions.jump.workbench.imagery.ReferencedImage;
import com.vividsolutions.jump.workbench.imagery.ReferencedImageFactory;
@@ -130,10 +131,12 @@
try {
System.loadLibrary("jecw");
} catch (Error e) {
- context.getWorkbench().getFrame().log("ECW/JP2 native libs " +
sNotInstalled, this.getClass());
+ Logger.error("ECW/JP2 native libs " + sNotInstalled + " reason: " +
e.getMessage());
+ Logger.debug(e);
return false;
}
+ Logger.info("ECW/JP2 native support loaded.");
return true;
}
}
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Jump-pilot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel