This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
}
public interface RootedEntry2 extends RootedEntry {
boolean isDirectoryDeployIgnored();
public static final class Type {
public static final Type WAR = new Type(ModuleType.WAR);
J2eeModule.RootedEntry entry = rootedEntries.next();
String relativePath = entry.getRelativePath();
FileObject sourceFO = entry.getFileObject();
if (sourceFO.isData() && isArchiveInRootDir(root, sourceFO)) {
if ((entry instanceof J2eeModule.RootedEntry2)
&& ((J2eeModule.RootedEntry2) entry).isDirectoryDeployIgnored()) {
continue;
FileObject destFolder = ServerFileDistributor.findOrCreateParentFolder(destRoot, relativePath);
private boolean isArchiveInRootDir(FileObject root, FileObject sourceFO) {
if (sourceFO.getParent().equals(root) && ("jar".equals(sourceFO.getExt()) || "war".equals(sourceFO.getExt()))) {
return true;
return false;
//ServerProgress methods
private void setStatusDistributeRunning(String message) {
notify(createRunningProgressEvent(CommandType.DISTRIBUTE, message));