IBM DOORS & DXL tips & hacks
·1 min
| Tip / Hack | Description / How To |
|---|---|
| Change IBM DOORS language | Add the ICULOCALE environment variable and set the language code. Language files can be found in C:\Program Files\IBM\Rational\DOORS\9.version\language\core |
| Avoid DXL memory leaks | Always delete() or dispose() allocated structures like Buffer, Skip, Array, and Regexp |
| Regex | Don’t use \d to capture digits, DXL Regex engine doesn’t recognize it (it fails silently). To capture or match digits in DXL, you must use the square bracket character range notation : [0-9] |
| Disable auto-declare | DXL can automatically create variables without explicit types, which may cause interpretation issues. Disable it using XFLAGS_ &= ~AutoDeclare_ |
Use flushDeletions() after deletions | flushDeletions() forces DOORS to execute pending deletions, especially useful after deleting many links or objects |