Bug 152828 Add the projectFolder property on module
When user doesn't set the resource folder path in designer, there should be a default working path for Birt to manage the report design and find the related resources. A new property should be added on Module: name: projectFolder type:URL This property only can be given from the open design method from session but should not be set after the module initialized. Concern about the backward compatiblity issue, a new method will be added. Open design with a config argument.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/Module.java
List allErrors = getAllErrors( );
		return ErrorDetail.getSemanticErrors( allErrors,
				DesignFileException.DESIGN_EXCEPTION_SEMANTIC_WARNING );
	}
	/**
	 * Performs a semantic check of this element, and all its contained
	 * elements. Records errors in the module context.
	 * <p>
	 * Checks the contents of this element.
	 * 
	 * @param module
	 *            the module information needed for the check, and records any
	 *            errors
	 */
	public final void semanticCheck( Module module )
	{
		allExceptions = validateWithContents( module );
		
		if ( module instanceof ReportDesign )
		{
			ContainerSlot slot = module
					.getSlot( ReportDesign.TEMPLATE_PARAMETER_DEFINITION_SLOT );
			assert slot != null;
			for ( int i = slot.getCount( ) - 1; i >= 0; i-- )
			{
				TemplateParameterDefinition templateParam = (TemplateParameterDefinition) slot
						.getContent( i );
				if ( templateParam.getClientList( ).isEmpty( ) )
				{
					slot.remove( templateParam );