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.7/Minicrm/New Eclipse Scout Project"
m (→Start the Server) |
m (→Start the Client) |
||
Line 51: | Line 51: | ||
[[Image:Minicrm.jpg|Minicrm.jpg]] | [[Image:Minicrm.jpg|Minicrm.jpg]] | ||
− | {{note|A Different Language|If you want to run the client in a different language than your system's default, you might have to fiddle with the ''configuration''. From the ''Run'' menu, choose ''Debug Configurations...'' and switch to the ''Arguments'' tab. There, replace <tt>-nl ${target.nl}</tt> with <tt>-nl en_US</tt>. Click the ''Apply'' button and the ''Debug'' button. Eclipse will remember this setting as long as you keep reusing the Run and Debug menus (using the two green buttons in the tool-bar to run products). If you use the ''Scout Object Properties'' tab, this language setting will revert to the default.}} | + | {{note|A Different Language|If you want to run the client in a different language than your system's default, you might have to fiddle with the ''configuration''. From the ''Run'' menu, choose ''Debug Configurations...'' and switch to the ''Arguments'' tab. There, replace <tt>-nl ${target.nl}</tt> with <tt>-nl en_US</tt> (if you're working with a in a German locale and need to make screenshots for the wiki, for example ;)). Click the ''Apply'' button and the ''Debug'' button. Eclipse will remember this setting as long as you keep reusing the Run and Debug menus (using the two green buttons in the tool-bar to run products). If you use the ''Scout Object Properties'' tab, this language setting will revert to the default.}} |
Revision as of 05:26, 8 October 2010
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 contain anything, but this will demonstrate that our infrastructure is working.
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 Scout project.
Use eclipse.org.minicrm for the project name.
If you expand the project tree it will have nodes for client, shared and server as well as nodes for the two user interfaces, ui.swing and ui.swt.
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. To log in, use admin as username and manager as password.
You should see a page with information about the server. The login information is defined in the config.ini file of the server product. Have a look: click on the open config.ini link. Note the BasicSecurityFilter settings.
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.
When asked for a login, enter the same login information as before: username admin password manager. Or use any other username/password combination from the config.ini.
You should see an empty client application: