Skip to main content
Jump to: navigation, search


Revision as of 23:36, 9 April 2010 by David (Talk | contribs) (initial version)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Check and fix-up licenses tool

This tool is a very simple aide to make license properties and files consistent in features. See bug 306627 for some history and details. In short, in addition to the Eclipse requirement of having the right SUAs, etc., in features, beginning with the Helios release, we want them to be perfectly consistent, to improve ease-of-use of the Installation UI and make the license acceptance more meaningful.

It works on (only) workspace files. It finds all projects that are features, by looking for those that contain a "feature.xml" file. Then it seems if there is a "" file. If so, it checks for a "license" property there, and compares its value with the value of the standard version. If different, it will update the file with the correct license text. It leaves other parts of the file untouched (so as leaves in existing comments and white space.

Installation Repository

You can install "WTP Releng Tools" from this repository.

CVS location of source code


= Known limitations

Some key data is hard code. For example, the license key must be, literally, "license". There's no reason it has to be, but in my experience, they all are named "license". If someone used something else, like "licenseStr" then the program would been to be made better.

The Eclipse preference for end-of-line (EOL) is not honored, and the PD EOL is used for simplicity.

Back to the top