Singe GobyWeb 2.1, resources plugins can define artifacts.

Configuration

In the following resource config.xml fragment:

<resource>...
<artifacts>
<artifact id="INSTALL_DIR" order="1"/>
</artifacts>
</resource>

We defined one artifact with id INSTALL_DIR and installation order 1. When an artifact is defined in this manner, the resource plugin must also provide an install.sh script.

Script

This is a stub script for resource artifacts:

function plugin_install_artifact {
    .. artifact installation logic goes here.
}
function get_attribute_values {
    .. attribute logic goes here.
}