mirror of
https://github.com/danieldemus/openhab-core.git
synced 2025-01-25 11:45:49 +01:00
Archetype: karaf feature file location fix (#789)
Update karaf feature file location Signed-off-by: David Gräff <david.graeff@web.de>
This commit is contained in:
parent
c4ae29917b
commit
ff70084383
@ -85,7 +85,7 @@ def addBundleToFeature(bundleAfter, newBundle, bundleName) {
|
|||||||
<bundle start-level="80">mvn:org.openhab.addons.bundles/##3/${project.version}</bundle>
|
<bundle start-level="80">mvn:org.openhab.addons.bundles/##3/${project.version}</bundle>
|
||||||
</feature>
|
</feature>
|
||||||
'''.replace('##1', newBundle.replace('org.', '').replace('.', '-')).replace('##2', bundleName).replace('##3', newBundle)
|
'''.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 newContent = ''
|
||||||
def insertIndex = 0;
|
def insertIndex = 0;
|
||||||
def lines = bomFile.eachLine { line, index ->
|
def lines = bomFile.eachLine { line, index ->
|
||||||
|
Loading…
Reference in New Issue
Block a user