building_transsecs_projects_with_a_command_line
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| building_transsecs_projects_with_a_command_line [2020/10/20 16:07] – created wikiadmin | building_transsecs_projects_with_a_command_line [2020/11/11 14:09] (current) – wikiadmin | ||
|---|---|---|---|
| Line 27: | Line 27: | ||
| When you double-click the executable, the application will start, compile the last project you had open, and then exit. You can test this by deleting the deployment folder in the project (everything except the .tsx and .xpj) and use the headless feature to rebuild it. You should see all the same files, including deployment, documentation, | When you double-click the executable, the application will start, compile the last project you had open, and then exit. You can test this by deleting the deployment folder in the project (everything except the .tsx and .xpj) and use the headless feature to rebuild it. You should see all the same files, including deployment, documentation, | ||
| - | If you are running TransSECS from a script or a batch file, you will need to add the system property | + | If you are running TransSECS from a script or a batch file, you will need to add the system property " |
| < | < | ||
| Line 33: | Line 33: | ||
| </ | </ | ||
| - | The property name //" | + | The property name " |
| ===Choosing which Project to build=== | ===Choosing which Project to build=== | ||
| - | When running TransSECS normally, the project loaded is described in the //" | + | When running TransSECS normally, the project loaded is described in the " |
| < | < | ||
| Line 48: | Line 48: | ||
| </ | </ | ||
| - | The same file applies when running a headless TransSECS build, the project listed in the //" | + | The same file applies when running a headless TransSECS build, the project listed in the " |
| - | When running TransSECS, the configuration property file to read is provided as an argument to the application. | + | When running TransSECS, the configuration property file to read is provided as an argument to the application. |
| < | < | ||
| Line 58: | Line 58: | ||
| </ | </ | ||
| - | For this argument, you can provide the full path the a customized application.properties file. TransSECS will read that file at startup and compile the project described in the file. For example, if you create a file in the folder // | + | For this argument, you can provide |
| < | < | ||
| Line 72: | Line 72: | ||
| < | < | ||
| - | wrapper.app.parameter.2=C: | + | wrapper.app.parameter.2=buildprops\\headlessbuild.properties |
| + | </ | ||
| + | |||
| + | or as a full path for the headlessbuild.properties: | ||
| + | |||
| + | < | ||
| + | wrapper.app.parameter.2=C: | ||
| </ | </ | ||
| When you start the headless build, the project in C: | When you start the headless build, the project in C: | ||
| - | This property can, again, be added as an argument in a script | + | This property can, again, be added as an argument in a script |
| < | < | ||
| - | java -Dtranssecs.headless=true .... C:/ | + | java -Dtranssecs.headless=true |
| </ | </ | ||
| + | |||
| + | or, with a full path to the headlessbuild.properties | ||
| + | |||
| + | < | ||
| + | java -Dtranssecs.headless=true [... the rest of the command line ...] / | ||
| + | </ | ||
| + | |||
| + | where "the rest of the command line" contains the classpath -cp parameter (if classpath is not already defined), other java and jdk parameters and various TransSECS parameters as listed in the TransSECS.conf file in your script or batch file. | ||
| + | |||
| + | An example bash script for Linux to run TransSECS Builder headless (check the current command line parameters in your installation' | ||
| + | |||
| + | < | ||
| + | CLASSPATH=" | ||
| + | |||
| + | / | ||
| + | |||
| + | </ | ||
| + | |||
| - | ===Building | + | ===Building |
| - | Some TransSECS projects contain multiple tools. | + | Some TransSECS projects contain multiple tools. |
| < | < | ||
| - | wrapper.app.parameter.2=C: | + | wrapper.app.parameter.2=buildprops\\headlessbuild.properties |
| wrapper.app.parameter.3=GEMTool | wrapper.app.parameter.3=GEMTool | ||
| wrapper.app.parameter.4=RFIDReaderTool1 | wrapper.app.parameter.4=RFIDReaderTool1 | ||
| </ | </ | ||
building_transsecs_projects_with_a_command_line.1603224429.txt.gz · Last modified: by wikiadmin
