Sun Java System Access Manager 7.1 Developer's Guide

ProcedureTo Update a Modified WAR

  1. Go to the directory where the WAR files are kept.

    # cd AccessManager-base/ SUNWam/war
  2. Run the jar command.

    jar -uvf WARfilename.war path_to_modified_file

    The -uvf option replaces the old file with the newly modified file. For example:

    # jar -uvf console.war newfile/index.html

    This command replaces the index.html file in console.war with the index.html file located in AccessManager-base/SUNWam/newfile.

  3. Delete the modified file.

    # rm newfile/index.html

    Delete the modified file.