This is an automated email from the ASF dual-hosted git repository. jamesfredley pushed a commit to branch asf-site-production in repository https://gitbox.apache.org/repos/asf/grails-website.git
commit 66a6a98174963d9f91e7e740f3687f18cd2bc7df Author: James Fredley <[email protected]> AuthorDate: Wed Oct 8 14:36:37 2025 -0400 Remove Eclipse project files and docs download script Deleted docs/.classpath, docs/.project, and docs/download-docs.groovy to clean up legacy Eclipse configuration and an unused documentation download script from the docs directory. --- docs/.classpath | 13 -------- docs/.project | 30 ------------------ docs/download-docs.groovy | 81 ----------------------------------------------- 3 files changed, 124 deletions(-) diff --git a/docs/.classpath b/docs/.classpath deleted file mode 100644 index 98413de752f..00000000000 --- a/docs/.classpath +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<classpath> - <classpathentry kind="src" path="src/en/guide"/> - <classpathentry kind="src" path="src/en/ref"/> - <classpathentry kind="lib" path="lib/radeox.jar" /> - <classpathentry kind="lib" path="lib/commons-logging-1.1.jar"/> - <classpathentry kind="lib" path="lib/core-renderer.jar"/> - <classpathentry kind="lib" path="lib/iText-2.0.8.jar"/> - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> - <classpathentry kind="con" path="GROOVY_SUPPORT"/> - <classpathentry exported="true" kind="con" path="GROOVY_DSL_SUPPORT"/> - <classpathentry kind="output" path="bin"/> -</classpath> diff --git a/docs/.project b/docs/.project deleted file mode 100644 index b36117baa98..00000000000 --- a/docs/.project +++ /dev/null @@ -1,30 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>grails-doc</name> - <comment></comment> - <projects> - </projects> - <buildSpec> - <buildCommand> - <name>org.eclipse.wst.common.project.facet.core.builder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.jdt.core.javabuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.codehaus.groovy.eclipse.groovyBuilder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.jdt.groovy.core.groovyNature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - <nature>org.codehaus.groovy.eclipse.groovyNature</nature> - <nature>org.eclipse.wst.common.project.facet.core.nature</nature> - </natures> -</projectDescription> diff --git a/docs/download-docs.groovy b/docs/download-docs.groovy deleted file mode 100644 index ae1873d9698..00000000000 --- a/docs/download-docs.groovy +++ /dev/null @@ -1,81 +0,0 @@ -def ant = new AntBuilder() - -def versions = [ - ['1.2.0', '1.2.1', '1.2.2', '1.2.3', '1.2.4', '1.2.5'], - ['1.3.0', '1.3.1', '1.3.2', '1.3.3', '1.3.4', '1.3.5', '1.3.6', '1.3.7', '1.3.8', '1.3.9'], - ['2.0.0', '2.0.1', '2.0.2', '2.0.3', '2.0.4'], - ['2.1.0', '2.1.1', '2.1.2', '2.1.3', '2.1.4', '2.1.5'], - ['2.2.0', '2.2.1', '2.2.2', '2.2.3', '2.2.4', '2.2.5'], - ['2.3.0', '2.3.1', '2.3.2', '2.3.3', '2.3.4', '2.3.5', '2.3.6', '2.3.7', '2.3.8', '2.3.9', '2.3.10', '2.3.11'], - ['2.4.0', '2.4.1', '2.4.2', '2.4.3', '2.4.4'] ] - - - -int j = 0 -for(group in versions) { - j++ - int i = 0 - for(version in group) { - i++ - def local = "${version}.zip" - def url = new URL("https://github.com/grails/grails-core/releases/download/v${version}/grails-docs-${version}.zip") - def conn = url.openConnection() - conn.setInstanceFollowRedirects( false ) - conn.connect() - def responseCode = conn.responseCode - - if(responseCode.toString().startsWith("3")) { - url = conn.getHeaderField("Location") - conn.disconnect() - - ant.get(src:url, - dest:local) - - ant.unzip(src:local, dest:version) - ant.delete(file:local) - if(i == group.size()) { - def targetDir = version[0..3] + 'x' - ant.mkdir(dir:targetDir) - ant.copy(todir:targetDir) { - fileset(dir:version) - } - - if(j == versions.size()) { - ant.mkdir(dir:"latest") - ant.copy(todir:"latest") { - fileset(dir:version) - } - } - } - } - else { - if(version.endsWith('0')) { - version = version[0..2] - } - url = new URL("https://github.com/grails/grails-core/releases/download/v${version}/grails-docs-${version}.0.zip") - conn = url.openConnection() - conn.setInstanceFollowRedirects( false ) - conn.connect() - responseCode = conn.responseCode - - if(responseCode.toString().startsWith("3")) { - url = conn.getHeaderField("Location") - conn.disconnect() - - ant.get(src:url, - dest:local) - - ant.unzip(src:local, dest:"${version}.0") - ant.delete(file:local) - - } - else { - if(version.endsWith('0')) { - version = version[0..2] - } - println "WARNING: Not found $url" - } - } - - } -}
