1 set path=%path%;C:\Program Files\Java\jdk1.6.0_03\bin
4 D:\users\rkv\SIMAN\SIMAN_SRC\Workspace\Siman\build\classes>
5 set path=%path%;"C:\Program Files\Java\jdk1.6.0_20\bin"
7 C:\work\Siman\SIMAN_SRC\Workspace\Siman\build\classes>
8 jar cvf splat-launcher.jar org\splat\launcher\*.class
11 cd ..\..\WebContent\jap
13 jarsigner -verbose -keystore launcherkeystore -signedjar splat-signedlauncher.jar splat-launcher.jar launcheralias
17 For creation the applet please use the following java methods :
19 //To get the SALOME_HOME environment variable
20 String SALOME_HOME = System.getenv("SALOME_ROOT_DIR");
22 If SALOME_ROOT_DIR does not exist the SALOME_HOME equals to _null_.
24 //To execute the RunSalome script
25 Runtime runtime = Runtime.getRuntime();
26 String pathToScript = SALOME_HOME+"\\runSalome" or pathToScript = SALOME_HOME+"runSalome"
28 if (new File(pathToScript).exists()) {
29 Process process = runtime.exec(pathToScript);
34 <applet name="perform" id="perform" code="org.splat.launcher.ToolbarApplet.class" archive="../jap/splat-signedlauncher.jar" width=54 height=24>
35 <param name="icon0" value="tool.winword.png" />
36 <param name="tool0" value="winword.exe" />
37 <param name="icon1" value="tool.sgeom.png" />
38 <param name="tool1" value="../sgeom/index.jsp" />
46 Some more details about current procedure of SALOME running
48 It probably will be updated in accordance with changes of SALOME directories
53 To check availability of SALOME environment, the applet should :
55 - check existence of environment variable $SALOME_ROOT_DIR
57 - check existence of environment file $SALOME_ROOT_DIR/env_build.sh
59 - existence of run bash script $SALOME_ROOT_DIR/KERNEL/bin/salome/runSalome
69 - export SALOME environment variables
71 . $SALOME_ROOT_DIR/env_build.sh
73 - run bash shell script
75 runSalome --siman --siman-study=s --siman-scenario=sc --siman-user=u -k
80 the SIMAN parameters are displayed as Title of the SALOME GUI Window
82 "-k" is to kill previously run runSalome and all SALOME processes