You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2012/06/01 13:57:55 UTC

svn commit: r1345091 - /jena/dist/dist.sh

Author: andy
Date: Fri Jun  1 11:57:55 2012
New Revision: 1345091

URL: http://svn.apache.org/viewvc?rev=1345091&view=rev
Log:
Updated dist.sh for combined modules release

Modified:
    jena/dist/dist.sh

Modified: jena/dist/dist.sh
URL: http://svn.apache.org/viewvc/jena/dist/dist.sh?rev=1345091&r1=1345090&r2=1345091&view=diff
==============================================================================
--- jena/dist/dist.sh (original)
+++ jena/dist/dist.sh Fri Jun  1 11:57:55 2012
@@ -6,17 +6,17 @@ REPO=REPO/org/apache/jena
 
 OUT="dist"
 
-# This script collects everything for the incubator/dist/jena area
+# This script collects everything for the /dist/jena area
 # Layout:  VER is whatever VER is needed - different for different subsystems
 # .../jena/KEYS
+# .../jena/jena-VER-source-release.zip
 # .../jena/apache-jena-VER.zip
-# .../jena/jena-iri-VER/
-# .../jena/jena-core-VER/
-# .../jena/jena-arq-VER/
-# .../jena/jena-larq-VER/
-#   with jar, javadoc (not IRI) and sources and their .asc, .md5 and .sha1 files.
+# .../jena/jena-fuseki-VER'-distribution.zip
+#   with .asc, .md5 and .sha1 files.
+#   (so not the .asc.md5, .asc.sha1 files)
 
-## Or copy the repo and shuffle.
+# issues 
+# Others :
 
 ECHO=echo
 CPCMD="$ECHO cp"
@@ -28,6 +28,7 @@ echo "## Initalize"
 $DELDIR $OUT
 $MKDIR $OUT
 
+# Copy a file, together with the extensions.
 function cpfile
 {
     local FILE="$1"
@@ -44,74 +45,23 @@ function cpfile
     done
 }
 
-function cpallfiles
-{
-    local M="$1"
-    local V="$2"
-    local D="$M-$V-$inc"
-    $MKDIR $OUT/$D
-    cpfile "$M/$V-$inc/$M-$V-$inc.jar" $D
-    cpfile "$M/$V-$inc/$M-$V-$inc-sources.jar" $D
-    if [ -e "$M/$V-$inc/$M-$V-$inc-javadoc.jar" ]
-    then
-	 cpfile "$M/$V-$inc/$M-$V-$inc-javadoc.jar" $D
-    fi
-    cpfile "$M/$V-$inc/$M-$V-$inc-source-release.zip" $D
-}
-
-
-
-## ToDo: automate
-
-V_TOP=0
-V_IRI=0.9.0
-V_CORE=2.7.0
-V_DIST=2.7.0
-V_ARQ=2.9.0
-V_LARQ=1.0.0
-V_ZIP=$V_CORE
-inc=incubating
+V_DIST=2.7.1
+V_FUSEKI=0.2.2
 
 ## Top level directory
 
-echo "## Top level"
+echo "## Setup"
 $CPCMD KEYS dist
 $CPCMD HEADER.html dist
 
-echo "## Download"
-cpfile "apache-jena/${V_DIST}-$inc/apache-jena-${V_DIST}-$inc.zip" "."
-cpfile "apache-jena/${V_DIST}-$inc/apache-jena-${V_DIST}-$inc.tar.gz" "."
-cpfile "apache-jena/${V_DIST}-$inc/apache-jena-${V_DIST}-$inc.tar.bz2" "."
-
-## Modules
-
-echo "## JenaTop"
-M=jena-top
-V=${V_TOP}
-D="$M-$V-$inc"
-$MKDIR $OUT/$D
-cpfile "$M/$V-$inc/$M-$V-$inc.pom" $D
-cpfile "$M/$V-$inc/$M-$V-$inc-source-release.zip" $D
-
-echo "## IRI"
-cpallfiles jena-iri "${V_IRI}"
-
-echo "## Core"
-cpallfiles jena-core ${V_CORE}
-
-echo "## ARQ"
-cpallfiles jena-arq ${V_ARQ}
-
-## echo "## LARQ"
-## cpallfiles jena-larq ${V_LARQ}
-
-echo "## zip"
-M=apache-jena
-V=${V_ZIP}
-D="$M-$V-$inc"
-$MKDIR $OUT/$D
-cpfile "$M/$V-$inc/$M-$V-$inc-source-release.zip" $D
-# Second copies of the products in the per-version directory
-cpfile "$M/$V-$inc/$M-$V-$inc.zip" $D
-cpfile "$M/$V-$inc/$M-$V-$inc.tar.gz" $D
-cpfile "$M/$V-$inc/$M-$V-$inc.tar.bz2" $D
+echo "## Jena Download"
+cpfile "apache-jena/${V_DIST}/apache-jena-${V_DIST}-$inc.zip" "."
+cpfile "apache-jena/${V_DIST}/apache-jena-${V_DIST}-$inc.tar.gz" "."
+#cpfile "apache-jena/${V_DIST}/apache-jena-${V_DIST}-$inc.tar.bz2" "."
+
+echo "## Fuseki download"
+cpfile "jena-fuseki/${V_FUSEKI}/jena-fuseki-${V_FUSEKI}-$inc.zip" "."
+cpfile "jena-fuseki/${V_FUSEKI}/jena-fuseki-${V_FUSEKI}-$inc.tar.gz" "."
+
+echo "## Source release"
+cpfile "jena/${V_DIST}/jena-${V_DIST}-source-release.zip" "."