Versions Compared

Key

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

...

Warning
titleServoy 5.2 branch instructions

These instructions are for trunk and any future branches, but are not relevant for the Servoy 5.2 branch. For instructions how to setup for Servoy 5.2 development, see Setting up (Servoy 5.2 branch only)

Quick start for the impatient

  • Install Servoy Developer
  • Install an Eclipse distribution that contains the plugin development tools for Eclipse (PDE), for example Eclipse Classic
  • Setup a String Substitution variable named "servoy_install" which points to the installation directory of the previously installed Servoy Developer
  • Create a ClassPath variable named 'WEBSTART' that points to javaws.jar of the used JVM
  • Checkout the open source Servoy projects from https://subversion.servoy.com/product
  • Download the Servoy Server libraries from http://build.servoy.com/latest and place them in a directorythe "libs_extra" directory of the eclipse_target project. Download only the files who's name postfix matches the value of the release number in the ClientVersion class in the checked-out source code
  • Setup a Target Platform by:
    • Opening the servoy.target file, located in the "eclipse_target" project
    • Add the directory in which the Servoy server libraries were stored to the target
    • Clicking the link "Set as Target Platform" of the Target editor
  • Create a Launch Configuration (and directly start a debug session) by right-clicking the "Servoy Launch.launch" (or "Servoy Launch_mac.launch" when on OSX) file in the "launch_files" directory of the "com.servoy.eclipse.core" project and selecting Debug as > "Servoy Launch" (or Servoy Launch_mac when on OSX).

...

Download Servoy Server libraries
In order to also be able to start debug clients from Servoy Developer launched from the source code, it is required to use the correct version of several libraries of the Servoy Application Server. The latest version of these libraries can be downloaded from the Servoy build server, located at http://build.servoy.com/latest. Download all the libraries from the subdirectory for a specific branch or for trunk who's name postfix matched the value of the releaseNumber variable in the ClientVersion class of the checked-out source code and place then in a directory.them in the "libs_extra" directory of the eclipse_target project

Setup the Target Platform:

  • Switch to the Java Perspective: Window > Open Perspective > Java
  • Expand the eclipse_target project in the Package Explorer
  • Open (double-click) the servoy.target fileAdd the directory in which the Servoy Server libraries that have been previously downloaded have been stored as a location, by clicking Add > Directory > Next, and then select the directory where the Servoy Server libraries are stored and click Finish
    Image Removed
  • Click the 'Set as Target Platform'. This will setup the Target Platform correctly, after which projects will be build and should compile without error.

...