Eclipse scout – development environment

Eclipse scout

Java development framework (HTML5) for rapid development of line of business (LOB) apps.

To download it , go to eclipse packages download page and select Eclipse for Scout Developers package.

2017-01-17-21_54_17-eclipse_scoutUnblock ZIP file

Before you unzip it somewhere, try to unblock zip file first, you will avoid some difficulties later on. Right click on zip file and under Security section check “Unblock”.

2017-01-17-22_18_25-eclipse-scout-neon-2-win32-x86_641-properties

Eclipse workspaces

Each scout project consist of a at least few sub-projects.  It will become very crowded very soon if you do not decided to work with multiple workspaces. I open new workspace for each business app, later I will automate cross workspace configurations with Oomph.

Eclipse – git integration

Read this great tutorial for git integration.

For default repository folder define eclipse variable: ${workspace_loc}/git, it will create separate repository for each workspace.

Scout hello world application for version 6.1.

If you create new Scout Hello World sample application and try to run it, at least in current moment in time (Eclipse.Neon.2, with default scout SDK version 6.1.0.M4), application doesn’t work.

After run server and client “dev” project in eclipse, open http://localhost:8082/ and application doesn’t show main application page, just show something without any style and no javascript support.

Looks like generated hello world wizard doesn’t generate latest  project styles (less styles) with proper javascript support as required with 6.1. version of scout SDK. Probably because the version of scout SDK and eclipse tooling (Eclipse version Neon.2) are not in sync.  I didn’t won’t to change to unstable eclipse version just because of that and maybe that won’t solve the problem.

Anyway, I repair hello world example based on “Contacts” demo application and publish corrected empty hello world sample on  github project: scout_empty.

To run “empty” example, open “empty.all.app.dev” project, select “[webapp] dev server+ ui.launch” file  and with right click “Run as” launch configuration file.

Open http://localhost:8082/ in browser and you will get something like this:

2017-01-17-23_27_34-empty-example

Scout application architecture and documentation

To understand scout application architecture download scout documentation in PDF or read Beginner guide and Technical guide.

 

Key binding in Eclipse and Slovenian keyboard

AltGr+B => doesn’t enter “{” character in java editor, it is “Skip all breakpoints” binding. (Ctrl+Alt+B).

AltGr+G => doesn’t enter “]” character , it is “Find Text in Workspace” binding. (Ctrl+Alt+G).