code: void generatePackageInfo(Definition def, String outputDir, String subDir)
     {
        try
        {
           FileWriter fw;
           PackageInfoGen phGen;
           if (outputDir.equals("test"))
           {
              fw = Utils.createTestFile("package-info.java", def.getRaPackage(), def.getOutputDir());
              phGen = new PackageInfoGen();
  
           }
           else
           {
  
              if (subDir == null)
              {
                 fw = Utils.createSrcFile("package-info.java", def.getRaPackage(), def.getOutputDir());
                 phGen = new PackageInfoGen();
              }
              else
              {
                 fw = Utils.createSrcFile("package-info.java", def.getRaPackage() + "." + subDir, def.getOutputDir());
                 phGen = new PackageInfoGen(subDir);
              }
           }
           phGen.generate(def, fw);
           fw.close();
        }
        catch (IOException ioe)
        {
           ioe.printStackTrace();
        }
     }
docs: generate package.html
  
  @param def       Definition
  @param outputDir main or test
  @param subDir    sub-directory