Why derived resources are not checked in
Why are certain IBM Rational Application Developer for WebSphere Software files not automatically checked into the source control repository?
The files not automatically checked into the source control repository are marked as "derived" within Rational Application Developer. You can check the status of a file, by right mouse clicking on the file to bring up the Context Menu and selecting Properties. In the Info section, just below "Read Only" there is another checkbox: "Derived".
This is an Eclipse provided feature. Here is an excerpt from the Eclipse Help:
Many resources get created in the course of translating, compiling, copying, or otherwise processing files that the user creates and edits. Derived resources are resources that are not original data, and can be recreated from their source files. It is common for derived files to be excluded from certain kinds of processing.
For example, derived resources are typically not kept in a team repository, since they clutter the repository, change regularly, and can be recreated from their source files. It is not practical for team providers to make decisions about which files are derived. The resource API provides a common mechanism for plug-ins to indicate the resources they create that are derived.
Typically Rational Application Developer developers mark generated files with the "derived" flag, and repository providers check the flag and do not check those files into the repository. See Related Information Item: EJB Deploy generated code not checked in .
As of WebSphere Studio Application Developer v5.1.2, the File Export as a Project Interchange Format (PIF) wizard was enhanced with the checkbox: Include derived files. The PIF is another alternative for sharing projects between workspaces.
More support for:
Rational Application Developer for WebSphere Software
Software version: 6.0, 22.214.171.124, 6.0.1, 126.96.36.199, 188.8.131.52, 7.0, 184.108.40.206, 220.127.116.11, 18.104.22.168, 22.214.171.124, 126.96.36.199, 188.8.131.52, 184.108.40.206, 220.127.116.11, 18.104.22.168, 22.214.171.124, 7.5, 7.5.1, 7.5.2, 7.5.3, 7.5.4, 7.5.5, 126.96.36.199
Operating system(s): Platform Independent
Reference #: 1221651
Modified date: 16 February 2010
Translate this page: