Author: andy
Date: Tue Dec  8 12:19:51 2015
New Revision: 1718579

URL: http://svn.apache.org/viewvc?rev=1718579&view=rev
Log:
Helper tools for preparing the javadoc

Added:
    jena/dist/Javadoc/
    jena/dist/Javadoc/Skeleton/
    jena/dist/Javadoc/Skeleton/elephas/
    jena/dist/Javadoc/Skeleton/elephas/index.mdtext
    jena/dist/Javadoc/Skeleton/extras/
    jena/dist/Javadoc/Skeleton/extras/index.mdtext
    jena/dist/Javadoc/Skeleton/extras/querybuilder/
    jena/dist/Javadoc/Skeleton/index.mdtext
    jena/dist/Javadoc/prepare-javadoc   (with props)
    jena/dist/README

Added: jena/dist/Javadoc/Skeleton/elephas/index.mdtext
URL: 
http://svn.apache.org/viewvc/jena/dist/Javadoc/Skeleton/elephas/index.mdtext?rev=1718579&view=auto
==============================================================================
--- jena/dist/Javadoc/Skeleton/elephas/index.mdtext (added)
+++ jena/dist/Javadoc/Skeleton/elephas/index.mdtext Tue Dec  8 12:19:51 2015
@@ -0,0 +1,7 @@
+Title: Jena Elephas JavaDoc
+
+JavaDoc automatically generates detailed class and method documentation from 
the Jena source code.
+
+ - [Elephas Common API JavaDoc](common/index.html)
+ - [Elephas IO API JavaDoc](io/index.html)
+ - [Elephas Map/Reduce API JavaDoc](mapred/index.html)

Added: jena/dist/Javadoc/Skeleton/extras/index.mdtext
URL: 
http://svn.apache.org/viewvc/jena/dist/Javadoc/Skeleton/extras/index.mdtext?rev=1718579&view=auto
==============================================================================
--- jena/dist/Javadoc/Skeleton/extras/index.mdtext (added)
+++ jena/dist/Javadoc/Skeleton/extras/index.mdtext Tue Dec  8 12:19:51 2015
@@ -0,0 +1,6 @@
+Title: Jena Extras JavaDoc
+
+JavaDoc automatically generates detailed class and method documentation from 
the Jena source code.
+
+
+  - [Extras - QueryBuilder](querybuilder/index.html)

Added: jena/dist/Javadoc/Skeleton/index.mdtext
URL: 
http://svn.apache.org/viewvc/jena/dist/Javadoc/Skeleton/index.mdtext?rev=1718579&view=auto
==============================================================================
--- jena/dist/Javadoc/Skeleton/index.mdtext (added)
+++ jena/dist/Javadoc/Skeleton/index.mdtext Tue Dec  8 12:19:51 2015
@@ -0,0 +1,16 @@
+Title: Jena JavaDoc
+
+JavaDoc automatically generates detailed class and method documentation from 
the Jena source code.
+
+  - [Jena JavaDoc](jena/index.html)
+  - [ARQ JavaDoc](arq/index.html)
+  - [TDB JavaDoc](tdb/index.html)
+  - [Text search](text/index.html)
+  - [Spatial search](spatial/index.html)
+  - [Security JavaDoc](security/index.html)
+  - [JDBC JavaDoc](jdbc/index.html)
+  - [SDB JavaDoc](sdb/index.html)
+  - Fuseki JavaDoc
+    - [Fuseki1](fuseki1/index.html)
+    - [Fuseki2](fuseki2/index.html)
+ 

Added: jena/dist/Javadoc/prepare-javadoc
URL: 
http://svn.apache.org/viewvc/jena/dist/Javadoc/prepare-javadoc?rev=1718579&view=auto
==============================================================================
--- jena/dist/Javadoc/prepare-javadoc (added)
+++ jena/dist/Javadoc/prepare-javadoc Tue Dec  8 12:19:51 2015
@@ -0,0 +1,90 @@
+#!/bin/bash
+
+## Get copies of the necessary javadoc.jar files,
+## and build a new jaavdoc tree in J/
+
+rm -rf J
+cp -R Skeleton J
+
+## **** Adjust these settings.
+#MVN="http://central.maven.org/maven2/org/apache/jena";
+MVN="https://repository.apache.org/content/repositories/orgapachejena-1010/";
+# If you have a local copy of the Jena release build , set LOCAL to that 
directory
+LOCAL="$HOME/ASF/jena-dist/REPO/org/apache/jena/"
+
+## **** Adjust these settings.
+VER=3.0.1
+VER_FU1=1.3.1
+VER_FU2=2.3.1
+
+## Should be OK from here.
+
+VER_TDB="$VER"
+VER_ELEPHAS="$VER"
+VER_JDBC="$VER"
+VER_TEXT="$VER"
+VER_SPATIAL="$VER"
+VER_CSV="$VER"
+VER_SDB="$VER"
+
+function fetch() {
+    local M="$1"
+    local V="$2"
+    local F="jena-$M-$V-javadoc.jar"
+    if [[ ! -e $F ]]
+    then
+       if [[ -z $LOCAL ]]
+       then
+           local U="$MVN/jena-$M/$V/$F"
+           echo "== fetch $U"
+           wget -nc $U
+       else
+           cp "$LOCAL/jena-$M/$V/$F" .
+       fi
+    fi
+}
+
+function fetchunpack() {
+    local M="$1"
+    local V="$2"
+    local F="jena-$M-$V-javadoc.jar"
+    fetch $M $V
+    
+    rm -rf "J/$M"
+    mkdir "J/$M"
+    ( cd "J/$M">/dev/null ; unzip -q ../../$F )
+
+}
+
+if [[ true ]]
+then
+    fetchunpack core      $VER
+    fetchunpack arq       $VER
+    fetchunpack tdb       $VER_TDB
+    fetchunpack fuseki1   $VER_FU1
+    fetchunpack fuseki-core   $VER_FU2
+    fetchunpack elephas-common      $VER_ELEPHAS
+    fetchunpack elephas-io          $VER_ELEPHAS
+    fetchunpack elephas-mapreduce   $VER_ELEPHAS
+    fetchunpack querybuilder        $VER
+    fetchunpack text      $VER_TEXT
+    fetchunpack spatial   $VER_SPATIAL
+    fetchunpack csv       $VER_CSV
+    fetchunpack sdb       $VER_SDB
+    fetchunpack permissions  $VER
+    fetchunpack jdbc-driver-bundle      $VER_JDBC
+fi
+
+
+
+( cd "J">/dev/null
+    find . -name META-INF | xargs rm -rf
+    mv core jena
+    mv fuseki-core fuseki2
+    mv jdbc-driver-bundle jdbc
+    mv elephas-common elephas/common
+    mv elephas-mapreduce elephas/mapred
+    mv elephas-io elephas/io
+    mv querybuilder extras
+)
+

Propchange: jena/dist/Javadoc/prepare-javadoc
------------------------------------------------------------------------------
    svn:executable = *

Added: jena/dist/README
URL: http://svn.apache.org/viewvc/jena/dist/README?rev=1718579&view=auto
==============================================================================
--- jena/dist/README (added)
+++ jena/dist/README Tue Dec  8 12:19:51 2015
@@ -0,0 +1,11 @@
+==== Apache Jena Distribution Tools 
+
+See https://cwiki.apache.org/confluence/display/JENA/Release+Process
+
+dist.st
+  Makes the distribution directory hierarchiy (source and binaries).
+
+Javadoc/
+  Helper tools for build the javadoc.
+  Check Javadoc/preparte-javadoc for local settings before running.
+  


Reply via email to