User Tools

Site Tools


building_transsecs_projects_with_a_command_line

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
building_transsecs_projects_with_a_command_line [2020/11/11 13:58] – wikiadminbuilding_transsecs_projects_with_a_command_line [2020/11/11 14:09] (current) – wikiadmin
Line 86: Line 86:
  
 <file> <file>
-java -Dtranssecs.headless=true [... the rest of the commad line ...] buildprops/headlessbuild.properties+java -Dtranssecs.headless=true [... the rest of the command line ...] buildprops/headlessbuild.properties
 </file> </file>
  
Line 92: Line 92:
  
 <file> <file>
-java -Dtranssecs.headless=true [... the rest of the commad line ...] /home/username/TransSECSPlusReporting/MIStudioSuite/TransSECS/Builder/buildprops/headlessbuild.properties+java -Dtranssecs.headless=true [... the rest of the command line ...] /home/username/TransSECSPlusReporting/MIStudioSuite/TransSECS/Builder/buildprops/headlessbuild.properties
 </file> </file>
  
-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.+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's TransSECS.conf to verify).  
 + 
 +<file> 
 +CLASSPATH="./:./addons/*:../documentation/*:../../MIStudio/lib/*:../../MIStudio/lib/:../../MIStudio/jars/*:../../MIStudio/core/*:../../MIStudio/core/:../../MIStudio/core/lib/*:../../MIStudio/core/ant/lib/*:${JAVA_HOME}/lib/tools.jar:" 
 + 
 +/usr/lib/jvm/java-8-openjdk-amd64/bin/java -cp ${CLASSPATH} -Dsun.java2d.d3d=false -Dtranssecs.headless=true -Dsun.java2d.noddraw=true -Dtranssecs.applicationtype=0 -Dsun.lang.ClassLoader.allowArraySyntax=true -DLoggerClass=Log4JLogger   com.ergotech.transsecs.secs.TransSecs /home/ergotech/TransSECSPlusReporting/MIStudioSuite/TransSECS/Builder/buildprops/headlessbuild.properties 
 + 
 +</file> 
 + 
  
 ===Building Only Selected Tools=== ===Building Only Selected Tools===
building_transsecs_projects_with_a_command_line.1605121111.txt.gz · Last modified: by wikiadmin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki