Databases Reference
In-Depth Information
1.
Make a copy of the original
eclipse.ini
and name it
eclipse.ini.
original
.
2.
Open the
eclipse.ini
file in Notepad.
3.
Add a
-vm
entry before any
-vmargs
entry in the file. The entry should point
to the value of your
%JAVA_HOME%/bin
. Eclipse requires that you reverse
the slashes to forward slashes. Your file should look similar to this:
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.
v20120913-144807
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
C:/Program Files/Java/jdk1.7.0_17/bin
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-Xms40m
-Xmx512m
4. Close and save the file.
5.
Start Eclipse and choose a location where Eclipse will store you workspaces.
Installing the Maven Eclipse plugin
We will be using the Maven Eclipse plugin, which will help us with getting
the dependencies needed for our Confluence plugins.
1.
Select
Help
|
Install
new Software. Click on the
Add
button to add
a new repository.
2.
Enter
Sonatype M2Eclipse
in the
Name
field.
3.
Enter
http://m2eclipse.sonatype.org/sites/m2e
in the
Location
field.