Structure101 Build is a command line structural checking and reporting analysis engine. Operations include publishing a snapshot to a Structure101 repository, checking architectural constraints, generating reports, breaking the build, etc.
Structure101 Build is delivered as a zip archive. Installation is simply unpacking to a suitable folder location. A minimum Java 8 is the only requirement for running the Build process.
Run Structure101 Build by passing a valid XML configuration file in a command line like this:
java -Xmx512m -jar structure101-java-build.jar structure101-build-config.xml
When running Structure101 Build from a directory other than the installation directory it is necessary to provide the correct location of the native libraries used by Structure101 Build. Specify the location of these libraries using the -Djava.library.path parameter. The command will look something like:
java -Djava.library.path="C:/Program Files/Structure101 Studio/java/" \
-jar "C:/Program Files/Structure101 Studio 6/java/structure101-java-build.jar" \
structure101-build-config.xml
Note: If you are seeing “Bad classname” warnings in your build output, the relevant files, e.g. *.*.fxml, can be excluded from the list of files to be parsed, by setting the Excludes pattern in your project settings, .hsp file, using Structure101 Studio.
Important: Build operations require a valid Structure101 BUILD license file in the same directory as the library path, or alternatively passing -licensedirectory="path-to-license-dir" when the license file is elsewhere.