Revision: 9742
Author: [email protected]
Date: Wed Feb 16 05:59:14 2011
Log: Add java.math and java.util.logging to list of packages to document

Review at http://gwt-code-reviews.appspot.com/1358802

Review by: [email protected]
http://code.google.com/p/google-web-toolkit/source/detail?r=9742

Modified:
 /trunk/build-tools/doctool/src/com/google/doctool/custom/FindPackages.java
 /trunk/doc/build.xml

=======================================
--- /trunk/build-tools/doctool/src/com/google/doctool/custom/FindPackages.java Tue Oct 19 11:29:14 2010 +++ /trunk/build-tools/doctool/src/com/google/doctool/custom/FindPackages.java Wed Feb 16 05:59:14 2011
@@ -48,11 +48,11 @@
   };

   /**
-   * A list of emulated packages under java.lang, to be emitted as
-   * the LANG_PKGS property.  Add packages here as needed.
+   * A list of emulated packages in the java.* namespace, to be emitted as
+   * the JAVA_PKGS property.  Add packages here as needed.
    */
-  private static final String[] LANG_PKGS = {
-      "java.lang", "java.lang.annotation", "java.io", "java.sql", "java.util"};
+  private static final String[] JAVA_PKGS = {
+    "java.lang", "java.lang.annotation", "java.math", "java.io", "java.sql", 
"java.util", "java.util.logging"};

   /**
    * User packages to include, regardless of exclusions.  Add packages here
@@ -115,12 +115,12 @@
       out.println("# This file contains all of the user javadoc packages");
       out.println("#");
       out.println("# JRE emulation packages");
-      out.println("LANG_PKGS=\\");
-      for (int i = 0; i < LANG_PKGS.length; i++) {
-        if (i < LANG_PKGS.length - 1) {
-          out.println(LANG_PKGS[i] + ";\\");
+      out.println("JAVA_PKGS=\\");
+      for (int i = 0; i < JAVA_PKGS.length; i++) {
+        if (i < JAVA_PKGS.length - 1) {
+          out.println(JAVA_PKGS[i] + ";\\");
         } else {
-          out.println(LANG_PKGS[i]);
+          out.println(JAVA_PKGS[i]);
         }
       }
out.println("# The last package should not have a trailing semicolon");
=======================================
--- /trunk/doc/build.xml        Wed Oct 13 03:51:52 2010
+++ /trunk/doc/build.xml        Wed Feb 16 05:59:14 2011
@@ -139,7 +139,7 @@
           <arg value="-sourcepath" />
<arg path="${gwt.root}/user/super/com/google/gwt/emul:${gwt.root}/dev/core/super/com/google/gwt/dev/jjs/intrinsic" />
           <arg value="-packages" />
-          <arg value="${LANG_PKGS}" />
+          <arg value="${JAVA_PKGS}" />
         </java>
       </sequential>
     </outofdate>

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to