samples

Checkout Tools
  • last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates

Changeset 662777 is being indexed.

Created LICENSE and NOTICE files for releasing the UPnP subproject

    • -0
    • +202
    ./binarylight/LICENSE
    • -0
    • +24
    ./binarylight/NOTICE
  1. … 12 more files in changeset.
updated link to documentation pages
Add/Update bundle vendor.
  1. … 71 more files in changeset.
Updated bundles version in the UPnP script

Added random generation of devices ID in the examples

Review of driver interface documentation

  1. … 3 more files in changeset.
Use 1.4.0 bundleplugin, and enable jdk13 classifier build in UPNP basedriver
  1. … 115 more files in changeset.
Upgrade to release 1.2.1 of the maven-bundle-plugin (improved uses calculation)
  1. … 115 more files in changeset.
Updated svn:ignore to ignore eclipse metadata generated by the eclipse:m2eclipse goal

  1. … 82 more files in changeset.
Use released version of compendium.
  1. … 35 more files in changeset.
Use released version of maven bundle plugin.
  1. … 42 more files in changeset.
Use latest released parent pom.
  1. … 42 more files in changeset.
Use released version of javax.servlet.
  1. … 1 more file in changeset.
fixed bug due to automatic box and unboxing ....
  1. … 1 more file in changeset.
Reorganized basedriver initialization

added time to string conversion to device

  1. … 3 more files in changeset.
Refined svn:ignore properties

POM modified in order to compile bundle as default

Fixed problem in UPnPEventNotifier which was sending event containg pair <String name,String value> instead of <UPnPStateVariable, Object value> see OSGi Compendium R4 pag. 257

ExporterUPnPEventListener was aspecting pair <String name, Object value> instead of <UPnPStateVariable, Object value> so I have changed it to be complaint to OSGi specification but also legacy compatible

Fixed Service leak in UPnP Base Driver see class MyCtrlPoint

Fixed compilation issue with Java 6 in

TimeStateVariable was returing wrong value with metho getCurrentValue() and was not compatible with Java6

SetTimeAction was not updating the time and it was not notifing the change of the UPnP statevariable

ClockDevice was badly notifing UPnP state variable changeing with pair <String name,String value> instead of <UPnPStateVariable, Object value>

StatusStateVariable was not compatible with Java6

  1. … 7 more files in changeset.
Update to releast version of parent pom and add missing licence headers.
  1. … 39 more files in changeset.
Removed old references to "incubator"

Completed Binary Light implementation according to the UPnP DCP

Reorganized BinaryLight packages

  1. … 14 more files in changeset.
Modified dependency graph for:

- basedriver; dependency with extra bundle is not more needed. Now the basedriver directly exports the interfaces of the services it registers with the framework (DriverController.java and DevicesInfo.java)

- extra bundle provides only common utilities to write OSGi/UPnP Device services. It is used by the examples

- tv, clock and bynarylight use the extra packages (except for UPnpSubscriber; to do later)

- tester use the basedriver packages for forcing MSearch and Debugging and for resolving relative URLs

Added thread name to TVFrame.class and ClockFrame.class

  1. … 35 more files in changeset.
Moved UPnPEventNotifier.java and EventSource to the "extra" bundle.

Added dependencies with "extra" bundle to the examples projects

Modified the evented statevariables of the examples to use UPnPLocalStateVariable (since R4) (we used UPnPStateVariableDescriptor.java now removed)

Reorganized imports with the following order:

java,javax,com,org,org.apache,org.osgi,org.apache.felix,org.apache.felix.upnp

    • -3
    • +2
    ./tv/src/main/java/org/apache/felix/upnp/sample/tv/TvDevice.java
    • -3
    • +0
    ./tv/src/main/java/org/apache/felix/upnp/sample/tv/TvIcon.java
  1. … 39 more files in changeset.
Re-organized UPnP sub-project. Now UPnP artifacts can be built from UPnP directory (and samples directory too)
  1. … 2 more files in changeset.
Deleted unused files
  1. ./binarylight/src/main/resources/META-INF
    • ?
    ./binarylight/src/main/resources/META-INF/Manifest.mf
    • ?
    ./tv/src/main/resources/META-INF/Manifest.mf
    • ?
    ./clock/src/main/resources/META-INF/Manifest.mf
  2. … 2 more files in changeset.
Removed useless prefix from all the project related to UPnP

  1. ./binarylight/src/main/java/org/apache/felix/upnp
  2. … 498 more files in changeset.
Moved UPnP projects to subproject layout

  1. ./upnp.sample.binaryLight/src/main/java/org/apache
  2. … 484 more files in changeset.