Headless mode allows you to use the PAR Generator without going through the Eclipse GUI. Eclipse is still required because the com.prosyst.tools.par.generation application is used. The Headless implementation of the PAR Generator supports all the features included in the regular one. Its intended use is with build tools such as Ant, Maven, etc..
Parameters
Example for running PAR in headless mode:
eclipse -consoleLog -application com.prosyst.tools.par.generator -tp D:/TestIoT/runtime -import D:/workspace/TestParProject -input TestParProject -output D:/test.par
This exports the PAR project "D:/workspace/TestParProject" to "D:/test.par" using the runtime located in "D:/TestIoT/runtime". The parameters that the PAR editor accepts in headless mode are:
Name |
Description |
Usage |
|---|---|---|
input |
Path to the PAR project to be exported. |
required |
output |
Destination of the exported PAR project. |
required |
tp |
Path to the SDK. |
required |
import |
Import a PAR project into the target workspace. |
optional |
delete |
Delete a PAR project from the target workspace without deleting its content from the local file system. |
optional |
deleteAll |
Delete all projects from the target workspace without deleting their content from the local file system. |
optional |