Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Scout/Tutorial/3.8/Minicrm/New Eclipse Scout Project"
(→Test the Server) |
|||
Line 41: | Line 41: | ||
== Test the Server == | == Test the Server == | ||
− | To test if the server is running properly, go to http://localhost:8080/minicrm/process | + | To test if the server is running properly, go to http://localhost:8080/minicrm/process. |
− | + | <!--{{warning|The page might show the stacktrace of a NullPointerException|Nevertheless, client-server communication of the application seems not to be affected. Please refer to the Bug <nowiki>https://bugs.eclipse.org/bugs/show_bug.cgi?id=350606</nowiki> for the workaround and any further information.}}--> | |
− | {{warning|The page might show the stacktrace of a NullPointerException|Nevertheless, client-server communication of the application seems not to be affected. Please refer to the Bug <nowiki>https://bugs.eclipse.org/bugs/show_bug.cgi?id=350606</nowiki> for the workaround and any further information.}} | + | You should see a page providing information about the server. |
− | + | ||
− | You should see a page providing information about the server. | + | |
− | + | ||
[[Image:Scout-Server-ConfigINI.PNG]] | [[Image:Scout-Server-ConfigINI.PNG]] |
Revision as of 11:13, 20 April 2012
The Scout documentation has been moved to https://eclipsescout.github.io/.
We need to create a new Scout Project and switch to the Scout Perspective. When we're done we can run the server, verify that it is running using a web browser, and we can run the client using either the Swing or the SWT user interface.
The client will not yet contain anything, but this will demonstrate that our infrastructure is working.
Once you're done, continue on to setup a SQL service.
Contents
Create a new Eclipse Scout project
If you haven't done so yet, change to the Scout Perspective.
Right-click on the folder Scout Projects and choose New Scout Project in order to create a new Eclipse Scout project.
Use eclipse.org.minicrm as the project name in the first step, click next.
In the second step, choose the outline tree with table form application template. Confirm with Finish.
If you expand the project tree it will have nodes for client, shared and server as well as nodes for the three user interfaces, ui.swing, ui.swt and ui.rap.
Start the Server
Click on the server node. This will show two products, a production product and a development product. Click the green arrow of the development product to start it.
Test the Server
To test if the server is running properly, go to http://localhost:8080/minicrm/process. You should see a page providing information about the server.
Start the Client
Click on either the ui.swing or the ui.swt node and start the development client product by clicking on the green arrow.
You should see an empty client application:
Troubleshooting
Port 8080 has to be free for this to work. It is also possible to use another port, to do so you have to change the line org.eclipse.equinox.http.jetty.http.port=8080 in the config.ini of the server product and the server.url= in each client interface (rap, swt ,swing).