나역시 위와 같은 상황에서 SVN을 설치해야 할 일이 발생하였는데 SVN홈페이지에서 아무리 뒤져봐도 Archive 파일 다운로드가 보이지 않아서 해외 사이트를 검색하던 와중 Eclipse P2 Mirroring 이라는 기능을 알개되어 소개 하고자 한다.
- Java
- eclipse, STS, Install4j 등 자바 관련 IDE, 개발툴
- eclipse & Spring Tool Suite
- Current: eclipse marketplace(이클립스 마켓플레이스)에서 plugin 설치하기
개요
이클립스는 plugin 을 통해 기능을 확장할 수 있습니다. plugin 은 eclipse market place 에서 바로 설치받거나 다운받은 후에 수동으로 설치할 수 있습니다.
plugin 검색
- 이클립스의 Help → "Eclipse Marketplace" 를 선택합니다.
- 별도의 팝업창이 뜨고 플러그인 검색 화면이 표시됩니다. 상단의 탭에는 최근에 올라온 플러그인과 유명한 플러그인, 설치된 플러그인등 간편한 검색 기능도 제공합니다.
- 검색창에 "Issue 및 프로젝트 관리 시스템" 과 연동을 도와주는 Mylyn 을 쳐 봤더니 좋아요 갯수와 설치한 갯수까지 포함됩니다. 이미 설치된 플러그인의 경우 installed 라고 표시됩니다.
plugin 설치
- eclipse 에서 ascii doc 문법을 사용할 수 있게 해주는 asciidoctor 플로그인을 설치해 보겠습니다. 먼저 market place 를 띄운 후에 검색창에 검색어를 입력하고 우측 하단의 Install 을 클릭합니다.
- 라이선스 확인창이 나오면 accept 를 선택하고 Finish 를 클릭합니다. (plugin 에 따라 Next 를 눌러야 하는 경우도 있습니다.)
- 설치가 끝나면 eclipse 를 재구동합니다.
같이 보기
- eclipse asciidoc plugin 사용하기
Ref
- //marketplace.eclipse.org/
×
오프라인 환경에서 Eclipse Plugin Download 방법 일반적으로 Eclipse Plugin을 설치하는 방법은 세 가지 이다. MarketPlace에서 필요한 Plugin을 검색하여 설치. Install New Software 메뉴를 통해 update site..
javaslave.tistory.com
//marketplace.eclipse.org/content/spring-tools-3-add-spring-tools-4
Spring Tools 3 Add-On for Spring Tools 4
Spring Tools 3 Add-On for Spring Tools 4 Attention: This add-on pack provides additional components from the previous Spring Tools 3 generation to be installed into an Eclipse with Spring Tools 4 already installed. To avoid installation issues with overlap
marketplace.eclipse.org
#20210624 수정
실제 인터넷 연결이 불가능한 환경에서 개발환경을 설정할 때는 인터넷이 가능한 환경에서 아래 블로그 설명대로 다운로드 받고 나서 해당 이클립스에 플러그인을 다 설치한 다음 다시 그 폴더를 그대로 압축해서 인터넷이 불가능한 개발환경으로 넘기면 정상 동작한다.
//leedohyun1985.tistory.com/59?category=935375
인터넷이 안되는 환경에서 이클립스 설치하기
이클립스를 installer로 설치하면 설치 중 인터넷에 지속적으로 접근해야 한다. 하지만 개발환경상 인터넷 접근이 불가능한 상황에서 사용하고 싶다면 패키지로 설치하는 방법이 있다. 링크를 첨
Eclipse plugins usually depend on other plugins. It's kind of hard to trace the dependencies. It's better to download all dependencies using update site once, and you can distribute to other Eclipse dropins. For Eclipse 3.4 or newer, you can use dropins which is an Eclipse feature. This way you don’t have to install plugin from update site every time you have to re-install your Eclipse. Read on //michsan.web.id/content/how-install-eclipse-plugins-offline
If you can't see the web, I'll give you some description
Prepare directory for external plugins
Create special directory to hold our beloved plugins, e.g. in /home/ichsan/eclipse-dropins we will install Maven plugin: m2eclipse.
mkdir /home/ichsan/eclipse-dropinsFor now on, we'll call this directory as DROPINS
Preparing sandbox
Next, by using Git we'll create an Eclipse sandbox. The point is to install one plugin on a fresh Eclipse. Instead of installing fresh Eclipse every time we want to install a new plugin, we'd better use Git to create new branch of fresh Eclipse.
First, extract/install new Eclipse to a directory e.g. /home/ichsan/eclipse-sandbox (so that we'll find /home/ichsan/eclipse-sandbox/eclipse.ini). We call the directory as ECLIPSE_SANDBOX.
Next, commit the fresh installation. This step should be done once only.
cd $ECLIPSE_SANDBOX git init git add . git commit -am "Fresh Eclipse"Install plugin on sandbox
Now is the interesting part. Supposed we have to install m2eclipse plugin. We will install this on new Git branch so that the master branch will stay clean or stay intact.
cd $ECLIPSE_SANDBOX git checkout -b "m2eclipse"Now, we start the Eclipse of the ECLIPSE_SANDBOX and download the plugin. Once we're done, we shut the Eclipse down and check what new directories or files have been created (using Git). Remember that, we only care about new plugins and features directories and the contents inside them. So, we won't copy the rest into dropins.
# Prepare the m2eclipse plugin directories mkdir -p $DROPINS/m2eclipse/eclipse/plugins mkdir -p $DROPINS/m2eclipse/eclipse/features cd $ECLIPSE_SANDBOX for f in $(git status | sed "s/#\t//g" | grep -P "^plugins" ); do cp -R $f $DROPINS/m2eclipse/eclipse/plugins; done for f in $(git status | sed "s/#\t//g" | grep -P "^features"); do cp -R $f $DROPINS/m2eclipse/eclipse/features; done # Make the directory read only chmod -R -w $DROPINS/m2eclipse # Commit changes git add . git add -u git commit -am "M2Eclipse plugin installed" # Back to master branch to make Eclipse clean again and ready for other plugin installations git checkout master Installing the pluginJust copy the directory of DROPINS/m2eclipse into ECLIPSE_HOME/dropins or create a symbolic link. And we're done!
cd $ECLIPSE_HOME/dropins ln -s $DROPINS/m2eclipseAnother way is to backup differences between fresh-Eclipse commit and after-plugin-installation commit.