본문 바로가기

Programming!

eclipse.ini 다중 secure_storage 정보 추가.

맥에서 spring tool suite 나 eclipse로 회사소스(github)와 내 github 소스 repository를  스위칭해 작업하다보면 secure 이슈로 인해  github repository를 못찾는 다는 오류를 보게 될때가 있다.

뭐 intellij와 함께 쓰고 있어서 이럴때는 그냥 intellij띄우고 작업을 하곤 하는데..

여튼 이문제를 해결하려면 sts,eclipse의 응용 프로그램을 복사하거나 스크립트를 만들어서 스위칭 하는 방법이 있으며, xxxx.ini에 

-Duser.home=/Users/Grissom/github (기본은 /Users/Grissom/ ) 를 추가하여 다른 org.eclipse.equinox.security/secure_storage 를 읽도록 처리하면 문제없이 사용할 수 있다. ( 즉, secure_storage 파일을 두개 만들어 스위칭 하는 방식 )