고객지원
기술지원 문의
[답변]Resin 3.0 에서 자동 컴파일은 어떻게 설정하나요?
권용찬 / 2006-10-08 17:11
즐거운 추석연휴 보내셨는지요 ^^ 게시판 지기가 게을러서 답변이 늦었습니다.
죄송하구요 ^^
3.x에서 java 소스파일을 넣고 컴파일 해주기 위해서 기본 설정외에 추가 하고자 하실 경우 아래를 참조하세요
compoling-loder 속성에서 path 만 지정할 경우 해당 path에 소스가 있으면 되고
소스를 별도로 위치시킬 경우 source=\"\" 속성을 지정하시면 됩니다.
<web-app> <class-loader> <compiling-loader path=\"WEB-INF/classes\" source=\"/data/src\" />
</class-loader></web-app>
설정가능한 옵션
Attribute | Meaning | default |
---|---|---|
args | Additional arguments to be passed to the Java compiler. Resin 3.0 | none |
batch | If true, multiple changed *.java files will be compiled in a single batch. Resin 3.0.7 | true |
encoding | I18N encoding for the Java compiler. Since Resin 3.0 | none |
path | Filesystem path for the class loader. Since Resin 3.0 | required |
source | Java source directory. Since Resin 3.0 | value of path |
require-source | If true, .class files without matching .java files will be deleted. Since Resin 3.0 | false |
즐거운 하루되세요