Eclipse installation

From Plex-XML

Jump to: navigation, search

Contents

Download and unzip

Eclipse is an open source IDE. You can download Eclipse for free. Please make sure you are downloading a version >= 3.1.

Then unzip Eclipse into a local folder.


First start

During the first start of Eclipse you will be asked to name a folder for the workspace. It might make sense to create and use an own folder outside the Eclipse folder. This is useful in order to protect the workspace while reinstalling newer version of Eclipse later on. The Eclipse workspace is also the standard location of projects that are checked out from CVS.

the workspace folder should be also a local folder to achieve reasonable performance.

Default compiler from Eclipse

In order to use the Eclipse compiler instead of the Java standard compiler you have to configure some settings. Select Menu Windows->Preferences and set your Global Entries like shown below:

Image:AntRuntime.png

The jdtCompilerAdapter.jar is normally part of the org.eclipse.jdt.core_x.x.x.jar file, so you should extract it with any unzip utility


OutOfMemoryError

While compiling

If you will get an OutOfMemoryError in the compile run you need to choose Run->External Tools -> External Tools click the 'JRE' tab in your ANT and choose 'Separate JRE'. Within the VM arguments please enter '-XmX256m' to configure the memory used by the compiler.


While working with eclipse

IF you get an OutOfMemoryError while working with in Eclipse you should try to change your startup parameter to e.g. 'eclipse.exe -vmargs -Xmx512m'


Eclipse Workspace

Keep the path of your Eclipse Workspace short (e.g. C:\eclipse\ws). Because Windows file names are limited to 256 character and your generated function names including all directories could get on that limit.


XMLBuddy plugin

  • Download the plugin
  • Extract the zip file into your Eclipse plugin folder

Image:XMLBuddyExtract.png

  • Now you should have a new subdirectory with a name like 'C:\eclipse\plugins\com.objfac.xmleditor_2.0.75'
  • Restart Eclipse
  • You can now open a XML file in Eclipse. You will get a new XML menu within Eclipse
  • If you want to edit XSLT and schema files you will need to upgrade your license to the professional version

Image:XMLBuddyMenu.png

External Links

http://www.eclipse.org/
http://www.eclipseproject.de/ (German)
Personal tools