Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Use case A - client update only

When you have made a client code update only.

Hosted Mode

During most of your development, your GWT code runs in "Hosted Mode" that lets you debug like a normal Java application from your Eclipse IDE.

...

Tip
titleTo launch a hosted mode session with OpenSyllabus from Eclipse

Your startup file is OsylEditorEntryPoint-shell.cmd (select it, right-click on it + Open With + Default Editor). It should launch a program from the console.

Deployment in Web Mode

When you have made a client code update only. Once tested in "Hosted Mode", you can compile your Java source code to JavaScript the and deploy your Webapp.

In this use case, you have to invoke the JavaScript compilation then move the compiled JavaScript to the backend code. Also if your backend code is already deployed in Tomcat, just replace the JavaScript code by the new one.

Tip
titleTo compile your Java source code to JavaScript

Just click on the Compile/Browse button in the embedded browser window Image Added
Or open the startup file OsylEditorEntryPoint-compile.cmd (select it, right-click on it + Open With + Default Editor). It should launch a program from the console.

Use case B - backend update only

...