Skip to Content

Create a Multi-Target Application Project and Modules in the Web IDE (Forecast App)

test
0 %
Create a Multi-Target Application Project and Modules in the Web IDE (Forecast App)
Details

Create a Multi-Target Application Project and Modules in the Web IDE (Forecast App)

August 7, 2020
Created by
September 6, 2018
Learn how to create a Multi-Target Application Project and link it to your GitHub repository

You will learn

  • Create a Multi-Target Application Project
  • Save your Web IDE project in a GIT repository

Prerequisites

Step 1: Create a GitHub repository

Open the GitHub https://github.com/ home page in your browser and either sign in or sign-up for a new account.

Once logged in, on the top right corner click the GitHub icon, and select New repository:

GitHub

Enter forecast as Repository Name, check Initialize this repository with a README, then click on Create Repository.

GitHub

Once the repository is created, get the repository web URL from Clone with HTTS field by clicking on Code.

GitHub

Save this URL locally or keep the GitHub repository page open.

Follow the instruction below, then click on Validate.

Paste your Git repository URL.
×
Step 2: Set your Preferences

Open the Web IDE and login using the XSA_DEV credentials.

As a reminder the default URL for the Web IDE is https://hxehost:53075.

A link to the Web IDE can also be found on the XSA Controller web page at https://hxehost:39030.

In Web IDE switch to the Preferences tool using the Web IDE Preference icon.

Enable Extensions

Select Extensions and turn on the following, if needed:

  • Tools for SAP HANA Database Development
  • Tools for Node.js Development
  • Layout Editor
  • SAP HANA Database Explorer

Click on Save. The Web IDE will need to refresh.

Web IDE

Set your Git Committer

Click on Git Committer and select Use the following user name and e-mail:. Enter your Git email address and the user name.

Web IDE

Click on Save.

Log on to answer question
Step 3: Create your project

In Web IDE switch to the Development tool using the Web IDE Development icon.

Web IDE

Open the Project template wizard using the File > New > Project From Template menu.

Select Multi-Target Application Project, then click on Next.

MTA

Set your project name to forecast, then click on Next.

MTA

Leave the MTA default details, set the Space to development.

Click on Finish.

MTA

Now, right click on the forecast project folder and select Build from the drop down menu or use the Build menu to build your project.

The console should output the following:

2:35:40 PM (Project Space) Workspace settings set successfully
2:41:13 PM (Builder) Build of /forecast started.
...
2:41:16 PM (Builder) Build of /forecast completed successfully.

Note:

If you get the following error: Could not start the build because no builder is installed in your space, it probably mean that the builders are not deployed in the development space.
 
You will need to complete the first step (Verify the builders deployment) from the Check your environment tutorial.

Log on to answer question
Step 4: Initialize your local repository

Before linking your project to your GitHub repository, you will need to initialize a local repository.

Right click on the forecast project and select Git > Initialize Local Repository.

Web IDE

The console should output the following:

...
2:40:14 PM (git) Project : Initialize repository completed successfully

Right click on the forecast project and select Project > Project Setting.

You should see the new Git Repository section added there under Project category. Make sure the user.email is not set to null. If so, update the value with your email address.

Log on to answer question
Step 5: Set the Git Remote URL

Right click on the forecast project and select Git > Set Remote.

Web IDE

Enter the URL of previously created GitHub forecast repository , and click on OK.

Web IDE

Enter your GitHub credentials, if requested, and click on OK.

Note:

Make sure you use a token authentication, if a two-factor authentication is enabled in your GitHub account!

Web IDE

Click on OK on the Changes Fetched window.

Log on to answer question
Step 6: Commit your changes

On the icon bar located on the right side of the Web IDE, click on the Git Pane icon Web IDE.

Web IDE

Click on Pull Web IDE.

Click on Stage All, enter a Commit message initial commit, then click on Commit and Push > origin master.

Log on to answer question

Next Steps

Back to top