BUG-7529: provide Karaf 4 features
[netconf.git] / netconf / tools / netconf-testtool / src / main / java / org / opendaylight / netconf / test / tool / Main.java
index 66ad61abff3e633673e13722e5b042253cd44867..befa1dec4dadb88332cde04809a327c945af95fe 100644 (file)
@@ -212,7 +212,7 @@ public final class Main {
         public void updateFeatureFile(final List<File> generated) {
             for (final File fileFeatures : ncFeatureFiles) {
                 try {
-                    final Features f =  JaxbUtil.unmarshal(new FileInputStream(fileFeatures), false);
+                    final Features f =  JaxbUtil.unmarshal(fileFeatures.toURI().toString(), false);
 
                     for (final Feature feature : f.getFeature()) {
                         if (NETCONF_CONNECTOR_ALL_FEATURE.equals(feature.getName())) {