This page (revision-22) was last changed on 17-Dec-2012 21:30 by Tim Baier-Loewenstein

This page was created on 17-Dec-2012 09:21 by Daniel Zügner

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
22 17-Dec-2012 21:30 1 KB Tim Baier-Loewenstein to previous
21 17-Dec-2012 17:40 1 KB constin to previous | to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 1 changed 2 lines
!!!How to develop Javascript in KnowWE at runtime
Having to restart and rebuild KnowWE after every minor change when developing Javascript (or CSS) can be very time-consuming. There is a simple way to be able to develop without restarting.
!!!How to develop javascript in KnowWE without restarting after every change
At line 4 changed 3 lines
!!Step by step:
*In your IDE, navigate to:
{{{KnowWE-App/target/KnowWE-APP-0.X-SNAPSHOT/KnowWEExtension/scripts}}}
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.
At line 8 changed 6 lines
*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 editor
{{{Open with Text Editor}}}
*To edit the file with Eclipse's built-in plain text editor.
!!Working on file in target folder
At line 15 changed one line
__Note__: CSS files are located in \\
*in your IDE, navigate to:
>>''KnowWE-App/target/KnowWE-APP-0.X-SNAPSHOT/KnowWEExtension/scripts''
At line 17 changed one line
{{{KnowWE-App/target/KnowWE-APP-0.X-SNAPSHOT/KnowWEExtension/css}}}
*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.
At line 19 removed 5 lines
%%(color: red)
__Important:__
%%
When finished editing or before you restart KnowWE, you __have to copy and paste the file's content into the respective file in your plugin project!__
If you don't, the file you edited will be __replaced with the old file from your plugin__.
At line 19 added 2 lines
!!Working with browser-integrated editing tool
At line 27 changed one line
howto Javascript
howto