Installing sMash/Project Zero into RBD 7.5.1
ChrisLaffra 060000KCEQ Comments (3) Visits (2257)
Download the latest sMash CLI (command line interface) from the following location:
The runtime is about 1.1MB. Make sure to remember where you unzip your sMash runtime as you will need it when enabling sMash in RBD 7.5.1.
After unzipping add the zero directory and the zero bin directory, such as d:\zero and d:\zero\bin, to your Windows PATH variable (click *Start > Control Panel > System > Advanced > Environment Variables…*):
Installing sMash Eclipse Support into RBD 7.5.1Installing sMash into RBD is very simple and straightforward three-step process.
Step 1: Launch RBD 7.5.1 and run the Help > Software Updates command.
Step 2: Choose the Available Software tab and click Add Site. In the dialog enter the
Then hit OK. After the eclipse instance visits the update site, select the features to install, and hit the Install button:
Accept the licensing terms and wait for the install to finish (which happens in the background. You will see progress going from 45% to 48% to 54% to 67% to 92%, etc:
In total, installation should take around 2 minutes or less. Step 3: After finishing, you are asked to restart the IDE. We recommend you do so:
After restarting, run Step 4: run Window > Preferences find the WebSphere sMash category, and enter the directory where you unzipped the CLI. The CLI installation will be verified, taking about 1 minute, and you will end up with the following dialog:
Trying out a WebSphere sMash Demo Application
Run the File > New > Project command and create a new WebSphere sMash Sample Application (and not just a WebSphere Smash Application, or you have to do a lot more work yourself):
Name the project, and hit the Finish button, allow sMash to look into its repository, and then select the employee sample:
You may see the sMash wizard blocking the UI for about a minute. Eventually, the following project is created:
A complete description of the sMash Employees Demo is given here:
After creating the project, we have to initialize the database. Open a DOS command prompt, locate the workspace directory (in the sample below it is “d:\
After running the SQL, the you are ready to launch the demo on sMash. To run your new sample application, right-click the project and click Run As > WebSphere sMash Application. A message is displayed in the console indicating that the application was started on port 8080.
Open a browser and point it to http
Take a look at the Eclipse console view to see your application messages:
You can click on the red button to terminate your application.