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 one line
!!!How to develop javascript in KnowWE without restarting after every change
!!!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.
At line 3 changed one line
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.
!!Step by step:
*In your IDE, navigate to:
{{{KnowWE-App/target/KnowWE-APP-0.X-SNAPSHOT/KnowWEExtension/scripts}}}
At line 5 changed one line
!!Working on file in target folder
*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.
At line 7 changed one line
;term:definition text
__Note__: CSS files are located in \\
At line 17 added one line
{{{KnowWE-App/target/KnowWE-APP-0.X-SNAPSHOT/KnowWEExtension/css}}}
At line 10 changed one line
!!Working with browser-integrated editing tool
%%(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
%