From: Berend de B. <be...@po...> - 2008-03-29 03:38:42
|
Hello Guys, It would be convenient for me if system.xace would allow multiple root elements. The use case is this: print the exception message via a rescue clause on the application's root class when compiled in boost mode; but still give the full stack trace when compiled in debug mode. However, SmartEiffel doesn't give a stack trace when you put in a rescue clause, so you can only have a rescue clause on the creation routine that is used in boost mode, and not in the creation one for debug mode. So ideally system.xace would allow me to see: <root class="BP_EMAIL_TASK" creation="make_debug" if="${DEBUG}"/> <root class="BP_EMAIL_TASK" creation="make_rescue_debug" unless="${DEBUG}"/> Is that easy to add? -- Cheers, Berend de Boer |