We provide a whole palette of Example applications covering nearly all Tabris features. The Tabris screencasts are also made up from these demos.
Clone the Repository
The first step is to clone the official Tabris demos repository:
git clone firstname.lastname@example.org:eclipsesource/tabris-demos.git
After the cloning was successful, you can import this project into Eclipse.
Please note: we have used Eclipse to build the demos. If you don’t want to install Eclipse, please jump directly to the Build section on this page.
Setting up Eclipse
After importing the project, you need to set the target platform which is included in the project. The file is called tabris.target. Just open the file in Eclipse and press the ”set as target platform” link in the top right.
Run from within Eclipse
Open the ”Run Configurations” menu entry from the ”Run” menu in your Eclipse IDE and select ”Tabris Demos” from the OSGi Framework element. Run the configuration. You should get a console message that a connector has started on port 9090.
To ensure everything is working as expected, point your browser to:
https://localhost:9090/ui. You should see a UI rendering inside the browser.
Choose the demo
This demo application contains several Tabris demos at once. To access a specific one, you have to define the URL for it. The following applications are currently available:
There are some build projects located in the build directory of the cloned repository. The build compiles the demo project into a war file that can be deployed on a servlet container. The build uses Maven Tycho and can be launched if Maven 3 is available. Just step to the
build/com.eclipsesource.tabris.demos.build folder and run
mvn clean verify. After the build has succeeded you will find the .war file within the
Alternatively, you can use the Eclipse m2e Tooling and run the launch configuration located in