View Source

{section}
{column}

h1. Introduction

It sometimes happen one has to modify an existing service assembly.
But unzipping two archives, making the modifications and zipping again is seriously painful.

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.
Once selected, the service assembly is introspected and a list of projects to create is proposed.
This list includes a Service Assembly (SA) project and one or several Serivce-Unit (SU) projects.

!PetalsStudio_ImportSa_2.jpg!

\\
Check the projects you want to create.
If a project already exists, it is possible to overwrite it by setting _true_ in the *Overwrite* column.

For each SU project, it is possible to edit the properties of the target component (component name, component version and component type).

!PetalsStudio_ImportSa_3.jpg!

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