Previous Topic: Find Version - ResultsNext Topic: Use Find Version Results


Examples

The following examples provide more insight into the filters usage that is based on your selection for the package or package group.

Example 1:

This example depicts the use case when you select the package option.

Follow these steps:

  1. Maintain an SCM project with the Development, Test, and Release views.
  2. Create pack1, pack2, and pack3 as three packages in the Development view of the project.
  3. Maintain few versions of a sample.java file in the Development view as follows:
  4. Promote pack3 to the Test state.
  5. Create another trunk version in the Test view as sample.java(4) in pack3.
  6. Promote pack3 to the Release state.
  7. Create another trunk version in the Release view as sample.java(5) in pack3.
  8. Select pack2 package in the Package drop-down list.

    The following table displays list of packages that display in combination of Version/View filters usage:

Filters

Packages

Latest in view

sample.java(3)-N

Latest in package

sample.java(2)-N

Latest

sample.java(5)-N

All in view

  • sample.java (0)-N
  • sample.java (1)-N
  • sample.java (1.1.1)-N
  • sample.java (2)-N
  • sample.java (3)-N

All in package

sample.java (2) -N

All

  • sample.java (0)-N
  • sample.java (1)-N
  • sample.java (1.1.1)-N
  • sample.java (2)-N
  • sample.java (3)-N
  • sample.java (4)-N
  • sample.java (5)-N

Example 2:

This example depicts the use case when you select the package group option.

Follow these steps:

  1. Maintain an SCM project with the Development, Test, and Release views.
  2. Create pack1, pack2, and pack3 as three packages in the Development view of the project.
  3. Include pack1 and pack2 in one package group pg12.
  4. Maintain few versions of a sample.java file in the Development view as follows:
  5. Promote pack3 to the Test state.
  6. Create another trunk version in the Test view as sample.java(4) in pack3.
  7. Promote pack3 to the Release state.
  8. Create another trunk version in the Release view as sample.java (5) N in pack3.
  9. Select pg12 package group in the Package Group drop-down list.

    The following table displays list of packages that display in combination of Version/View filters usage:

Filters

Use Case-1

Use Case-2

 

The versions displayed when you select the pg12 package group.

The versions displayed when you select the pg12 package group and when you promote the pack2 package from Development to the Test state.

Latest in view

sample.java(3)-N

sample.java(3)-N

Latest in package group

sample.java(2)-N

sample.java(1)-N

Note: This selection filters the versions from the existing packages within the view. Some of the packages do not exist in this state, though they are a part of the package group.

Latest

sample.java(5)-N

sample.java(5)-N

All in view

  • sample.java (0)-N
  • sample.java (1)-N
  • sample.java (1.1.1)-N
  • sample.java (2)-N
  • sample.java (3)-N
  • sample.java (0)-N
  • sample.java (1)-N
  • sample.java (1.1.1)-N
  • sample.java (2)-N
  • sample.java (3)-N

All in package group

  • sample.java  (1) -N
  • sample.java (1.1.1)N
  • sample.java  (2) -N

sample.java  (1) -N

All

  • sample.java (0)-N
  • sample.java (1)-N
  • sample.java (1.1.1)-N
  • sample.java (2)-N
  • sample.java (3)-N
  • sample.java (4)-N
  • sample.java (5)-N
  • sample.java (0)-N
  • sample.java (1)-N
  • sample.java (1.1.1)-N
  • sample.java (2)-N
  • sample.java (3)-N
  • sample.java (4)-N
  • sample.java (5)-N