eclipse插件安裝

Installation using plugin ready eclipse

Product

version
Description
eclipse

3.7.2
base ide
Spring IDE

3.1.0
a very useful graphical user interface tool adding support for Spring Framework
mchr3k

1.1.1
JD Eclipse plugin
Jautodoc

1.10.0
for automatically adding Javadoc and file headers to your source code
m2e 1.2 maven plugin
m2e-wtp 0.16 maven Integration for WTP
RTC 3.0.2 IBM Rational Team Concert

\\nas174an2.hk.hsbc\WMDDATA\DOC\CAD\RIS\RIS Release 3\Retail Trading Platform\Tools\eclipse\eclipse-jee-indigo-SR2-win32-plugin-ready.zip

You still need go through the steps below but you may skip step1 and steps marked with [Plugin installation].

Installation using clean eclipse

Download eclipse ee 3.7.x (latest)
\\nas174an2.hk.hsbc\WMDDATA\DOC\CAD\RIS\RIS Release 3\Retail Trading Platform\Tools\eclipse-jee-indigo-SR2-win32.zip

Modify the eclipse.ini
Backup the orginal eclipse.ini and add the following lines in the eclipse.ini Please substitute the path to use your WAS JVM installation path. i.e. <WebSphere Application Server V8.5, V8.0 or V7.0 installation directory>/java/jre/bin/javaw.exe

If you change the eclipse.ini before creating a new workspace, the default jre used will be changed to this jre. For existing workspace, this jre will not added automatically. Yet, the name of jre is checked in source code. So if you add an jre yourself, you may find fine the name is conflicted with source contorl one.

-vm
C:/runtimes/WebSphere70/AppServer/java/bin/javaw.exe
-vmargs
-Xms100m
-Xmx1024m
-Xscmx48m
-Xshareclasses:name=IBMSDP_%u
-Xquickstart
-Xgcpolicy:gencon
-Xmnx64m
-Djava.util.Arrays.useLegacyMergeSort=true
-Dcom.ibm.ws.management.event.max_polling_interval=1000

-Dsun.net.client.defaultReadTimeout=60000

It is known that then IBM-J9-SR5 or previous version will get the following exception when runing the maven plugin
1 error
role: org.apache.maven.execution.MavenExecutionRequestPopulator
roleHint:
at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:257)
at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:245)
at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:239)
at org.eclipse.m2e.core.internal.embedder.MavenImpl.lookup(MavenImpl.java:1181)
at org.eclipse.m2e.core.internal.embedder.MavenImpl.createExecutionRequest(MavenImpl.java:216)
at org.eclipse.m2e.core.internal.embedder.MavenImpl.getMirrors(MavenImpl.java:1090)
at org.eclipse.m2e.core.internal.repository.RepositoryRegistry.updateRegistry(RepositoryRegistry.java:223)
at org.eclipse.m2e.core.internal.repository.RepositoryRegistryUpdateJob.run(RepositoryRegistryUpdateJob.java:46)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: com.google.inject.ProvisionException: Guice provision errors

SR6-8 did not try yet and you may update me the result if you got a try. SR9 is known working without any problem.
The java version comes different depending on the time you raise request on installing RAD8/Local WAS. The following show a SR9 JVM


A copy of IBM-J9-SR9-SDK is available at
\\nas174an2.hk.hsbc\WMDDATA\DOC\CAD\RIS\RIS Release 3\Retail Trading Platform\Tools\JavaSDK\IBM-J9-SR9.zip


Reasons:
-vm -> change using IBM J9 SDK instead of Oracle JDK
-vmargs -> according to suggested settings for eclipse connect WAS
-sun.net.client.defaultReadTimeout -> increase the timeout to make plugin installation less read timed out error

Remove SOCKS proxy in IE settings before installing plugins. Restart Eclipse afterwards.


[Plugin installation] RTC plugin install
open eclipse->help->install new software , then click the Add button, you can see a box pump out like below:

fill in the Name: RTC plugin
fill in the Locations : either of the three link below
http://rational.hk.hsbc/repos/software/eclipse/TeamConcert3
OR
http://rational.uk.hsbc/repos/software/eclipse/TeamConcert3
OR
http://rational.us.hsbc/repos/software/eclipse/TeamConcert3
OR
http://rational.cn.hsbc/repos/software/eclipse/TeamConcert3/RTC-Client-p2Repo-3.0.1.1.zip
you can see below picture , and choose the first one(extend an Eclipse install ation), then click next.


[Plugin installation] Install m2e and wtp
Open the install new software window, and click add button, fill in the pump box like this:

Fill in location : http://download.eclipse.org/m2e-wtp/releases/
choose four items like below, and then click next to the end, then finished.

( As of 2012-11-15, the latest and rmp tested version of m2e-wtp is 0.16.0.20120914-0945 )

(If you working with Tomcat) Install Tomcat
download tomcat in the below link:
\\nas174an2.hk.hsbc\WMDDATA\DOC\CAD\RIS\RIS Release 3\Retail Trading Platform\Tools\apache-tomcat-6.0.35.zip
open eclipse, and change to the blow picure, preferences->Runtime Environment

click add button,you will see below picture, and choose "Apache Tomcate v6.0",click next:

click "Browse" button,fill in the path where you locate the tomcat, then click finish.


(If you working with Websphere) Install IBM WebSphere® Application Server Developer Tools
TBD

Reference

http://r2methods-dev.it.hk.hibm.hsbc/rtc_adoption_process/#hsbc.content.software_eng.guidance.tooling.rtc/guidances/supportingmaterials/software_installation_7A1008FD.html

http://publib.boulder.ibm.com/infocenter/radhelp/v8r5/index.jsp?topic=%2Fcom.ibm.rad.install.doc%2Ftopics%2Ft_install_wdt_eclipse.html

http://wiki.eclipse.org/WTP_Tomcat_FAQ
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章