Bug 200302 Can not link to the specific bookmark as web view[04]
Description: Can not link to the specific bookmark as web view[04] Step: 1. Two labels, which have a page break between them. 2. The second label set the bookmark as "bk\\" 3. The first label set the hyperlink to the internal bookmark to the bookmark that is second label's. 4. Preview as web view and click the hyperlink Actual result: It can not link to the second label.( If use the drill-through, it is work. ) Expected result: It can link to the second label.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/ParameterAccessor.java
* the server starts up.
	 */
	protected static void clearTempFiles( )
	{
		
		File file = new File( documentFolder );
		deleteDir( file );
		makeDir( documentFolder );
		
		file = new File( imageFolder );
		deleteDir( file );
		makeDir( imageFolder );
	}
	/**
	 * Deletes all files and subdirectories under dir. Returns true if all
	 * deletions were successful. If a deletion fails, the method stops
	 * attempting to delete and returns false.
	 */
	protected static boolean deleteDir( File dir )
	{
		if ( dir.isDirectory( ) )
		{
			String[] children = dir.list( );
			for ( int i = 0; i < children.length; i++ )
			{
				boolean success = deleteDir( new File( dir, children[i] ) );
				if ( !success )
				{
					return false;
				}