본문 바로가기

Tool/SpringToolSuite(STS)

STS/Eclipse 다중 실행방법

728x90
반응형

 

STS/Eclipse 다중 실행방법, Workspace 별로 STS/Eclipse 실행하는 방법

 

예전 윈도우 환경에서는 STS 2개이상 실행이 안되고 하나만 실행할 수 있는 줄만 알았지만 최근(?)에 확인해 보니 중복으로 실행할 수 있는 방법을 알게되었다.(예전에는 STS를 2개 설치하여 실행하는 방법을 사용하였다.;;;)

STS 는 이클립스 기반이며 Workspace 만 분리되면 하나의 STS 어플리케이션 실행파일로 2개이상의 STS를 실행할 수 있다. 

동일한 Workspace 를 지정하여 STS를 실행하면 "[STS] Workspace Cannot Be Locked" 에러창을 확인할 수가 있을 것이다. 

 

[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 파일 > 우클릭 > 바로 가기 만들기

[STS] 바로 가기 만들기

 

2. 바로가기 속성의 exe 파일에 -data 옵션을 지정한다.

바로가기 우클릭 > 속성

C:\Develop\STS\sts-4.5.1.RELEASE\SpringToolSuite4.exe -data C:\Develop\Workspace-STS

[STS] SpringToolSuite4.exe -data 옵션

 

다른 바로 가기 (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을 구분할 수가 있다.

[STS] 다중실행

 

[STS] 다중실행 프로세스 확인

 

 

728x90
반응형