The substring updater class extracts a portion of a version number based on start and length parameters and returns the value.

  <build mode="concat">
    <fixed value="6" />
    <substring start="1" />

In the example shown above, the build component will be set to 6 followed by the existing build number, excluding the first digit. The substring updater class also supports child updater classes.


Attribute Description
start The zero-based start index to begin taking digits.
length The maximum number of digits to take.
mode Defaults to concat. (See Configuration)

Last edited Jan 3, 2013 at 6:53 AM by trwolfe, version 1


No comments yet.