<currentDirectory>${EXECUTABLEPATH}</currentDirectory>
이게 무슨 말이냐.. jsmooth를 사용해서 C:\SHOW\test.exe 파일을 만들었고, 그것을 실행할때 current directory를 만하는 것이다.
그런데 여기서 EXECUTABLEPATH 의미는 실행파일이 있는 경로를 이야기한다.
여기선 "C:\SHOW\"를 말한다.
이렇게 되면 절대 경로를 입력해줄 필요가 없어진다.
아래는 메뉴얼 내용 중 일부
3.5.2.1. Special Values
You can use the Java Property mechanism to pass special values to your java app.
Environment Variable: If you pass a string of the form %ENV% in the value field of the property, the wrappers will replace the string with the content of the ENV environment variable.
For instance, to pass the content of the JAVA_HOME environment variable, adds %JAVA_HOME% in the Value field.
JSmooth also makes some special variable accessible for your application.
Form
Meaning
${EXECUTABLEPATH}
Replaced by the path to the executable binary. For instance, if the executable binary launched is located at c:/program files/jsmooth/test.exe, this variable is replaced with c:/program files/jsmooth
${EXECUTABLENAME}
Replaced by the name of the executable binary. For instance, if the executable binary launched is located at c:/program files/jsmooth/test.exe, this variable is replaced with test.exe
${COMPUTERNAME}
Replaced by the name of the computer.
${VMSELECTION}
Replaced by the name of the selection method used to spawn the JVM. The value replaced is typically one of the following values:
registry
, when the VM location is found in the registryjdkpath
, when the VM if found in the %JDK_HOME% variablejrepath
, when the VM if found in the %JRE_HOME% variablejavahome
, when the VM if found in the %JAVA_HOME% variablejview
, if the VM is JViewexepath
, if the VM was found in the windows pathbundled
, if the VM bundled with the application is used
${VMSPAWNTYPE}
This variable is replaced by one of the following values:
JVMDLL
if the JVM is spawned using a DLL loading and instanciationPROC
if the JVM is spawned in a new process using the Windows' CreateProcess function
'IT-Consultant' 카테고리의 다른 글
영화 26년에 평점에 대한 평가 (0) | 2012.12.02 |
---|---|
영화 26년에 대한 평론가의 평가 (0) | 2012.12.02 |
페이스북 메신저에 대한 평가 (0) | 2012.11.23 |
설상가상 HP, 오토노미 ‘먹튀’ 논란 (0) | 2012.11.22 |
WINDOW Explorer ftp 기능의 버그에 관해서 (1) | 2012.11.22 |