From ff7008438358add7ce89d7b0dce4fc5beccda36f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Gr=C3=A4ff?= Date: Sat, 4 May 2019 17:16:13 +0200 Subject: [PATCH] Archetype: karaf feature file location fix (#789) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update karaf feature file location Signed-off-by: David Gräff --- .../src/main/resources/META-INF/archetype-post-generate.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/archetype/binding/src/main/resources/META-INF/archetype-post-generate.groovy b/tools/archetype/binding/src/main/resources/META-INF/archetype-post-generate.groovy index 852988cb7..8983c88fd 100644 --- a/tools/archetype/binding/src/main/resources/META-INF/archetype-post-generate.groovy +++ b/tools/archetype/binding/src/main/resources/META-INF/archetype-post-generate.groovy @@ -85,7 +85,7 @@ def addBundleToFeature(bundleAfter, newBundle, bundleName) { mvn:org.openhab.addons.bundles/##3/${project.version} '''.replace('##1', newBundle.replace('org.', '').replace('.', '-')).replace('##2', bundleName).replace('##3', newBundle) - def bomFile = new File(outputDirectory, '../features/karaf/openhab-addons/src/main/feature/feature.xml') + def bomFile = new File(outputDirectory, '../features/openhab-addons/src/main/feature/feature.xml') def newContent = '' def insertIndex = 0; def lines = bomFile.eachLine { line, index ->