Project

General

Profile

Actions

Bug #2523

closed

We need a mechanism to require properties to be set in build.properties

Added by Michael Lee over 18 years ago. Updated over 18 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
misc
Target version:
Start date:
08/24/2006
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
2523

Description

We used to compare build.properties with build.properties.compare and anything that was in the latter but not the former threw an error at build time. This was really useful as there is always some property that doesn't get set and it throws things oddly.

If there is a better way of accomplishing it than with build.properties.compare, let's do the better way, else we could bring that back. (Then decide what is really required to set in build.props)

Actions #1

Updated by Michael Lee over 18 years ago

Added a set of

<fail unless="[propertyName]" message="'[propertyName' is required in build.properties" />

statements in /vegbank/build.xml

this should do the job.

Actions #2

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 2523

Actions

Also available in: Atom PDF