File libFolder = new File(tempFileFolder,"lib");
libFolder.mkdir();
FileCopier copier = new FileCopier();
//copy the classes
copier.copyFiles(classFileFolder, tempFileFolder,page1Bean.getFilter());
//copy the service.xml
copier.copyFiles(serviceFile, metaInfFolder,null);
//copy the libs
for (int i=0;i < fileList.size();i++){
copier.copyFiles((File)fileList.get(i),libFolder,null);