28.01.2013 Views

SAP HANA Developer Guide - Get a Free Blog

SAP HANA Developer Guide - Get a Free Blog

SAP HANA Developer Guide - Get a Free Blog

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4.2.2 Creating a Repository Workspace<br />

A workspace is a local directory that you map to all (or part) of a package hierarchy in the <strong>SAP</strong> <strong>HANA</strong> repository.<br />

When you check out a package from the repository, <strong>SAP</strong> <strong>HANA</strong> copies the contents of the package hierarchy to<br />

your workspace, where you can work on the files..<br />

Before you can start work on the development of the application, you need to set up a workspace, where you store<br />

checked-out copies of your application’s source-code files.<br />

To create a new workspace in the <strong>SAP</strong> <strong>HANA</strong> studio, perform the following steps:<br />

1. Open the <strong>SAP</strong> <strong>HANA</strong> studio.<br />

2. Open the <strong>SAP</strong> <strong>HANA</strong> Development perspective.<br />

3. Choose the <strong>SAP</strong> <strong>HANA</strong> Repositories view.<br />

4. Choose Create Workspace…<br />

The Create Workspace… button is located in the top right-hand corner of the <strong>SAP</strong> <strong>HANA</strong> Repositories view.<br />

5. Specify the workspace details. In the Create New Repository Workspace dialog, enter the following<br />

information and choose Finish:<br />

a) Specify the <strong>SAP</strong> <strong>HANA</strong> system, for which you want to create a new workspace.<br />

b) Enter a workspace name, for example the name of the <strong>SAP</strong> <strong>HANA</strong> system where the repository is located.<br />

To avoid the potential for confusion, it is recommended to associate one workspace with one repository.<br />

c) Specify where the workspace root directory should be located on your local file system, for example: C:<br />

\users\username\workspaces<br />

The new workspace is displayed in the <strong>SAP</strong> <strong>HANA</strong> Repositories view.<br />

Note: Although the packages and objects in the chosen repository are visible in the <strong>SAP</strong> <strong>HANA</strong><br />

Repositories view, you cannot open or work on the objects here. To work on objects, you must create<br />

a project and use the Project Explorer view.<br />

4.2.3 <strong>SAP</strong> <strong>HANA</strong> Studio Projects<br />

Before you can start the application-development workflow, you must create a project, which you use to group all<br />

your application-related artifacts.<br />

Projects group together all the artifacts you need for a specific part of the application-development environment.<br />

A basic project contains folders and files. More advanced projects are used for builds, version management,<br />

sharing, and the organization and maintenance of resources.<br />

Projects enable multiple people to work on the same files at the same time. By committing project-related files to<br />

the repository and activating them, you enable team members to see the latest changes.<br />

You can share and unshare projects. Sharing a project associates it with a particular package in the repository<br />

linked to a particular workspace. The act of sharing the project sets up a link between the workspace and the<br />

repository and enables you to track and synchronize local changes with the versions of the objects stored in the<br />

repository. When a project is shared, it becomes available to other people with authorization to access to the<br />

repository, for example, colleagues in an application-development team. Team members can import a shared<br />

project and see and work on the same files as the creator of the project.<br />

Note: Always unshare a project before deleting it.<br />

<strong>SAP</strong> <strong>HANA</strong> <strong>Developer</strong> <strong>Guide</strong><br />

Setting Up Your Application<br />

P U B L I C<br />

© 2012 <strong>SAP</strong> AG. All rights reserved. 39

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!