createSourceFile("org.codehaus.enunciate.pckg3.SampleClassTen", dirToZipUp);
File jarFile2 = File.createTempFile("enunciatetest", ".jar");
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.*");
config.addAPIImport(apiImport);
apiImport = new APIImport();
apiImport.setPattern("some.other.class.that.is.Explicit");
config.addAPIImport(apiImport);
enunciate.setConfig(config);
ImportedClassesClasspathHandler handler = new ImportedClassesClasspathHandler(enunciate);
enunciate.scanClasspath(Arrays.asList((ClasspathHandler) handler));