tlaplus / CommunityModules

TLA+ snippets, operators, and modules contributed and curated by the TLA+ community
MIT License
273 stars 36 forks source link

Update usage docs #83

Closed dariusf closed 2 years ago

dariusf commented 2 years ago

I've forgotten and had to rediscover the different ways of using the community modules more than once, so this documents all of them.

In particular, the JAR has to be added to the classpath, while -DTLA-Library only works for source files. The Toolbox adds things on its "TLA+ library path" to both the classpath and -DTLA-Library.

Feel free to edit.

Also, when would one opt to use CommunityModules.jar over CommunityModules-deps.jar?