How to develop javascript in KnowWE without restarting after every change#

Having to restart and rebuild KnowWE after every minor change when developing Javascript (or CSS) can be very time-consuming. There are two simple ways to be able to develop without restarting.

Working on file in target folder#

  • in your IDE, navigate to:
>>KnowWE-App/target/KnowWE-APP-0.X-SNAPSHOT/KnowWEExtension/scripts
  • in this folder you find the relevant .js files (if they were integrated into the plugin properly before)
  • right click the file you wish to edit and select
>>Open with System Editor
  • to edit the file with your system's default editoror
>>Open with Text Editor
  • to edit the file with Eclipse's built-in plain text editor.

Note: CSS files are located in

>>KnowWE-App/target/KnowWE-APP-0.X-SNAPSHOT/KnowWEExtension/css

Working with browser-integrated editing tool#