Configuring the Use of a Shared Library

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (8)

View Page History
A component can use a shared library if, and only if, it is associated with it.
Such an association can be done through several ways:
* With the [Petals Maven plug-in|petalscomponents:Maven Petals Plug-in ] (useful in continuous integration).
* By hand: it consists in adding an element in the jbi.xml of the component.
* With the studio.
\\
Type in an URL where to download a Petals component or select it on your local hard drive.
Then, define the location of the *output component*, the one that will be configured to use the selected shared libraries.

!petals-studio-helpers-comp-with-sl-23.jpg!

\\
You can either select a shared library on your local hard drive (*Add a File...*)

!petals-studio-helpers-comp-with-sl-34.jpg!

\\
... or you can specify an URL where to download it (*Add an URL...*).

!petals-studio-helpers-comp-with-sl-45.jpg!

\\
Shared library information will be determined by introspecting the artifact.
Or you can also set manually this infoirmation by clicking *Specify Manually*.

!petals-studio-helpers-comp-with-sl-56.jpg!

\\
Once everything is set in the dialog, click *Finish*.

!petals-studio-helpers-comp-with-sl-67.jpg!