SciCoDE project: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 15: | Line 15: | ||
==Writing the SIDL description== | ==Writing the SIDL description== | ||
The next step is to define the Hello World components. The application will consist of three parts: | |||
*a user interface, which will be used to enter the user name | |||
*a kernel, which will merge the user name with the "hello world" string | |||
*a visualization, which will print the whole string on the console. | |||
Revision as of 15:33, 4 May 2011
Creating a simple project in sciCoDE
In this section we will create the Hello World project in sciCoDE. As implementation language we are going to use java.
Creating the project
- Inside Eclipse select the menu item File > New > Project.... to open the New Project wizard
- Select sciCoDE Project then click Next to start the Open the new sciCoDE project wizard New Java Project wizard:
- On this page, type "HelloWorld" in the Project name field, and then click Finish.

File:Project 1.png
- On this page, type "HelloWorld" in the Project name field, and then click Finish.
- In the Package Explorer view, expand the HelloWorld project. The project is structured as followed:
- src : contains the main "sci"-file, which stores the state of the workbench and a sidl file with the SIDL description of the components.
- components : contains the java or c++ sources of the components in this project
- includes : contains dependent SIDL files
- import : a folder where scicode stores the files of imported components
Writing the SIDL description
The next step is to define the Hello World components. The application will consist of three parts:
- a user interface, which will be used to enter the user name
- a kernel, which will merge the user name with the "hello world" string
- a visualization, which will print the whole string on the console.
