5.1.1.5. BuildSets

<buildSets/> is a sub element of <personel-iom-project>.

It can contain one or more <buildSet/> elements, which can be used to define themed groups of files that enable partial generation of the project. For example, one might choose to only generate the files that constitute the REST api (select a folder), or one might only want to generate Javascript files (choose a file type).

Listing 5.6 <buildSets> in project file
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
<personal-iom-project>
        ...

        <buildSets>
                <!--Angular2 buildsets-->
                <buildSet name="Typescript" description="apenootjes">
                        <file name="*.ts"></file>
                </buildSet>
                <buildSet name="html and Typescript">
                        <file name="*.html"/>
                        <file name="*.ts"/>
                </buildSet>
        <buildSets>

        ...
</personel-iom-project>

attributes for <buildSets/>

There are no attributes for <buildSets/>.

Sub elements of <buildSets/>

Table 5.4 <buildSets/> sub elements

Name

Details

Number

buildSet

Each buildSet sub-element defines an isolated part of the project to be generated.

0-more

Sub element buildSet (Eye S singular)

Table 5.5 <buildSet/> attributes

Name

Details

name

Name of the buildSet

description

Description of the buildSet

Table 5.6 <buildSet/> sub elements>

Name

Details

Attributes

Number

package

Question S

name, path

0 or more

xml

Question S

name, path

0 or more

file

Question S

name, path

0 or more