Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Add package-list file for groovy-jdk API documentation #35

Closed
wants to merge 1 commit into from

2 participants

Mathieu Bruyen Cédric Champeau
Mathieu Bruyen

In order to allow API documentation generator to rely on this website for their external links.
See http://docs.oracle.com/javase/1.3/docs/tooldocs/win32/javadoc.html#package-list

Generate package-list file for groovy-jdk
Groovy JDK API documentation includes a package-list, allowing
API documentation generator to rely on this website for their
external links.
a390c56
Cédric Champeau
Collaborator

This will be available in 1.8.7 and 2.0-beta-3. Thanks!

For reference: http://jira.codehaus.org/browse/GROOVY-5338

Cédric Champeau melix closed this February 29, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Feb 29, 2012
Generate package-list file for groovy-jdk
Groovy JDK API documentation includes a package-list, allowing
API documentation generator to rely on this website for their
external links.
a390c56
This page is out of date. Refresh to see the latest.
8  src/tools/org/codehaus/groovy/tools/DocGenerator.groovy
@@ -109,7 +109,13 @@ class DocGenerator {
109 109
         out.withWriter {
110 110
             it << templateOverviewFrame.make(binding)
111 111
         }
112  
-
  112
+        
  113
+        // the package list
  114
+        out = new File(outputFolder, 'package-list')
  115
+        out.withWriter { writer ->
  116
+            packages.keySet().findAll{ it }.each{ writer.println it }
  117
+        }
  118
+        
113 119
         // the allclasses-frame.html
114 120
         def templateAllClasses = createTemplate(engine, 'template.allclasses-frame.html')
115 121
         out = new File(outputFolder, 'allclasses-frame.html')
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.