Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents
maxLevel2

 

 


...


Eclipse is an Integrated Development Environment (IDE) for Java development. Plugins from Eclipse can make Eclipse also suitable for the development of other languages. There is, for instance, a C development environment based on Eclipse. 


Installing Eclipse

A Java Development Kit (JDK) must be available in order to run Eclipse. This quick start guide assumes you are installing the JDK referenced in the XperienCentral Hardware and Software Requirements. The JDK is available from http://java.sun.com/javase/downloads/index_jdk5.jsp.

  1. Download Eclipse from http://www.eclipse.org/downloads/.
  2. Create the folder C:\GX\ and unpack the downloaded eclipse-(…)-win32.zip file to this folder. The C:\GX\eclipse folder is generated. When the installation is complete, Eclipse can be started by double-clicking the C:\GX\eclipse\eclipse.exe executable.
  3. Select a workspace or create one. For example:




    Note

    Throughout the instructions appearing in this topic, the example workspace shown above isn’t used. This step is only necessary because Eclipse requires you to define a workspace.



  4. Continue with the rest of the configuration and then close this tab.

 


Back to Top

 

 


...


Configuring Eclipse

In the Window > Preferences > Java > Installed JREs menu, verify that Eclipse uses the Java Software Development Kit (j2sdk) as a default and not the Java Runtime Environment (JRE) (if necessary, the j2sdk can be added using the [Add] button):

 


 


Note

If the Java Software Development Kit is not selected by default, a message appears when you create a project warning you that the tools.jar cannot be found. This must be set correctly before defining a project or the project will have to be discarded and you must start all over again.

...


Back to Top

 


...

Anchor
configuring_eclipse_to_develop_plugins
configuring_eclipse_to_develop_plugins

...

  • Name: M2_REPO
  • Path (folder): C:\GX\xperiencentral\maven2-repository 

 


Back to Top

 


...

Anchor
tag_libraries_eclipse
tag_libraries_eclipse
Tag Libraries (Taglibs)

...

Key: http://www.gxsoftware.com/taglib/functions

 


If your Eclipse installation does not include the standard JSTL and Spring taglibs you can add the following useful tags:

...

Key: http://java.sun.com/jsp/jstl/fmt

 

 



Back to Top

 


...

Anchor
eclipseForCertifiedPlugins
eclipseForCertifiedPlugins
Configuring Eclipse for Developing Certified Plugins

After installing the Guideline audit plugin XperienCentral, these files can be downloaded from Configuration > Guideline audit > ConfigurationThe configuration files mentioned below are available as attachments to this page.

Anchor
clean_up_code_templates_and_formatter
clean_up_code_templates_and_formatter

...

  1. Navigate to Help > Software Updates > Available software.
  2. Choose Add site.
  3. Input the following URL: http://eclipse-cs.sourceforge.net/update.
  4. Select the Eclipse Checkstyle Plug-in and click [Install].




  5. Navigate through the subsequent pages to install the plug-in.

  6. Restart Eclipse.

...


After installed configure the plug-in as follows:

  1. Navigate to Window > Preferences > Checkstyle.
  2. Click [New].
  3. Select an external configuration.
  4. Select a name (“GX checks” for example), and set the location to the attached GX-checkstyle.xml file and click [OK].



  5. Select the new configuration in the list and click [Set as default] and then click [OK].



Back to Top