Bug 122110 Template can't publish to the path which is the same as create path
Details: Template can't publish to the path which is the same as create path Setp: 1.Open a report design and set windows-preferences-template-template folder to c:\test. 2.New a template in c:\test 3.Publish template to template folder Actual result: Template folder can't publish, and this error lead to a new report can't be new, except delete the template Expection result: Even if the template folder path and template create path is the same is wrong, can it pop up a error message to notice user it is wrong handle.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/actions/PublishTemplateAction.java
private Text createText( Composite container, int column, int row )
	{
		Text text;
		GridData gridData = new GridData( GridData.FILL_HORIZONTAL
				| GridData.GRAB_HORIZONTAL );
		gridData.horizontalSpan = column;
		if ( row > 1 )
		{
			text = new Text( container, SWT.BORDER | SWT.MULTI | SWT.WRAP );
			gridData.heightHint = row * 20;
		}
		else
			text = new Text( container, SWT.BORDER | SWT.SINGLE );
		text.setLayoutData( gridData );
		return text;
	}
	private void validate( )
	{
		if ( previewImageText.getText( ).trim( ).length( ) == 0 )
		{
			setErrorMessage( null );
			setPageComplete( true );
		}
		else if ( !new File( previewImageText.getText( ) ).exists( ) )
		{
			setErrorMessage( Messages.getFormattedString( IMAGE_ERROR,
					new String[]{