Bug 14860

Summary: Folder generation aborts after one folder is skipped
Product: [Eclipse Project] PDE Reporter: Wassim Melhem <wassim.melhem>
Component: UIAssignee: Dejan Glozic <dejan>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P1    
Version: 2.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Wassim Melhem CLA 2002-04-29 13:07:39 EDT
Class: org.eclipse.pde.ui.templates.AbstractTemplateSection.java,
Method: generateFiles(File,IContainer,boolean,boolean,IProgressMonitor)

The for-loop goes through all the directories and files and copies a subset 
that is chosen by the subclass of AbstractTemplateSection.
However, in this code, the method erroneously returns as soon as one folder has 
been skipped.  Instead, we should process its siblings, if any.
The following if-statement should be changed from:
	if (isOkToCreateFolder(member) == false)
	    return;

to 
        if (isOkToCreateFolder(member) == false)
            continue;
Comment 1 Dejan Glozic CLA 2002-04-29 15:53:24 EDT
Fixed.