String preverify = this.buildSetting.getPreverify();
File preverify = this.buildSetting.getPreverify();
	private void preverify( Device device ) {		System.out.println("preverifying for device [" + device.getIdentifier() + "].");		String preverify = this.buildSetting.getPreverify();		String classPath;		if (device.isMidp1()) {			classPath = this.midp1BootClassPath.toString();		} else {			classPath = this.midp2BootClassPath.toString();		}		classPath += File.pathSeparatorChar + device.getClassPath();		/* File preverfyDir = new File( this.buildSetting.getWorkDir().getAbsolutePath()				+ File.separatorChar + "preverfied" );		device.setPreverifyDir( preverifyDir ); 		*/		String[] commands = new String[] {			preverify, 			"-classpath", classPath,			"-d", device.getClassesDir(), // destination-dir - default is ./output			"-cldc",			device.getClassesDir()		};		StringBuffer commandBuffer = new StringBuffer();		for (int i = 0; i < commands.length; i++) {			commandBuffer.append( commands[i] ).append(' ');		}				try {			Process preverifyProc = Runtime.getRuntime().exec( commands, null );			InputStream in = preverifyProc.getErrorStream();			int ch;			StringBuffer message = new StringBuffer();			while ( (ch = in.read()) != -1) {				message.append((char) ch );			}			int exitValue = preverifyProc.waitFor();			if (exitValue != 0) {				throw new BuildException("Unable to preverify: " + message.toString()  					+ " - The exit-status is [" + exitValue + "]\n"					+ " The call was: [" + commandBuffer.toString() + "]."				);			}		} catch (IOException e ) {			throw new BuildException("Unable to preverify: " + e.getMessage()					+ "\n The call was: [" + commandBuffer.toString() + "].", e);		} catch (InterruptedException e) {			throw new BuildException("Unable to preverify: " + e.getMessage()					+ "\n The call was: [" + commandBuffer.toString() + "].", e);		}			}