Revision history [back]

click to hide/show revision 1
initial version

Hi eguiho, If you are trying to add status codes to the core code then Status.xml would be the correct place to add new status code but in your case it is a service and I think the core Status.xml may not be the most appropriate place since you are now transferring service related codes in the core.

You could approach this two ways 1. Add a build variable that will include your status.xml only if you tell scons to build your service so your command could look like scons SERVICES="your service,other services" 2. Not mix the two since it is a service and its status code should be completely independent of the core.

This also depends on how you view your service. If you view it to be something that you could contribute back of make a part of core over time then approach one might be the way to go but if you are viewing it as a pure service with no intentions mentioned above then approach two would be the way to go

Let me know if you have more questions.

Regards, Nikhil

Hi eguiho, eguiho,

If you are trying to add status codes to the core code then Status.xml would be the correct place to add new status code but in your case it is a service and I think the core Status.xml may not be the most appropriate place since you are now transferring service related codes in the core.

You could approach this two ways 1. Add a build variable that will include your status.xml only if you tell scons to build your service so your command could look like scons SERVICES="your service,other services" 2. Not mix the two since it is a service and its status code should be completely independent of the core.

This also depends on how you view your service. If you view it to be something that you could contribute back of make a part of core over time then approach one might be the way to go but if you are viewing it as a pure service with no intentions mentioned above then approach two would be the way to go

Let me know if you have more questions.

Regards, Nikhil