Versions Compared

Key

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

...

  1. Navigate to File > New > Project…





  2. Select Java > Java Project and click [Next]:




  3. Enter a name for the project (e.g. HelloWorldElement) and select the option to create the project from an existing source. Select the root for the element plugin (for example, C:\GX\wcb\helloworldelement).

  4. Click [Finish]. The project will now be created:
    Image Removed
    Image Added



    Eclipse might prompt you to switch to the Java perspective. The perspective, that is the way windows in eclipse are ordered, can be modified later via the Window > Open perspective menu or in the right upper corner of the Eclipse user interface:






    After the project has been created, Eclipse will look like the following:


...

  1. Navigate to the External Tools configuration (Run > External Tools > External Tools Configurations):
  2. In the left pane, select "Program" and click [New]:





  3. Configure the external tool. Set at least the following properties:

    PropertyDescription
    Name

    Define a name for running this command.

    Location

    Select the mvn.bat file [Browse File System…].

    Working Directory

    Select your project by clicking [Browse Workspace…].

    Arguments

    Fill this field with the following -s <path to the settings.xml> clean package.



    Note

    If other plugins have dependencies to this plugin you might consider using  -s <path to the settings.xml> clean install instead to also install the plugin in the Maven Repository.



  4. Click [Apply].

  5. Click [Run] to execute the command.

...