Search VisualAge for Java Information Go to Information Home Page Go to VisualAge for Java WWW Site

Add Package

This SmartGuide creates a new package or adds an edition of one that exists in the repository. 

To create a new package:

  1. In the Project field, provide the name of a project to contain the new package.  This can be a new name, in which case the SmartGuide creates the project before it creates the package.  Alternatively, you can select an existing project.   Click Browse to choose from a list of projects in the workspace.
  2. Select the Create a new package named radio button.
  3. Provide a unique name for the package.  A message at the bottom of the SmartGuide will tell you if the name you supply is invalid.
  4. tentergf.gif (577 bytes) If you are working in a team environment, click Next, and authorize other users to add and release classes in the new package.
  5. Click Finish.

To create the default package for the project (which will contain classes that do not belong to any other package), select the Create a default package and click Finish.

To add a package from the repository:

  1. In the Project field, provide the name of a project to contain the new package. This can be a new name, in which case the SmartGuide creates the project before it creates the package.  Alternatively, you can select an existing project.   Click Browse to choose from a list of projects in the workspace.
  2. Select the Add packages from the repository radio button.
  3. Select a package by enabling its checkbox.
  4. In the Available editions list, select the desired edition of the package by enabling its checkbox.
  5. Select as many packages as you wish, also selecting an edition for each one.
  6. tentergf.gif (577 bytes) If you are working in a team environment, click Next, and authorize other users to add and release classes in the new package.
  7. Click Finish.