User Tools

This is an old revision of the document!

Using Eclipse


Eclipse is an IDE (Integrated Development Environment). It intends to facilitate the developer's work with integrated tools. Interesting features are:

  • a powerful editor with completion and refactoring capabilities
  • version repository access (CVS, SVN)
  • debugging tools / profiling
  • test framework

You don't need to use Eclipse to integrate your model in Capsis. Eclipse IDE has very advanced functionalities and can be a bit complex for occasional programmers. If you are not sure that Eclipse is for you, you can still use your own editor (like Textpad or Scite). See using textpad scite


We recommend to use the last version of Eclipse : 2018-12

Install Capsis with SVN

Build Capsis

  • Capsis4 will be imported as a java project. Eclipse will manage compilation.
  • It is not necessary to edit the build path since configuration files are already under version control
  • If you need to customize compilation process
    • go in the project properties.
    • ensure that source folders on build path and default output folder are set to capsis4/bin
    • ensure that all .jar are in the build path by using the button Add jars

Run Capsis

  • Click on the Run Button.
  • You can add a particular configuration
    • Run → Run configuration
    • Select Java Application
    • New launch configuration
    • Specify the main class (here


  • If you have to press twice the run button before Capsis really starts then replace the file capsis4/.project by the following one :
<?xml version="1.0" encoding="UTF-8"?>
  • If the visu 3D do not work when you launch capsis with Eclipse under Windows, then add the path of the corresponding nativewindow_jvm.dll among your system variables. For example, for a windows 64 : /capsis4/ext/windows64/nativewindow_jvm.dll (does not work with recent version of eclipse)
documentation/using_eclipse.1553012425.txt · Last modified: 2019/03/19 16:20 by beudez