Working with a repository and i Projects

You can use a repository, such as ClearCase® from IBM®, with i Projects. A repository can store projects containing your local source files. Such repositories typically provide configuration management and version control, which allows you to keep track of all changes to your project over time.

However, few repositories are aware of IBM i file formats, and source code comparisons done in the workbench will not ignore the sequence numbers and change dates that are present in source file members. This can result in many mismatches when doing compares between a current member and its previous editions kept in a repository. i Projects provide preferences that automatically remove these fields when you retrieve members from an IBM i source file and place them into a project. Since these fields are no longer present in the editions of the source in the repository, source comparison tools work properly when comparing the i source file to a source file from the repository.

In addition you can select the Enable add and remove sequence number actions option that allows you to remove and regenerate these fields if you need to do this manually on members that already exist in projects. Go to Window > Preferences > i Projects to select the option.

The i Projects preference page also provides an option to control warnings generated for members that look like they are not in compliance with the download setting.

Sequence number and change date fields are always regenerated when a member is pushed to an i source physical file for a build.


Feedback