Verify archive files

The Assembly Toolkit validates code when you request code validation manually, automatically during a resource change, and automatically during a build.

As part of validating the code, the validation checks for the following...

  1. (Optional)   Specify whether you want automatic code validation during a resource change or during a build. The default is for automatic code validation.

    1. In the J2EE Hierarchy view, right-click on a project.

    2. Click Properties > Validation.

    3. Ensure that the Run validation options for builds and for automatic validation are selected. Select Override validation preferences to disable automatic code validation.

    4. If you changed the Validation settings, click Apply or OK.

  2. (Optional)   Specify validation options for a project. The default is to check all validators for a project during code validation. For an enterprise application project, the validators might be for DTD, EAR, Web services, XML, XML schema, or XSL files.

    1. In the J2EE Hierarchy view, right-click the project containing the code that you want to validate.

    2. Click Properties > Validation.

    3. Select Override validation preferences.

    4. Select the validators you want checked during code validation.

    5. If you changed the Validation settings, click Apply or OK.

  3. Right-click the project containing the code that you want to validate and click Run Validation to manually validate the code.

The results of the code validation are shown in a Tasks view. For information on the results, select an entry in the Tasks view, press F1, and click Tasks view.

If your application module contains EJB modules, generate code for deployment. Otherwise, you are ready to deploy the application module (or stand-alone Web module) onto the appserver.

 

See Also

Application assembly and J2EE applications