View Source

{section}
{column}

h1. Introduction

Sometimes, one may have to modify an existing service assembly.
But unzipping two archives, making the modifications and zipping again is seriously annoying.

Petals Studio provides an import wizard, that allows to create a set of Service-Unit and Service Assembly projects from an existing service assembly. Once the projects have been created, it is possible to modify the resources inside the studio and to package the service assembly again.

{column}
{column:width=350px}
{panel:title=Table of contents}{toc}{panel}
{column}
{section}

h1. Concretely

To import a service assembly into your work space, click *File > Import > Petals > Service Assembly*.

!PetalsStudio_ImportSa_1.jpg!

\\
Click *Next*.
A new page appears.

Specify the service assembly location, using the *Browse...* button.
You can select several service assemblies at once. The only requirement is that they must be in the same directory.

Once selected, the service assembly is introspected and a list of projects to create is proposed.
This list includes Service Assembly (SA) and Serivce-Unit (SU) projects.

!PetalsStudio_ImportSa_2.jpg!

\\
Select the projects you want to create.
If a project already exists, it is possible to overwrite it.
For each SU project, it is possible to edit the name of the target component. This information is important for the export of the project.

\\
Click *Finish* to begin the import operation.
The created projects appear and are selected in the projects explorer.