Bug 135439 JDBC database drivers are placed under both JDBC and Viewer plugin folder
steps to reproduce: - create a report - import JDBC database driver - check both JDBC and Viewer plugin folder expected behavior: - drivers are copied to JDBC plugin folder actual behavior: - drivers were copyied to both JDBC and Viewer plugin folders
data/org.eclipse.birt.report.data.oda.jdbc.ui/src/org/eclipse/birt/report/data/oda/jdbc/ui/util/JarFile.java
{
				if ( !dest2.delete( ) )
				{
					dest2.deleteOnExit( );
				}
			}
		}
	}
		
	/**
	 * check if the jar exist in the oda driver directory or exist in the disk.
	 * x - not exist in the oda dirctory. <br>* - not exist in the disk.
	 */
	public void checkJarState( )
	{
		if ( hasRestored == true )
		{
			state = FILE_HAS_BEEN_RESOTRED;
		}
		else
		{
			File f = new File( filePath );
			if ( !isUnderODAPath( f ) )
			{
				if ( f.exists( ) )
					state = JarFile.ODA_FILE_NOT_EXIST_TOKEN;
				else
					state = JarFile.ODA_FILE_NOT_EXIST_TOKEN
							+ JarFile.ORIGINAL_FILE_NOT_EXIST_TOKEN;
			}