Fixed properties retrieving
This commit is contained in:
parent
97a7036929
commit
42612880e4
|
@ -1,5 +1,6 @@
|
|||
package org.gcube.vremanagement.executor.plugin;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.util.Map;
|
||||
|
@ -51,7 +52,7 @@ public abstract class Plugin implements PluginDefinition {
|
|||
properties = new Properties();
|
||||
|
||||
try {
|
||||
InputStream input = getClass().getClassLoader().getResourceAsStream(PLUGIN_PROPERTIES_FILENAME);
|
||||
InputStream input = getClass().getClassLoader().getResourceAsStream("META-INF" + File.separator + PLUGIN_PROPERTIES_FILENAME);
|
||||
properties.load(input);
|
||||
} catch(IOException e) {
|
||||
throw new RuntimeException(e);
|
||||
|
|
Loading…
Reference in New Issue