Bug 167389 Perspective should switch to ReportDesign when new a library.[0603]
Description: Perspective should switch to ReportDesign when new a library in BIRT Web Project. Build number:2.2.0.v20061211 Steps to reproduce: 1. New a BIRT Web Project. 2. Select the project and right click to new a library file. Expected result: Perspective switch to Report Design as new a report and template do. Actual result: Perspective stayed at J2EE. Error log:N/A
UI/org.eclipse.birt.report.designer.ui.lib/src/org/eclipse/birt/report/designer/ui/wizards/NewLibraryWizard.java
throws CoreException
					{
						if ( resource.getType( ) == IResource.FILE
								&& name.equals( ( (IFile) resource ).getName( ) ) )
						{
							tmpList.add( Boolean.TRUE );
						}
						return true;
					}
				},
						IResource.DEPTH_INFINITE,
						true );
				if ( tmpList.size( ) > 0 )
				{
					return false;
				}
			}
			catch ( CoreException e )
			{
				ExceptionHandler.handle( e );
			}
		}
		return true;
	}
	/**
	 * Creates a folder resource handle for the folder with the given workspace
	 * path. This method does not create the folder resource; this is the
	 * responsibility of <code>createFolder</code>.
	 * 
	 * @param folderPath