Bug 166729 [Linux]setImageDirectory() method is no effect[0600]
Description: [Linux]setImageDirectory() method is no effect[0600] Step: 1.Run the test case by junit. You can find out the case on: /cvsroot/org.eclipse.birt.report.tests.engine/src/org/eclipse/birt/report/tests/engine/regression/Regression_142894.java /cvsroot/org.eclipse.birt.report.tests.engine/src/org/eclipse/birt/report/tests/engine/regression/input/regression_142894.rptdesign /cvsroot/org.eclipse.birt.report.tests.engine/src/org/eclipse/birt/report/tests/engine/regression/input/pics/green.bmp 2.In render task, we set that "renderContext.setImageDirectory( "image" );" Actual result: The background image path is "pics/green.bmp" in html code. But the image is save at "image/green.bmp"
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/util/ModelUtil.java
else if ( DesignSchemaConstants.LIST_TAG.equalsIgnoreCase( xmlName ) )
			return ReportDesignConstants.LIST_ITEM;
		else if ( DesignSchemaConstants.PARAMETER_GROUP_TAG
				.equalsIgnoreCase( xmlName ) )
			return ReportDesignConstants.PARAMETER_GROUP_ELEMENT;
		else if ( DesignSchemaConstants.CASCADING_PARAMETER_GROUP_TAG
				.equalsIgnoreCase( xmlName ) )
			return ReportDesignConstants.CASCADING_PARAMETER_GROUP_ELEMENT;
		else if ( DesignSchemaConstants.RECTANGLE_TAG
				.equalsIgnoreCase( xmlName ) )
			return ReportDesignConstants.RECTANGLE_ITEM;
		else if ( DesignSchemaConstants.ROW_TAG.equalsIgnoreCase( xmlName ) )
			return ReportDesignConstants.ROW_ELEMENT;
		else if ( DesignSchemaConstants.SCALAR_PARAMETER_TAG
				.equalsIgnoreCase( xmlName ) )
			return ReportDesignConstants.SCALAR_PARAMETER_ELEMENT;
		else if ( DesignSchemaConstants.SCRIPT_DATA_SET_TAG
				.equalsIgnoreCase( xmlName ) )
			return ReportDesignConstants.SCRIPT_DATA_SET;
		else if ( DesignSchemaConstants.SCRIPT_DATA_SOURCE_TAG
				.equalsIgnoreCase( xmlName ) )
			return ReportDesignConstants.SCRIPT_DATA_SOURCE;
		else if ( DesignSchemaConstants.SIMPLE_MASTER_PAGE_TAG
				.equalsIgnoreCase( xmlName ) )
			return ReportDesignConstants.SIMPLE_MASTER_PAGE_ELEMENT;
		else if ( DesignSchemaConstants.STYLE_TAG.equalsIgnoreCase( xmlName ) )
			return ReportDesignConstants.STYLE_ELEMENT;
		else if ( DesignSchemaConstants.TABLE_TAG.equalsIgnoreCase( xmlName ) )
			return ReportDesignConstants.TABLE_ITEM;
		else if ( DesignSchemaConstants.TEXT_TAG.equalsIgnoreCase( xmlName ) )