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 descText;
	private Text nameText;
	
	public PublishPage( )
	{
		super( PAGE_TITLE );
		setTitle( PAGE_TITLE );
		setMessage( PAGE_DESC );
		module = (ReportDesignHandle) SessionHandleAdapter.getInstance( )
				.getReportDesignHandle( );
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite)
	 */
	public void createControl( Composite parent )
	{
		Composite container = new Composite( parent, SWT.NONE );
		GridLayout gridLayout = new GridLayout( );
		gridLayout.marginWidth = 20;
		gridLayout.marginHeight = 10;
		gridLayout.verticalSpacing = 7;
		gridLayout.numColumns = 3;
		container.setLayout( gridLayout );
		new Label( container, SWT.NONE ).setText( LABEL_DISPLAY_NAME );
		nameText = createText( container, 2, 1 );
		if ( module.getProperty( ModuleHandle.DISPLAY_NAME_PROP ) != null )
			nameText.setText( module.getDisplayName( ) );
		new Label( container, SWT.NONE ).setText( LABEL_DESCRIPTION );