build: 스크립트 수정
parent
fc2d0fe018
commit
225a32decf
|
|
@ -26,6 +26,7 @@
|
|||
<classpathentry exported="true" kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
|
||||
<attributes>
|
||||
<attribute name="maven.pomderived" value="true"/>
|
||||
<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache Tomcat v8.5"/>
|
||||
|
|
|
|||
|
|
@ -1,26 +1,3 @@
|
|||
#게시판 - 자료실에 파일 업로드 안 되는 문제 수정 건
|
||||
#src\main\resources\egovframework\egovProps\globals.properties
|
||||
src\main\java\geoinfo\admins\board\CommunityController.java
|
||||
src\main\java\geoinfo\admins\board\GroundReportController.java
|
||||
src\main\java\geoinfo\admins\board\RefrncRoomController.java
|
||||
src\main\java\geoinfo\admins\chLog\service\impl\DownloadAppServiceImpl.java
|
||||
src\main\java\geoinfo\admins\chLog\ChInfoController.java
|
||||
src\main\java\geoinfo\admins\chLog\DownloadAppController.java
|
||||
src\main\java\geoinfo\admins\notice\NoticeMngController.java
|
||||
src\main\java\geoinfo\admins\user\GeneralUserMngController.java
|
||||
src\main\java\geoinfo\com\file\FileController.java
|
||||
|
||||
|
||||
|
||||
src\main\java\geoinfo\admins\apiManagement\ApiManagementController.java
|
||||
src\main\webapp\WEB-INF\views\admins\frame\top.jsp
|
||||
src\main\webapp\WEB-INF\views\admins\main\index.jsp
|
||||
src\main\webapp\WEB-INF\views\admins\main\main.jsp
|
||||
src\main\webapp\WEB-INF\views\admins\mgmtApi\api-request-statistics-index.jsp
|
||||
src\main\webapp\WEB-INF\views\admins\mgmtApi\left.jsp
|
||||
src\main\webapp\images\admins\mgmtApi\1_tit_01.gif
|
||||
src\main\webapp\WEB-INF\views\admins\constructionProjectManagement\left.jsp
|
||||
src\main\java\geoinfo\admins\apiManagement\ApiManagementController.java
|
||||
src\main\java\geoinfo\admins\constructionProjectManagement\ConstructionProjectManagementController.java
|
||||
src\main\webapp\WEB-INF\views\admins\constructionProjectManagement\construction-user-mgmt-index.jsp
|
||||
src\main\webapp\WEB-INF\views\admins\constructionProjectManagement\left.jsp
|
||||
src\main\webapp\WEB-INF\views\admins\constructionProjectManagement\construction-project-statistics-index.jsp
|
||||
src\main\resources\geoinfo\sqlmap\mappers\admins\user\DrillingInquiryMapper.xml
|
||||
|
|
@ -1,10 +1,65 @@
|
|||
explorer C:\Users\dbnt\eclipse-workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\geoinfo_admin
|
||||
@echo off
|
||||
setlocal enabledelayedexpansion
|
||||
|
||||
rem # ----------------------------------------------------------------------
|
||||
rem # 환경 설정: path.txt에서 이클립스 경로를 읽고 워크스페이스 경로를 설정합니다.
|
||||
rem # ----------------------------------------------------------------------
|
||||
|
||||
rem For 192.168.10.20
|
||||
hostname | find "DESKTOP-9C42CR8" > nul
|
||||
if %errorlevel% == 0 (
|
||||
explorer D:\app_geoinfo\app\eclipse\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\old-geoinfo-or-kr-admin
|
||||
) else (
|
||||
echo goodbye
|
||||
rem # target_directory를 현재 배치 파일이 실행되는 경로로 설정합니다.
|
||||
set "target_directory=%~dp0"
|
||||
set "path_file=%target_directory%path.txt"
|
||||
set "eclipse_path="
|
||||
|
||||
rem # path.txt 파일이 존재하는지 확인합니다.
|
||||
if not exist "%path_file%" (
|
||||
echo [ERROR] "%path_file%"을 찾을 수 없습니다. 스크립트를 종료합니다.
|
||||
pause
|
||||
exit /b
|
||||
)
|
||||
|
||||
rem # path.txt에서 'eclipse='로 시작하는 라인을 찾아 이클립스 경로를 설정합니다.
|
||||
for /f "tokens=1,* delims==" %%a in ('findstr /b "eclipse=" "%path_file%"') do (
|
||||
set "eclipse_path=%%b"
|
||||
)
|
||||
|
||||
if not defined eclipse_path (
|
||||
echo [ERROR] "%path_file%"에서 이클립스 경로를 찾을 수 없습니다.
|
||||
pause
|
||||
exit /b
|
||||
)
|
||||
|
||||
rem # 이클립스 설정 파일 경로를 만듭니다.
|
||||
set "prefs_file=!eclipse_path!\configuration\.settings\org.eclipse.ui.ide.prefs"
|
||||
|
||||
if not exist "!prefs_file!" (
|
||||
echo [ERROR] Eclipse 설정 파일을 찾을 수 없습니다: "!prefs_file!"
|
||||
pause
|
||||
exit /b
|
||||
)
|
||||
|
||||
rem # 설정 파일에서 최근 워크스페이스 목록을 읽어옵니다.
|
||||
for /f "tokens=1,* delims==" %%a in ('findstr /b "RECENT_WORKSPACES=" "!prefs_file!"') do (
|
||||
set "workspaces_line=%%b"
|
||||
)
|
||||
|
||||
rem # \n을 공백으로 치환하여 여러 경로가 있을 경우 첫 번째 경로만 가져옵니다.
|
||||
set "workspaces_line_cleaned=!workspaces_line:\n= !"
|
||||
for /f "tokens=1" %%w in ("!workspaces_line_cleaned!") do (
|
||||
set "workspace_path=%%w"
|
||||
)
|
||||
|
||||
rem # 경로에 포함된 이스케이프 문자(\\)를 단일 백슬래시(\)로 변경합니다.
|
||||
set "workspace_path=!workspace_path:\\=\!"
|
||||
|
||||
rem # 드라이브 경로 형식이 'D\:\'와 같이 잘못된 경우 'D:\'로 바로잡습니다.
|
||||
set "drive_letter=!workspace_path:~0,1!"
|
||||
if /i "!workspace_path:~1,2!" == "\:" (
|
||||
set "workspace_path=!drive_letter!:!workspace_path:~3!"
|
||||
)
|
||||
|
||||
rem # 최종 target_prefix를 설정합니다.
|
||||
set "target_prefix=!workspace_path!\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\ld-geoinfo-or-kr-admin\"
|
||||
|
||||
explorer "!target_prefix!"
|
||||
|
||||
echo target_prefix: "!target_prefix!"
|
||||
Loading…
Reference in New Issue