Versioning an edition of your applet

When you version an edition of a program element, you give it a name and explicitly save its current state. When you make more changes to the code and save these changes, a new edition is created based on the versioned edition. If you decide you want to undo your changes or try a different set of changes, you can simply return to the versioned edition. For more details on editions and versioned editions, see Managing editions of your code.

Before you make any changes to your To-Do List applet class, version it so you can return to it if necessary. To version the class for your applet:

  1. Ensure that the class for your applet is selected. From the Selected menu, select Manage and then Version. The Versioning Selected Items SmartGuide appears.
  2. Ensure that Automatic is selected and click OK. If  Show Edition Names is selected in the tool bar, a version name appears next to the class.
    tediicon.gif (1011 bytes)

The next time you modify this class and save it, VisualAge for Java creates a new edition based on the code in this versioned edition. If you run into problems while you are making updates to your applet, you can return to the working edition of the To-Do List applet that you just created.

tentergf.gif (577 bytes) Editions are managed by a team of developers in the Enterprise edition. Only owners of editions can version them. Also, versioning is often followed by releasing. For more information on the team development environment, see the online help or the Getting Started document for VisualAge for Java, Enterprise Edition.