private final List<String> propertyTypesInstance = Arrays.asList(new String[] { Property.PROPERTY,
Property.VARIABLE });
+
+ private String workflowsPath;
+
/**
QueryDefinitionAPI queryDefinitionAPI, String barFile)
throws Exception {
- String workflowsPath = System.getenv("HOME") + "/.evalcomp/" + workflowsdir;
+ workflowsPath = System.getenv("HOME") + "/.evalcomp/" + workflowsdir;
File dir = new File(workflowsPath);
ZipFile zip = null;
try {
if (logger.isWarnEnabled()){
- logger.debug("Try to find workflow: " + Beans.getApplicationPath("/")+ "WEB-INF/"+workflowsdir + "/" + pduuid + ".bar");
+ logger.debug("Try to find workflow: " + workflowsPath + "/" + pduuid + ".bar");
}
- zip = new ZipFile(Beans.getApplicationPath("/")+ "WEB-INF/" + workflowsdir + "/" + pduuid + ".bar");
+ zip = new ZipFile(workflowsPath + "/" + pduuid + ".bar");
ZipEntry entry = new ZipEntry(filename);