Globals.java는 시스템 구동 시 프로퍼티를 통해 사용될 전역변수를 정의한다.
소스상에서 없는 상수들은 여기에 추가한 뒤에
환경설정파일을 생성하고
생성한 환경설정 파일에 내용입력
src/main/java/egovframework/com/cmm/service/Globals.java
//프로퍼티 파일 위치public static final String CONF_PATH = EgovProperties.getPathProperty("Globals.ConfPath");
src/main/resources/egovframework/egovProps/globals.properties
# 환경파일 위치
Globals.ShellFilePath = globals.properties
Globals.ServerConfPath = conf/server.properties
Globals.ClientConfPath = conf/client.properties
Globals.FileFormatPath = conf/format.properties
Globals.GPKIConfPath = conf/gpki.properties
Globals.ConfPath = conf
Globals.MailRequestPath = mail/request/
Globals.MailRResponsePath = mail/response/
Globals.SMEConfigPath = conf/SMEConfig.properties
해당 경로가 없으면 만든다.
파일이 없으면 만든다.
기준 : src/main/resources/egovframework/egovProps/conf