Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-5068609

Generate .cmnt files from API docs in the guide directory for Japan translation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 5.0
    • 5.0
    • docs
    • rc
    • generic
    • other
    • Verified

      Run the localization pre-process doclet to generate .cmnt files
      from the source files for the following API docs.

      Here are the source files:

      # % ls -F guide/* tooldocs/*
      # guide/2d:
      # api-jpeg/
      #
      # NEW guide/javaws:
      # jnlp/
      #
      # guide/jpda:
      # jdi/ jdwp/
      #
      # NEW guide/management:
      # JVM-MANAGEMENT-MIB.mib extension/
      #
      # guide/plugin:
      # dom/
      #
      # guide/security:
      # jaas/ jgss/
      #
      # NEW tooldocs/apt:
      # mirror/
      #
      # tooldocs/javadoc:
      # NEW doclet/ taglet/

      Source for above list: /java/pubs/bin/copy-noncore-api-to-rhea

      The source files are located in the packages and classes listed in:
        /j2se/make/docs/NON_CORE_PKGS.gmk
        /??/jnlp
        /??/jdwp
        /??/JVM-MANAGEMENT-MIB.mif

      ...................................................

      DOMAPI_PKGS = com.sun.java.browser.dom \
                         org.w3c.dom \
                         org.w3c.dom.bootstrap \
                         org.w3c.dom.ls \
                         org.w3c.dom.ranges \
                         org.w3c.dom.traversal \
                         org.w3c.dom.html \
                         org.w3c.dom.stylesheets \
                         org.w3c.dom.css \
                         org.w3c.dom.events \
                         org.w3c.dom.views

      JDI_PKGS = com.sun.jdi \
                         com.sun.jdi.event \
                         com.sun.jdi.request \
                         com.sun.jdi.connect \
                         com.sun.jdi.connect.spi

      MGMT_PKGS = com.sun.management

      JAAS_PKGS = com.sun.security.auth \
      com.sun.security.auth.callback \
      com.sun.security.auth.login \
      com.sun.security.auth.module

      JGSS_PKGS = com.sun.security.jgss

      JPEG_PKGS = com.sun.image.codec.jpeg

      DOCLETAPI_PKGS = com.sun.javadoc

      TAGLETAPI_FILE = com/sun/tools/doclets/Taglet.java

      MIRROR_PKGS = com.sun.mirror.apt \
      com.sun.mirror.declaration \
      com.sun.mirror.type \
      com.sun.mirror.util


      Source for above list: /make/docs/NON_CORE_PKGS.gmk

      Here are the instructions for running the localization pre-process doclet:
      http://swpubs.sfbay/doclets/local/master/docs/

         NOTE: It's imperative to record the build number of the source code
               that the pre-process doclet is run on, and send this build
               number to Japan along with the .cmnt files. After translation,
               they run the translated somments through the same build using
               the post-process doclet.

            dkramersunw Douglas Kramer (Inactive)
            dkramersunw Douglas Kramer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: