-
Notifications
You must be signed in to change notification settings - Fork 24
UsageNotes
- The easiest way to build a tool is to use the
antcommand at the top-level of the repository. For example, runningant synopticwill re-build the synoptic .class files and package the .class files intolib/synoptic.jar. There are similar targets for CSight, InvariMint, and Perfume. Each tool-specific target in the correspondingbuild.xmlfirst removes all .class files for the tool, then builds these .class files, and finally packages the tool into a jar file.
-
Each tool has a corresponding .sh script that you can use to invoke the (already compiled) tool from the command line. For example, to run Synoptic use the
synoptic.shscript, to run Perfume useperfume.sh, etc. These scripts pass all command line arguments to the underlying tool. They run the compiled .class file of the tool (not the version packaged into a jar). -
If you built a jar for the tool (which are placed into
lib/by default). You can also invoke the tool from a jar file using another corresponding .sh script. For example, to run Synoptic fromlib/synoptic.jarusesynoptic-jar.sh, etc.
- The -c argument allows you to place all of your command line args into a file. This argument is available in all of the tools. A typical (Synoptic) args file looks like this:
-o osx-login-example.png
-r (?<TYPE>.+)
-s --
Note that when specifying the -r, -s, and -m options in an args file, whitespace matters. For example, note that including spaces after (?<TYPE>.+) will produce a different regular expression. Also, do not use quotes around your regular expressions, as these will not be stripped away (on the command line your shell strips these off).