Bug 122702 Smoke[regression]: Template file can't be published.
Description: Template file can't be published. Steps to reproduce: 1. Create a template file. 2. Publish it and click on "OK" button in "publish" window. 3. Error message "PublishTemplateAction.wizard.message" pops up.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/actions/PublishTemplateAction.java
*/
	public boolean performFinish( )
	{
		
		String templateFolderPath = ReportPlugin.getDefault( )
				.getTemplatePreference( );
		String filePath = SessionHandleAdapter.getInstance( )
				.getReportDesignHandle( )
				.getFileName( );
		String fileName = filePath.substring( filePath.lastIndexOf( File.separator ) );
		String targetPath = templateFolderPath + fileName;
		if ( ResourcesPlugin.getWorkspace( )
				.getRoot( )
				.getFile( new Path( targetPath ) ) != null )
		{
			ExceptionHandler.openErrorMessageBox( Messages.getString( "PublishTemplateAction.wizard.errorTitle" ),
					Messages.getString( "PublishTemplateAction.wizard.message" ) );
			return true;
		}
		int overwrite = 0;
		try
		{
			if ( new File( targetPath ).exists( ) )
			{
				String[] buttons = new String[]{
						IDialogConstants.YES_LABEL,
						IDialogConstants.NO_LABEL,
						IDialogConstants.CANCEL_LABEL
				};
				String question = Messages.getFormattedString( "SaveAsDialog.overwriteQuestion",