HomeUser GuideDevelopmentDownloadLegal

Development: buildinfo

Description

Task to interactively create build information and versioning files, as well as changelog entries.

This task will startup a Swing-GUI to edit a changelog.xml file. And it will create versioning (or build information) files in various formats (Java property files, XML files, C-Style Headerfiles) according to the changelog information.

Parameters

This task supports the following parameters.

Attribute Description Required
changelog Location of the changelog file.
Note: This file will be read and written.
Yes.
logtypes Comma separated list of log types. No; defaults to "Planning", "Alpha", "Beta", "Release"
copyright Copyright string to insert in changelog and versioning files. No; defaults to MuliFex copyright string.

Nested Elements

This task supports the following nested elements.

section

Used to specify a build artifact or changelog section.

For every section a build information or versioning file is created.

Attribute Description Required
name Sets the name of this section. Yes.
type Sets the type of this section.
The following types are currently supported:
  • property to create Java property files.
  • header to create C-style header files.
  • xml to create XML versioning files.
Yes.
buildfile The build file to create. Yes.
prefix Prefix to use in versioning file. Depends on type of section.
module Module name. Depends on type of section.

Examples

<dll changelog="changelog.xml">
  <section
    name="My Module"
    type="XML"
    buildfile="mymodule-version.xml"
    module="mymodule"
    prefix="mymodule"
  />
<changelog>