Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

MiOS Binding - Implement OH2 feature.xml for mios*.map transform files. #3946

Merged
merged 1 commit into from Feb 1, 2016

Conversation

mrguessed
Copy link
Contributor

The MiOS Binding uses a number of openHAB MAP Transformation files to perform it's work. In openHAB 1.x, these were manually copied by users into the configurations/transform directory on their openHAB runtime.

openHAB 2.x uses Karaf to aid in the Binding deployment steps, and uses feature.xml as a configuration file:

https://karaf.apache.org/manual/latest/users-guide/provisioning.html

This change implements the extra feature.xml entries for the MiOS Binding, so the MAP Transformation files can be picked up when the MiOS Binding is deployed to openHAB 2.x

Signed-off-by: Mark Clark mr.guessed@gmail.com (github: mrguessed)

The MiOS Binding uses a number of openHAB MAP Transformation files to
perform it's work.  In openHAB 1.x, these were manually copied by users
into the `configurations/transform` directory on their openHAB runtime.

openHAB 2.x uses Karaf to aid in the Binding deployment steps, and uses
`feature.xml` as a configuration file:

https://karaf.apache.org/manual/latest/users-guide/provisioning.html

This change implements the extra `feature.xml` entries for the MiOS
Binding, so the MAP Transformation files can be picked up when the
MiOS Binding is deployed to openHAB 2.x

Signed-off-by: Mark Clark <mr.guessed@gmail.com> (github: mrguessed)
kaikreuzer added a commit that referenced this pull request Feb 1, 2016
MiOS Binding - Implement OH2 feature.xml for mios*.map transform files.
@kaikreuzer kaikreuzer merged commit 478a576 into openhab:master Feb 1, 2016
@mrguessed mrguessed added this to the 1.9.0 milestone Feb 1, 2016
@mrguessed mrguessed self-assigned this Feb 1, 2016
mrguessed added a commit to mrguessed/openhab that referenced this pull request Feb 1, 2016
In PR openhab#3946, I went ahead without validation.  Kai later provided the
necessary steps to validate the config, so I fixed the errors that
resulted.

For reference, when making this type of change in `openhab` repo, you need
to also do a `mvn clean install` from the `openhab-distro` repo.

Signed-off-by: Mark Clark <mr.guessed@gmail.com> (github: mrguessed)
mrguessed added a commit that referenced this pull request Feb 1, 2016
MiOS Binding - Correct build errors, in openhab-distro repo, from PR #3946
@kaikreuzer kaikreuzer modified the milestones: 1.9.0, 1.9.0.b2 Feb 1, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants