Bug 176875 BIRT viewer - WTP integration - web.xml file created has blank values
When you create a BIRT web project, the web.xml file has lot of blank default values, which is very confusing to understand. Some users commented about it during the eclipse conference. Suggestions 1) BIRT_VIEWER_WORKING_FOLDER - set the default value 2) BIRT_VIEWER_MAX_ROWS - Write a comment above, saying by default all rows are shown, also explain the user of this variable. 3) BIRT_RESOURCE_PATH - This should specify the default value or atleast put a comment indicating where is it picked from. This is very confusing. 4) General It would be good to put a onew line comment on all.
viewer/org.eclipse.birt.integration.wtp.ui/src/org/eclipse/birt/integration/wtp/ui/internal/actions/ImportBirtRuntimeAction.java
BirtWTPMessages.BIRTOverwriteQuery_message, file );
					String[] options = {IDialogConstants.YES_LABEL,
							IDialogConstants.NO_LABEL,
							IDialogConstants.YES_TO_ALL_LABEL,
							IDialogConstants.CANCEL_LABEL};
					MessageDialog dialog = new MessageDialog( shell, title,
							null, msg, MessageDialog.QUESTION, options, 0 );
					result[0] = dialog.open( );
				}
			} );
			return result[0];
		}
		/**
		 * wait to query overwrite result. If has selected ALL, always return
		 * ALL.
		 */
		public String queryOverwrite( String file )
		{
			if ( isALL )
				return ALL;
			String[] returnCodes = {YES, NO, ALL, CANCEL};
			int returnVal = openDialog( file );
			String result = returnVal < 0 ? CANCEL : returnCodes[returnVal];
			
			isALL = result.equalsIgnoreCase( ALL ) ? true : false;
			return result;
		}
	}
}