개발자

전자정부 프레임웍 환경 설정파일 정리

쿠카곰돌이 2020. 8. 13. 02:00
반응형

\workspace\ariabm\pom.xml

<dependency> 
    <groupId>ojdbc</groupId> 
    <artifactId>ojdbc</artifactId> 
    <version>7</version> 
    <scope>system</scope> 
    <systemPath>${basedir}/src/main/webapp/WEB-INF/lib/ojdbc7.jar</systemPath>
</dependency>

<dependency>
    <groupId>ojdbc</groupId>
    <artifactId>ojdbc</artifactId>
    <version>7</version>
    <scope>system</scope>
    <systemPath>${basedir}/src/main/webapp/WEB-INF/lib/ojdbc7.jar</systemPath>
</dependency>

 

/ariabm/src/main/resources/egovframework/egovProps/globals.properties

Globals.DbType =oracle
#oracle
Globals.oracle.DriverClassName=oracle.jdbc.driver.OracleDriver
Globals.oracle.Url=jdbc:oracle:thin:@127.0.0.1:1521:viwdb
Globals.oracle.UserName
Globals.oracle.Password

# 파일 업로드 경로(경로 설정은 반드시 절대경로를 사용해야함, 경로 뒤에 /를 붙여 주어야함.)
Globals.fileStorePath =C:/AriaBM/upload/

# 파일 동기화 컴포넌트에서 사용할 파일 업로드 경로(경로 설정은 반드시 절대경로를 사용해야함, 경로 뒤에 /를 붙여 주어야함.)
Globals.SynchrnServerPath =C:/AriaBM/upload/Synch/

 

/ariabm/src/main/resources/egovframework/spring/com/context-mapper.xml

<property name="configLocation" value="classpath:/egovframework/mapper/config/mapper-config.xml" />

<property name="mapperLocations">
 <list>
  <value>classpath:/egovframework/mapper/com/**/*_${Globals.DbType}.xml</value>
 </list>
</property>

 

 

반응형