Bug 176798 Errors occur in JUnit test of org.eclipse.birt.data in daily build 20070309
Errors occur in JUnit test of org.eclipse.birt.data in daily build 20070309. Please see the attachment for details
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/cache/CacheUtil.java
}
		return result;
	}
	
	
	
	/**
	 * @return
	 */
	public String doCreateTempRootDir( Logger logger )
	{
		String rootDirStr = null;
		
		File tempDtEDir = null;
		synchronized ( cacheCounter1 )
		{
			tempDtEDir = new File( tempDir, "BirtDataTemp"
					+ System.currentTimeMillis( ) + cacheCounter1 );
			cacheCounter1 = new Integer( cacheCounter1.intValue( ) + 1 );
			int x = 0;
			while ( tempDtEDir.exists( ) )
			{
				x++;
				tempDtEDir = new File( tempDir, "BirtDataTemp"
						+ System.currentTimeMillis( ) + cacheCounter1 + "_" + x );
			}
			tempDtEDir.mkdir( );
			tempDtEDir.deleteOnExit( );
		}