public static void main( String[] args )
	{
		try
		{
			StringBuilder sb = new StringBuilder();
			sb.append("["+DateFormat.getInstance().format(new Date())+"] ");
			for ( int i=0;i<args.length;i++ )
			{
				if ( !args[i].startsWith("-") )
					sb.append( "\""+args[i]+"\"" );
				else
					sb.append(args[i]);
				sb.append(" ");
			}
			MVDError.log( sb.toString() );
			if ( !testJavaVersion() )
				System.out.println( "Minimum version of java is 1.5.0" );
			else
			{
				MvdTool.out = System.out;
				readArgs(args );
				doCommand();
			}
		}
		catch ( Exception e )
		{
			//usage();
			e.printStackTrace();
			System.out.println( "Error: "+e );
			MVDError.log(e.getMessage());
		}
	}