Changeset 6570
- Timestamp:
- 09/23/15 07:40:32 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vlo/branches/vlo-3.3-oeaw/vlo-importer/src/test/java/eu/clarin/cmdi/vlo/importer/ImporterTestcase.java
r6569 r6570 62 62 63 63 URL vocabulary = this.getClass().getClassLoader().getResource(VOC_MAPS_PATH + MetadataImporter.config.getLicenseAvailabilityMapUrl()); 64 System.out.println(vocabulary.getPath()); 65 System.out.println(vocabulary.getFile()); 64 File f = new File(vocabulary.toURI()); 65 66 if(f.exists()){ 67 System.out.println(f.getAbsolutePath()); 68 System.out.println(f.getPath()); 69 }else{ 70 throw new RuntimeException("File " + VOC_MAPS_PATH + MetadataImporter.config.getLicenseAvailabilityMapUrl() + " doesnt exist"); 71 } 66 72 67 73 }
Note: See TracChangeset
for help on using the changeset viewer.