Table of Contents

Working with configurations and platforms


Prerequisites

Ant or Maven project is opened in Visual Studio. You can find instructions how to create an Ant project in this section or a Maven project in this section.

Actions

IntegraStudio also makes use of configurations and platforms, which are standard Visual Studio concept available for all projects kinds. This abstraction is however foreign to Java build systems like Ant or Maven. Therefore IntegraStudio provides configurable mapping between Visual Studio's configurations/platforms and Maven or Ant's facilities.

Currently IntegraStudio supports configurations and platforms in the following contexts:

Selecting current configuration and platform

There are two ways to select current configuration and platform. Both are generic Visual Studio features and you are likely already familiar with them.

The quickest methods is to use two selector boxes visible in the Visual tudio toolbar:

You can also open the Configuration manager and choose from there:

The choice is made for current solution. There is also a mapping from solution configuration and platform to the project configuration and platform. It is also standard Visual Studio concept and is done by using the Configuration manager:

The selector boxes select the solution configuration / platform to edit. By clicking on the list, you can specify corresponding project configurations and platforms. This is done exactly the same way for IntegraStudio projects, as for any standard Visual Studio project type (e.g. C++ or C#).

Setting Ant options for current configuration and platform

First, you need to set current configuration and platform using one of the above methods. Next, open the Project properties and go to General tab:

You can find a description of these options in this section.

Setting Maven options for current configuration and platform

First, you need to set current configuration and platform using one of the above methods. Next, open the Project properties and go to IDE tab:

You can find a description of these options in this section.

Setting debugging options for current configuration and platform

First, you need to set current configuration and platform using one of the above methods. Next, open the Project properties and go to Debug tab:

You can find a description of these options in this section.

Creating new configurations

Creating new configurations is done the same way as for regular Visual Studio projects. Click on the arrow button next to the configuration's name and choose New...:

Creating new platforms

Creating new platforms for IntegraStudio projects is different than for regular Visual Studio projects. For the latter ones, the set of available platforms is predetermined and you can choose only among these. For IntegraStudio projects, you can add arbitrary platforms same way as configurations. Your platforms may match platforms for native projects (if you develop mixed Java/native projects) or can be used for other purposes. It is up to you, IntegraStudio does not force any specific approach to platforms.

To create a platform, click on the arrow button next to the current platform's name and choose New...:

The standard Visual Studio window will appear. Leave Create new platform... setting in the upper selector box, choose the source platform to duplicate and click OK.

Another window will appear, asking you for the name of the platform. Enter it and click OK.

Now you can choose the newly added platform from the list:

Table of Contents


Copyright (C) 2014-2016 SOFT-ERG. All rights reserved.