enunciate.zip(jarFile2, dirToZipUp);
enunciate.setRuntimeClasspath(dirEntry.getAbsolutePath() + File.pathSeparator + jarFile.getAbsolutePath() + File.pathSeparator + jarFile2.getAbsolutePath());
EnunciateConfiguration config = new EnunciateConfiguration(Collections.<DeploymentModule>emptyList());
APIImport apiImport = new APIImport();
apiImport.setPattern("org.codehaus.enunciate.pckg1.SampleClassOne");
config.addAPIImport(apiImport);
apiImport = new APIImport();
apiImport.setPattern("org.codehaus.enunciate.pckg1.with.**");
config.addAPIImport(apiImport);
apiImport = new APIImport();
apiImport.setPattern("org.codehaus.enunciate.pckg2.*");