Bug 122165 Publish template action should warn before overwriting existing template
Publish a template to the templates folder. Make a change to the template. Publish it again. Expected result: Warning dialog that you are about to overwrite the existing template. (Similar to File->Save As warning when overwriting an existing file.) Actual result: The template just gets written without a warning.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/actions/PublishTemplateAction.java
catch ( SemanticException e )
		{
			ExceptionHandler.handle( e );
			return false;
		}
		catch ( IOException e )
		{
			ExceptionHandler.handle( e );
			return false;
		}
		return true;
	}
	/**
	 * 
	 * set ReportDesignHandle properties.
	 * 
	 * @param fileName
	 * @throws DesignFileException
	 * @throws SemanticException
	 * @throws IOException
	 */
	private void setDesignFile( String fileName ) throws DesignFileException,
			SemanticException, IOException
	{
		ReportDesignHandle handle = SessionHandleAdapter.getInstance( )
				.getSessionHandle( )
				.openDesign( fileName );
		if ( !page.getDisplayName( ).equals( "" ) ) 
			handle.setDisplayName( page.getDisplayName( ) );
		if ( !page.getDescription( ).equals( "" ) )