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
return ReportDesignConstants.CELL_ELEMENT;
		else if ( DesignSchemaConstants.COLUMN_TAG.equalsIgnoreCase( xmlName ) )
			return ReportDesignConstants.COLUMN_ELEMENT;
		else if ( DesignSchemaConstants.DATA_TAG.equalsIgnoreCase( xmlName ) )
			return ReportDesignConstants.DATA_ITEM;
		else if ( DesignSchemaConstants.ODA_DATA_SET_TAG
				.equalsIgnoreCase( xmlName ) )
			return ReportDesignConstants.ODA_DATA_SET;
		else if ( DesignSchemaConstants.ODA_DATA_SOURCE_TAG
				.equalsIgnoreCase( xmlName ) )
			return ReportDesignConstants.ODA_DATA_SOURCE;
		else if ( DesignSchemaConstants.EXTENDED_ITEM_TAG
				.equalsIgnoreCase( xmlName ) )
			return ReportDesignConstants.EXTENDED_ITEM;
		else if ( DesignSchemaConstants.FREE_FORM_TAG
				.equalsIgnoreCase( xmlName ) )
			return ReportDesignConstants.FREE_FORM_ITEM;
		else if ( DesignSchemaConstants.GRAPHIC_MASTER_PAGE_TAG
				.equalsIgnoreCase( xmlName ) )
			return ReportDesignConstants.GRAPHIC_MASTER_PAGE_ELEMENT;
		else if ( DesignSchemaConstants.GRID_TAG.equalsIgnoreCase( xmlName ) )
			return ReportDesignConstants.GRID_ITEM;
		else if ( DesignSchemaConstants.IMAGE_TAG.equalsIgnoreCase( xmlName ) )
			return ReportDesignConstants.IMAGE_ITEM;
		else if ( DesignSchemaConstants.LABEL_TAG.equalsIgnoreCase( xmlName ) )
			return ReportDesignConstants.LABEL_ITEM;
		else if ( DesignSchemaConstants.LINE_TAG.equalsIgnoreCase( xmlName ) )
			return ReportDesignConstants.LINE_ITEM;
		else if ( DesignSchemaConstants.GROUP_TAG.equalsIgnoreCase( xmlName ) )
			return ReportDesignConstants.GROUP_ELEMENT;