|
|
|
@ -21,11 +21,12 @@ public class LocalDesignerWorkspaceInfo implements DesignerWorkspaceInfo {
|
|
|
|
|
|
|
|
|
|
private static final String REPORT_ENGINE_KEY = "report-engine-key"; |
|
|
|
|
private static final String REPORT_ENGINE_JAR; |
|
|
|
|
private static final String PROP_PATH = "/com/fr/env/jarVersion.properties"; |
|
|
|
|
|
|
|
|
|
static { |
|
|
|
|
Properties properties = new Properties(); |
|
|
|
|
try { |
|
|
|
|
properties.load(LocalDesignerWorkspaceInfo.class.getResourceAsStream("/com/fr/env/jarVersion.properties")); |
|
|
|
|
properties.load(LocalDesignerWorkspaceInfo.class.getResourceAsStream(PROP_PATH)); |
|
|
|
|
} catch (Exception ignored) { |
|
|
|
|
} |
|
|
|
|
REPORT_ENGINE_JAR = properties.getProperty(REPORT_ENGINE_KEY, "default.jar"); |
|
|
|
|