Skip to content

Commit

Permalink
Merge pull request #1 from kaikreuzer/257-homekit
Browse files Browse the repository at this point in the history
added HomeKit feature for packaging in distro
  • Loading branch information
andylintner committed Feb 17, 2016
2 parents 717e522 + 24adcdd commit bc44852
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
2 changes: 0 additions & 2 deletions addons/io/org.openhab.io.homekit/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ Import-Package: com.google.common.collect,
org.eclipse.smarthome.io.console.extensions,
org.eclipse.smarthome.model.item,
org.osgi.framework,
org.osgi.service.cm,
org.osgi.service.component,
org.osgi.service.component.annotations,
org.osgi.service.event,
org.slf4j
Service-Component: OSGI-INF/*.xml
3 changes: 2 additions & 1 deletion addons/io/org.openhab.io.homekit/build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ bin.includes = META-INF/,\
lib/net.i2p.crypto.eddsa-0.0.1-SNAPSHOT.jar,\
lib/org.bouncycastle.bcprov-jdk15on-1.51.jar,\
lib/org.glassfish.javax.json-1.0.4.jar,\
lib/org.zeromq.curve25519-java-0.1.0.jar
lib/org.zeromq.curve25519-java-0.1.0.jar,\
about.html
2 changes: 0 additions & 2 deletions addons/io/org.openhab.io.homekit/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
<version>2.0.0-SNAPSHOT</version>
</parent>

<groupId>org.openhab.io</groupId>
<artifactId>org.openhab.io.homekit</artifactId>
<version>2.0.0-SNAPSHOT</version>

<name>HomeKit Integration</name>
<packaging>eclipse-plugin</packaging>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
import org.eclipse.smarthome.core.storage.StorageService;
import org.openhab.io.homekit.Homekit;
import org.osgi.service.component.ComponentContext;
import org.osgi.service.component.annotations.Activate;
import org.osgi.service.component.annotations.Deactivate;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

Expand Down Expand Up @@ -47,7 +45,6 @@ public void setItemRegistry(ItemRegistry itemRegistry) {
changeListener.setItemRegistry(itemRegistry);
}

@Activate
protected synchronized void activate(ComponentContext componentContext) {
try {
settings.fill(componentContext.getProperties());
Expand All @@ -63,7 +60,6 @@ protected synchronized void activate(ComponentContext componentContext) {
}
}

@Deactivate
protected void deactivate() {
changeListener.clearAccessories();
bridge.stop();
Expand Down
6 changes: 6 additions & 0 deletions features/openhab-addons/src/main/feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,12 @@
<bundle start-level="80">mvn:org.openhab.addons.io/org.openhab.io.myopenhab/${project.version}</bundle>
</feature>

<feature name="openhab-misc-homekit" description="HomeKit Integration" version="${project.version}">
<feature>openhab-runtime-base</feature>
<feature>openhab-transport-mdns</feature>
<bundle start-level="80">mvn:org.openhab.addons.io/org.openhab.io.homekit/${project.version}</bundle>
</feature>

<!-- ui -->

<feature name="openhab-ui-cometvisu" description="CometVisu" version="${project.version}">
Expand Down

0 comments on commit bc44852

Please sign in to comment.