/** * Set the destination for the repository * * @param destination the destination under which the repository get stored * @throws ConfigurationException * @throws ConfigurationException get thrown on invalid destintion syntax */ protected void setDestination( final String destination ) throws ConfigurationException { if( !destination.startsWith( FileSystem.FILE_PROTOCOL ) ){ throw new ConfigurationException( "cannot handle destination " + destination); } try { m_baseDirectory = fileSystem.getFile(destination); } catch (FileNotFoundException e) { throw new ConfigurationException("Unable to acces destination " + destination, e); } }
sqlFile = fileSystem.getResource(sqlFileName); sqlFileName = null; } catch (Exception e) {
sqlFile = fileSystem.getFile(sqlFileUrl); sqlFileUrl = null; } catch (Exception e) {