Skip to content

Warn about unrecognized build task input parameters #1

@Sipkab

Description

@Sipkab

If an input parameter is specified for a build task, and that task doesn't recognize that parameter, a warning should be issued during build.

This should be done by enhancing the TaskUtils.initParametersOfTask method to warn about the unrecognized parameters.

This enhancement is only applicable if a task uses the default parameter initializing behaviour specified by TaskUtils (I.e. the @SakerInput and related annotations). If a task initializes the parameters manually by overriding ParameterizableTask.initParameters, then it is the responsibility of the task to issue warnings.

The issued warnings should report the position of the build task in the script.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions