Your Code as a Crime Scene: installation doesn't create maat command (12P

I just picked up this book a few days ago and it doesn’t appear that any of code maat’s installation options lead to a single executable command. Instead, it yields a standalone .jar file.

The suggested invocation on page 12 of maat -h needs to be replaced with something like java -jar target/code-maat-1.1-SNAPSHOT-standalone.jar -h

Hi Mark,

Adam Tornhill, the author, is not on DevTalk, but I asked him about it, and here is his response:

The book includes a link to a download site, Code as a Crime Scene Tools
Those downloads include scripts that let you launch code maat using the same syntax as in the book. Without these scripts you have to use the java -jar syntax.

I hope that helps!

Margaret

1 Like

Thank you! The bash script on the linked site enables the book’s terser invocations.

I had followed the link to the github repo and followed those instructions thinking my installation was complete.