Multiple root elements in system.xace
Berend de Boer <[email protected]>
| Newsgroups | gmane.comp.lang.eiffel.gobo.devel |
|---|---|
| Message-ID | <[email protected]> |
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
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
gobo-eiffel-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gobo-eiffel-develop
smime.p7s
(application/x-pkcs7-signature, 1.1 KB) - not displayed