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 \\
;term:definition text
At line 17 removed one line
{{{KnowWE-App/target/KnowWE-APP-0.X-SNAPSHOT/KnowWEExtension/css}}}
At line 19 changed 10 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__.
%%tags
howto Javascript
%
!!Working with browser-integrated editing tool