tempFileFolder = new File("Service-copy");
tempFileFolder.mkdir();
File metaInfFolder = new File(tempFileFolder,"META-INF");
metaInfFolder.mkdir();
new FileCopier().copyFiles(classFileFolder,tempFileFolder);
new FileCopier().copyFiles(serviceFile,metaInfFolder);
//jar the temp directory. the output folder will be created if missing
new JarFileWriter().writeJarFile(outputFolder,outputFileName,tempFileFolder);
} catch (Exception e) {
throw new ProcessException(e);