Revision history [back]

click to hide/show revision 1
initial version

How to add new Status codes ?

I'm currently developing a new "service" based on alljoyn_core and I would like to define my own status codes. Here are my actions for that :

  • I have my own Status.xml file containing my new status codes
  • I added an include of my xml file in the alljoyn_core/src/Status.xml one (as common)
  • I modified the sconscript of alljoyn_core to add the dependency to my xml

It works fine

But it does not suit me.

The way I do requires me to change the sconscript and status.xml of alljoyn_core, so it becomes impossible to build the core sources without my service.

This is not satisfactory.

What is the right way to add new status for my service?