MoSIG/ACS: Difference between revisions
Jump to navigation
Jump to search
| Line 46: | Line 46: | ||
Remark: Change ''/Users/donsez'' with your home directory ''echo $HOME''. |
Remark: Change ''/Users/donsez'' with your home directory ''echo $HOME''. |
||
<pre> |
<pre> |
||
start file:/Users/donsez/.m2/repository/org/apache/felix/org.apache.felix.upnp.sample.binaryLight/0.2.0-SNAPSHOT/org.apache.felix.upnp.sample.binaryLight-0.2.0-SNAPSHOT.jar |
|||
start file:/Users/donsez/.m2/repository/org/apache/felix/org.apache.felix.upnp.sample.clock/0.2.0-SNAPSHOT/org.apache.felix.upnp.sample.clock-0.2.0-SNAPSHOT.jar |
|||
start file:/Users/donsez/.m2/repository/org/apache/felix/org.apache.felix.upnp.sample.tv/0.2.0-SNAPSHOT/org.apache.felix.upnp.sample.tv-0.2.0-SNAPSHOT.jar |
|||
</pre> |
|||
What's happen ? |
|||
<pre> |
|||
obr:list |
|||
help obr:deploy |
|||
obr:deploy "Servlet 2.1 API" |
|||
obr:deploy "Apache Felix UPnP Extra" |
|||
obr:deploy -s "Apache Felix UPnP Base Driver" |
|||
obr:deploy -s "Apache Felix UPnP Tester" |
|||
start 6 |
|||
start 7 |
|||
start 8 |
|||
</pre> |
</pre> |
||
Revision as of 10:01, 6 December 2016
Homeworks of the ACS module (MoSIG Master)
UPnP
OSGi
Install
Getting started
iPOJO
Follow the tutorial http://felix.apache.org/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-gettingstarted/ipojo-hello-word-maven-based-tutorial.html
UPnP and OSGi
Build UPnP samples
git clone https://github.com/apache/felix.git cd felix cd upnp mvn clean install cd samples ls -al
Deployment
unzip org.apache.felix.main.distribution-5.6.1.zip cd felix-framework-5.6.1/ java -jar bin/felix.jar
help lb log info help log obr list
Remark: Change /Users/donsez with your home directory echo $HOME.
start file:/Users/donsez/.m2/repository/org/apache/felix/org.apache.felix.upnp.sample.binaryLight/0.2.0-SNAPSHOT/org.apache.felix.upnp.sample.binaryLight-0.2.0-SNAPSHOT.jar start file:/Users/donsez/.m2/repository/org/apache/felix/org.apache.felix.upnp.sample.clock/0.2.0-SNAPSHOT/org.apache.felix.upnp.sample.clock-0.2.0-SNAPSHOT.jar start file:/Users/donsez/.m2/repository/org/apache/felix/org.apache.felix.upnp.sample.tv/0.2.0-SNAPSHOT/org.apache.felix.upnp.sample.tv-0.2.0-SNAPSHOT.jar
What's happen ?
obr:list help obr:deploy obr:deploy "Servlet 2.1 API" obr:deploy "Apache Felix UPnP Extra" obr:deploy -s "Apache Felix UPnP Base Driver" obr:deploy -s "Apache Felix UPnP Tester" start 6 start 7 start 8