Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Generated code moved to separate repo
08-08-2014, 01:18 PM
Post: #1
Generated code moved to separate repo
The latest code for ohNet has removed generated proxies (used with control point stack) and providers (used with device stack) for the ohMedia and UPnP:AV services. The generated code is now available from the ohNetGenerated repo and binaries are released.

In case anyone is interested, there are a couple of reasons for this change. In hindsight, we shouldn't have combined a generic UPnP stack with certain specific services. Also, building ~3000 additional source files (22 services for device and control point stacks in 5 or 6 languages on 15 different build slaves) was taking up substantial amounts of CI resource; this was largely pointless since the files almost never changed.
Find all posts by this user
08-08-2014, 05:32 PM
Post: #2
RE: Generated code moved to separate repo
(08-08-2014 01:18 PM)simonc Wrote:  The latest code for ohNet has removed generated proxies (used with control point stack) and providers (used with device stack) for the ohMedia and UPnP:AV services. The generated code is now available from the ohNetGenerated repo and binaries are released.

In case anyone is interested, there are a couple of reasons for this change. In hindsight, we shouldn't have combined a generic UPnP stack with certain specific services. Also, building ~3000 additional source files (22 services for device and control point stacks in 5 or 6 languages on 15 different build slaves) was taking up substantial amounts of CI resource; this was largely pointless since the files almost never changed.

Is the XML source code for these services still included?

Is the OhNetGen tool still included so that I can generate these proxies and providers from the XML source code?
Find all posts by this user
08-08-2014, 08:56 PM
Post: #3
RE: Generated code moved to separate repo
(08-08-2014 05:32 PM)simoncn Wrote:  Is the XML source code for these services still included?

Is the OhNetGen tool still included so that I can generate these proxies and providers from the XML source code?

Yes. In fact, both are included in both of the repos at present.

ohNet will definitely continue to build/release OhNetGen. Service XML will definitely continue to be included in ohNetGenerated.
Find all posts by this user


Forum Jump: