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
assert !StringUtil.isBlank( name )
				&& ModelMessages.getMessage( IThemeModel.DEFAULT_THEME_NAME )
						.equals( name );
		NameSpace ns = library.getNameSpace( Module.THEME_NAME_SPACE );
		assert library.getModuleNameSpace( Module.THEME_NAME_SPACE )
				.canContain( name );
		ns.insert( theme );
		
		library.getSlot( ILibraryModel.THEMES_SLOT ).add( theme );
		
		theme.setContainer( library, ILibraryModel.THEMES_SLOT );
	}
	/**
	 * Uses the new name space of the current module for reference property
	 * values of the given element. This method checks the <code>content</code>
	 * and nested elements in it.
	 * 
	 * @param module
	 *            the module that <code>content</code> attaches.
	 * @param content
	 *            the element to revise
	 * @param nameSpace
	 *            the new name space
	 */
	public static void reviseNameSpace( Module module, DesignElement content,
			String nameSpace )
	{
		Iterator propNames = content.propertyWithLocalValueIterator( );
		IElementDefn defn = content.getDefn( );
		while ( propNames.hasNext( ) )