ModelInference / synoptic

Inferring models of systems from observations of their behavior
Other
81 stars 25 forks source link

Check for jar changeset equality in helper sh scripts #382

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
A common mistake when invoking shell helper scripts like csight.sh and 
invarimint.sh as well as the jar versions of these (i.e., csight-jar.sh and 
invarimint-jar.sh) is that the compiled jar dependencies (mostly 
lib/synoptic.jar) may be out of date. This leads to complex issues that are 
trivially resolved by re-creating the jar files.

The recency of the jar files can be checked in each of the shell scripts by 
checking if the changeset id that is embedded inside the jar file is the same 
as the changeset of the repository, or other jar file dependencies (e.g., 
csight.jar and synoptic.jar have the same embedded changeset id).

Original issue reported on code.google.com by bestchai on 12 Aug 2014 at 9:14