net.sf.jazzlib.ZipOutputStream zipOut = new net.sf.jazzlib.ZipOutputStream(new FileOutputStream(filePath));
int zipEntryMapperLength = zipEntryMapperList.size();
for(int idx=0; idx<zipEntryMapperLength; idx++) {
ZipEntryMapper zipEntryMapper = (ZipEntryMapper)zipEntryMapperList.get(idx);
if(zipEntryMapper.getEntryType().equals(ZipEntryMapper.TYPE_FOLDER)) {
zipOut.putNextEntry(new net.sf.jazzlib.ZipEntry(zipEntryMapper.getEntryName() + File.separatorChar));
} else {
String entryName = zipEntryMapper.getEntryAlias() + ZipEntryMapper.ENTRY_SEPARATOR
+ zipEntryMapper.getEntryType();
ua.setProcessDefinitions(zipEntryMapper.getEntryId(), entryName);
zipOut.putNextEntry(new net.sf.jazzlib.ZipEntry(entryName));
InputStream zipIn = (InputStream)zipEntryMapper.getStream();
if(zipIn!=null){
byte [] buf = new byte[1024];
int len;
while ((len = zipIn.read(buf)) > 0) {