STS/Eclipse 다중 실행방법, Workspace 별로 STS/Eclipse 실행하는 방법
예전 윈도우 환경에서는 STS 2개이상 실행이 안되고 하나만 실행할 수 있는 줄만 알았지만 최근(?)에 확인해 보니 중복으로 실행할 수 있는 방법을 알게되었다.(예전에는 STS를 2개 설치하여 실행하는 방법을 사용하였다.;;;)
STS 는 이클립스 기반이며 Workspace 만 분리되면 하나의 STS 어플리케이션 실행파일로 2개이상의 STS를 실행할 수 있다.
동일한 Workspace 를 지정하여 STS를 실행하면 "[STS] Workspace Cannot Be Locked" 에러창을 확인할 수가 있을 것이다.
Colud not launch the product because the associated workspace at
<Workpsace 경로명> is currently in use by another Eclipse application
0. 환경
- 윈도우 10
- STS 4.5.1
1. STS 실행파일(SpringToolSuite4.exe)의 바로가기를 만든다.
설치된 STS 폴더 > SpringToolSuite4.exe 파일 > 우클릭 > 바로 가기 만들기
2. 바로가기 속성의 exe 파일에 -data 옵션을 지정한다.
바로가기 우클릭 > 속성
C:\Develop\STS\sts-4.5.1.RELEASE\SpringToolSuite4.exe -data C:\Develop\Workspace-STS
다른 바로 가기 (2)는 다른 Workspace 를 지정한다. (C:\Develop\STS\sts-4.5.1.RELEASE\SpringToolSuite4.exe -data C:\Develop\Workspace-STS2)
3. STS 다중실행 확인
설정한 바로 가기 2개를 각각 실행하면 에러메세지가 보이지 않고 STS 다중실행을 확인할 수 있다.
STS Application Title 에 표시된 Workspace 폴더명으로 STS을 구분할 수가 있다.
'Tool > SpringToolSuite(STS)' 카테고리의 다른 글
[STS] Tomcat Server 설정 후 구동시 에러(The server cannot be started because one or more of the ports are invalid.) (0) | 2022.04.13 |
---|---|
[STS] SVN 연결실패(Selected SVN connector library is not available or cannot be loaded.) (0) | 2022.02.09 |
[STS] Gradle 프로젝트에서 build 폴더가 안보이는 경우 해결방법 (0) | 2022.01.27 |
[STS4] Gradle Plugin - Egradle 설치하기 (0) | 2022.01.14 |
STS 다운로드 및 설치 (0) | 2020.08.07 |