home = f.getParent();
home = f.getParentFile().getAbsolutePath();
    private void configure() throws XMLDBException {        //String pathSep = System.getProperty( "file.separator", "/" );        String home, file = "conf.xml";        if(configuration == null) {        	home = System.getProperty( "exist.home" );        	if ( home == null )            	home = System.getProperty( "user.dir" );        } else {        	File f = new File(configuration);        	home = f.getParent();        	file = f.getName();        }        try {            Configuration config = new Configuration( file, home );            BrokerPool.configure( dbName, 1, 5, config );        } catch ( Exception e ) {            throw new XMLDBException( ErrorCodes.VENDOR_ERROR,                "configuration error", e );        }    }