Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Scout/Tutorial/3.7/Minicrm/New Eclipse Scout Project"

< Scout‎ | Tutorial‎ | 3.7
(Create a new Eclipse Scout project: Added a note with some background information.)
(Replaced content with "The Scout documentation has been moved to https://eclipsescout.github.io/.")
 
(35 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{note|Scout Tutorial|This page belongs to the [[Scout/Tutorial/Minicrm Step-by-Step|Minicrm Step-by-Step Tutorial]]. It explains how setup a new Eclipse Scout project. You need to {{ScoutLink|Tutorial|Installation and Setup|install the Scout SDK}} in order to continue.}}
+
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 contain anything, but this will demonstrate that our infrastructure is working.
+
 
+
{{tip|New Workspace|Make sure you start with a new workspace.}}
+
 
+
== 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.
+
 
+
[[Image:NewProjectScout.jpg||The context menu to create a new Scout Project]]
+
 
+
Use ''eclipse.org.minicrm'' for the ''''project name'''.
+
 
+
[[Image:ProjectWizard.jpg||The wizard to create a new Scout Project]]
+
 
+
{{note|Project Name, Project Alias|The project name will be used for all the '''plugins''' created. They'll get names like <tt>eclipse.org.minicrm.client</tt> and <tt>eclipse.org.minicrm.server</tt>. The project alias will be used for the servlet running on the server. Once you started the server you'll be able to contact it at <tt>http://localhost:8080/minicrm</tt>. Thus, the alias will be visible to the outside world.}}
+
 
+
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''.
+
 
+
[[Image:Project.jpg]]
+
 
+
{{warning|Issues with Mac OS 10.6 and Swing Client|If you try to start the swing client in Mac OS 10.6, this might fail. To fix this go to the run configuration of the swing client. In the tab Arguments you have to remove <tt>-ws ${target.ws}</tt> from the program arguments and <tt>-Dorg.eclipse.swt.internal.carbon.smallFonts</tt> from the VM arguments.}}
+
 
+
== Start the Server ==
+
Click on the server node and start the ''development'' server product by clicking on the green arrow.<br/>[[Image:ServerProduct.jpg|left]] <br clear="all" />
+
 
+
== 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. There you should see a page with information about the server. The login information is defined in the config.ini file of the server product, click on ''open product'' and then change to the ''configuration'' tab in order to open it.<br/>[[Image:ServerProductConfiguration.jpg|left]] <br clear="all" />
+
 
+
== 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, admin/manager (or any other user/password pair from the config.ini). An empty application window should appear. <br/>
+
[[Image:Minicrm.jpg|left]] <br clear="all" />
+

Latest revision as of 07:25, 18 March 2024

The Scout documentation has been moved to https://eclipsescout.github.io/.

Back to the top