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 2015/04/26 19:26:01 UTC
[2/2] jena git commit: Remove non-general dev scripts
Remove non-general dev scripts
Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/0bbfe0b4
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/0bbfe0b4
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/0bbfe0b4
Branch: refs/heads/master
Commit: 0bbfe0b409dff771af1311ca8a2b6d3e58830fd2
Parents: 331b47d
Author: Andy Seaborne <an...@apache.org>
Authored: Sun Apr 26 18:19:07 2015 +0100
Committer: Andy Seaborne <an...@apache.org>
Committed: Sun Apr 26 18:19:07 2015 +0100
----------------------------------------------------------------------
jena-core/bat/check_root.bat | 6 ---
jena-core/bat/make_classpath.bat | 33 ------------
jena-core/bat/n3.bat | 13 -----
jena-core/bat/rdfcat.bat | 13 -----
jena-core/bat/rdfcompare.bat | 13 -----
jena-core/bat/rdfcopy.bat | 13 -----
jena-core/bat/rdfparse.bat | 13 -----
jena-core/bat/schemagen.bat | 13 -----
jena-core/bat/version.bat | 13 -----
jena-core/bin/jena_path | 11 ----
jena-core/bin/make_classpath | 98 -----------------------------------
jena-core/bin/n3 | 12 -----
jena-core/bin/rdfcat | 12 -----
jena-core/bin/rdfcompare | 12 -----
jena-core/bin/rdfcopy | 12 -----
jena-core/bin/rdfparse | 12 -----
jena-core/bin/schemagen | 12 -----
jena-core/bin/version | 12 -----
18 files changed, 323 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/jena/blob/0bbfe0b4/jena-core/bat/check_root.bat
----------------------------------------------------------------------
diff --git a/jena-core/bat/check_root.bat b/jena-core/bat/check_root.bat
deleted file mode 100644
index 7e2c48b..0000000
--- a/jena-core/bat/check_root.bat
+++ /dev/null
@@ -1,6 +0,0 @@
-@echo off
-@REM Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0
-if NOT "%JENAROOT%" == "" exit /B
-
-echo JENAROOT not set
-exit /B
http://git-wip-us.apache.org/repos/asf/jena/blob/0bbfe0b4/jena-core/bat/make_classpath.bat
----------------------------------------------------------------------
diff --git a/jena-core/bat/make_classpath.bat b/jena-core/bat/make_classpath.bat
deleted file mode 100644
index 59fe6c9..0000000
--- a/jena-core/bat/make_classpath.bat
+++ /dev/null
@@ -1,33 +0,0 @@
-@echo off
-@REM Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0
-@REM Script to build a classpath
-
-set DIRROOT=%1%
-set CP=
-
-if "%DIRROOT%" == "" goto noRoot
-
-set LIBDIR=%DIRROOT%\lib
-set CLSDIR=%DIRROOT%\classes
-
-for %%f in (%LIBDIR%\*.jar) do call :oneStep %%f
-
-if EXIST %CLSDIR% call :addClasses
-goto :theEnd
-
-:oneStep
-REM echo "ARG: %1"
-if "%CP%" == "" (set CP=%1) else (set CP=%CP%;%1)
-exit /B
-
-:addClasses
-if "%CP%" == "" (set CP=%CLSDIR%) else (set CP=%CLSDIR%;%CP%)
-exit /B
-
-:noRoot
-echo No directory for root of installation
-exit /B
-
-:theEnd
-REM echo %CP%
-exit /B
http://git-wip-us.apache.org/repos/asf/jena/blob/0bbfe0b4/jena-core/bat/n3.bat
----------------------------------------------------------------------
diff --git a/jena-core/bat/n3.bat b/jena-core/bat/n3.bat
deleted file mode 100644
index 2463bd2..0000000
--- a/jena-core/bat/n3.bat
+++ /dev/null
@@ -1,13 +0,0 @@
-@echo off
-@REM Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0
-@REM Script to run a command
-
-if NOT "%JENAROOT%" == "" goto :okRoot
-echo JENAROOT not set
-exit /B
-
-:okRoot
-call %JENAROOT%\bat\make_classpath.bat %JENAROOT%
-
-java %SOCKS% -cp %CP% jena.n3 %*
-exit /B
http://git-wip-us.apache.org/repos/asf/jena/blob/0bbfe0b4/jena-core/bat/rdfcat.bat
----------------------------------------------------------------------
diff --git a/jena-core/bat/rdfcat.bat b/jena-core/bat/rdfcat.bat
deleted file mode 100644
index 1b42182..0000000
--- a/jena-core/bat/rdfcat.bat
+++ /dev/null
@@ -1,13 +0,0 @@
-@echo off
-@REM Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0
-@REM Script to run a command
-
-if NOT "%JENAROOT%" == "" goto :okRoot
-echo JENAROOT not set
-exit /B
-
-:okRoot
-call %JENAROOT%\bat\make_classpath.bat %JENAROOT%
-
-java %SOCKS% -cp %CP% jena.rdfcat %*
-exit /B
http://git-wip-us.apache.org/repos/asf/jena/blob/0bbfe0b4/jena-core/bat/rdfcompare.bat
----------------------------------------------------------------------
diff --git a/jena-core/bat/rdfcompare.bat b/jena-core/bat/rdfcompare.bat
deleted file mode 100644
index 7cbe5ef..0000000
--- a/jena-core/bat/rdfcompare.bat
+++ /dev/null
@@ -1,13 +0,0 @@
-@echo off
-@REM Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0
-@REM Script to run a command
-
-if NOT "%JENAROOT%" == "" goto :okRoot
-echo JENAROOT not set
-exit /B
-
-:okRoot
-call %JENAROOT%\bat\make_classpath.bat %JENAROOT%
-
-java %SOCKS% -cp %CP% jena.rdfcompare %*
-exit /B
http://git-wip-us.apache.org/repos/asf/jena/blob/0bbfe0b4/jena-core/bat/rdfcopy.bat
----------------------------------------------------------------------
diff --git a/jena-core/bat/rdfcopy.bat b/jena-core/bat/rdfcopy.bat
deleted file mode 100644
index 5e79677..0000000
--- a/jena-core/bat/rdfcopy.bat
+++ /dev/null
@@ -1,13 +0,0 @@
-@echo off
-@REM Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0
-@REM Script to run a command
-
-if NOT "%JENAROOT%" == "" goto :okRoot
-echo JENAROOT not set
-exit /B
-
-:okRoot
-call %JENAROOT%\bat\make_classpath.bat %JENAROOT%
-
-java %SOCKS% -cp %CP% jena.rdfcopy %*
-exit /B
http://git-wip-us.apache.org/repos/asf/jena/blob/0bbfe0b4/jena-core/bat/rdfparse.bat
----------------------------------------------------------------------
diff --git a/jena-core/bat/rdfparse.bat b/jena-core/bat/rdfparse.bat
deleted file mode 100644
index 313208f..0000000
--- a/jena-core/bat/rdfparse.bat
+++ /dev/null
@@ -1,13 +0,0 @@
-@echo off
-@REM Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0
-@REM Script to run a command
-
-if NOT "%JENAROOT%" == "" goto :okRoot
-echo JENAROOT not set
-exit /B
-
-:okRoot
-call %JENAROOT%\bat\make_classpath.bat %JENAROOT%
-
-java %SOCKS% -cp %CP% jena.rdfparse %*
-exit /B
http://git-wip-us.apache.org/repos/asf/jena/blob/0bbfe0b4/jena-core/bat/schemagen.bat
----------------------------------------------------------------------
diff --git a/jena-core/bat/schemagen.bat b/jena-core/bat/schemagen.bat
deleted file mode 100644
index 3281bdb..0000000
--- a/jena-core/bat/schemagen.bat
+++ /dev/null
@@ -1,13 +0,0 @@
-@echo off
-@REM Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0
-@REM Script to run a command
-
-if NOT "%JENAROOT%" == "" goto :okRoot
-echo JENAROOT not set
-exit /B
-
-:okRoot
-call %JENAROOT%\bat\make_classpath.bat %JENAROOT%
-
-java %SOCKS% -cp %CP% jena.schemagen %*
-exit /B
http://git-wip-us.apache.org/repos/asf/jena/blob/0bbfe0b4/jena-core/bat/version.bat
----------------------------------------------------------------------
diff --git a/jena-core/bat/version.bat b/jena-core/bat/version.bat
deleted file mode 100644
index c89b84a..0000000
--- a/jena-core/bat/version.bat
+++ /dev/null
@@ -1,13 +0,0 @@
-@echo off
-@REM Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0
-@REM Script to run a command
-
-if NOT "%JENAROOT%" == "" goto :okRoot
-echo JENAROOT not set
-exit /B
-
-:okRoot
-call %JENAROOT%\bat\make_classpath.bat %JENAROOT%
-
-java %SOCKS% -cp %CP% jena.version %*
-exit /B
http://git-wip-us.apache.org/repos/asf/jena/blob/0bbfe0b4/jena-core/bin/jena_path
----------------------------------------------------------------------
diff --git a/jena-core/bin/jena_path b/jena-core/bin/jena_path
deleted file mode 100755
index 9a80f64..0000000
--- a/jena-core/bin/jena_path
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-## Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0
-
-if [ "$JENAROOT" = "" ]
-then
- echo "JENAROOT not set" 1>&2
- exit 1
- fi
-
-exec "$JENAROOT/bin/make_classpath" "$JENAROOT"
http://git-wip-us.apache.org/repos/asf/jena/blob/0bbfe0b4/jena-core/bin/make_classpath
----------------------------------------------------------------------
diff --git a/jena-core/bin/make_classpath b/jena-core/bin/make_classpath
deleted file mode 100755
index b7d2f75..0000000
--- a/jena-core/bin/make_classpath
+++ /dev/null
@@ -1,98 +0,0 @@
-#!/bin/sh
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# Usage: make_classpath DIR
-# Finds jars in lib/, and class files in classes/ and build/classes
-# If CP is already set, include that as well.
-
-DIRROOT="$1"
-
-if [ "$DIRROOT" = "" ]
-then
- echo "No directory given" 1>&2
- exit 1
- fi
-
-# remove any trailing /
-DIRROOT=${DIRROOT%/}
-
-LIBDIR="$DIRROOT/lib"
-# List
-CPDIR1="$DIRROOT/classes"
-CPDIR2="$DIRROOT/target/classes"
-CPDIR3="$DIRROOT/target/classes-eclipse"
-ETCDIR="$DIRROOT/etc"
-
-# Cygwin - on Windows, the Java separator is ;
-# Alternative: Form in UNIX style, turn into windows form at the end.
-
-CYGWIN=0
-SEP=':'
-if [ "$OSTYPE" = "cygwin" ]
-then
- CYGWIN=1
- SEP=';'
- fi
-
-# CP is the variable collecting the path/
-# It may already have a value.
-
-CP="${CP:-}"
-
-# Append any jars in the lib/ directory
-
-for jar in "$LIBDIR"/*.jar
- do
- # Check for no expansion
- [ -e "$jar" ] || break
- # Check not sources and no javadoc.
- [ "${jar/sources}" = "${jar}" ] || continue
- [ "${jar/javadoc}" = "${jar}" ] || continue
- #echo "Path: $jar"
- [ "$CP" != "" ] && CP="${CP}${SEP}"
- CP="${CP}$jar"
-
-## # Suggested:
-## if [ "$CYGWIN" = 1 ]
-## then
-## CP="${CP}$(cygpath -wp "$jar")"
-## else
-## CP="${CP}$jar"
-## fi
-##
-done
-
-# Prepend any classes/ directory
-# As it's "prepend", we need to do it in reverse.
-for dir in "$CPDIR3" "$CPDIR2" "$CPDIR1"
-do
- if [ -e "$dir" ]
- then
- [ "$CP" != "" ] && CP="${SEP}${CP}"
- CP="${dir}$CP"
- fi
-done
-
-# Add DIRROOT
-#CP="${CP}${SEP}${DIRROOT}"
-
-## if [ "$CYGWIN" = 1 ]
-## then
-## CP="$(cygpath -w "$CP")"
-## fi
-
-echo "$CP"
http://git-wip-us.apache.org/repos/asf/jena/blob/0bbfe0b4/jena-core/bin/n3
----------------------------------------------------------------------
diff --git a/jena-core/bin/n3 b/jena-core/bin/n3
deleted file mode 100755
index ccb30fa..0000000
--- a/jena-core/bin/n3
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-## Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0
-
-if [ "$JENAROOT" = "" ]
-then
- echo "JENAROOT not set" 1>&2
- exit 1
- fi
-
-CP="$($JENAROOT/bin/jena_path)"
-
-java $SOCKS -cp "$CP" jena.n3 "$@"
http://git-wip-us.apache.org/repos/asf/jena/blob/0bbfe0b4/jena-core/bin/rdfcat
----------------------------------------------------------------------
diff --git a/jena-core/bin/rdfcat b/jena-core/bin/rdfcat
deleted file mode 100755
index 631f2ff..0000000
--- a/jena-core/bin/rdfcat
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-## Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0
-
-if [ "$JENAROOT" = "" ]
-then
- echo "JENAROOT not set" 1>&2
- exit 1
- fi
-
-CP="$($JENAROOT/bin/jena_path)"
-
-java $SOCKS -cp "$CP" jena.rdfcat "$@"
http://git-wip-us.apache.org/repos/asf/jena/blob/0bbfe0b4/jena-core/bin/rdfcompare
----------------------------------------------------------------------
diff --git a/jena-core/bin/rdfcompare b/jena-core/bin/rdfcompare
deleted file mode 100755
index 600537b..0000000
--- a/jena-core/bin/rdfcompare
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-## Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0
-
-if [ "$JENAROOT" = "" ]
-then
- echo "JENAROOT not set" 1>&2
- exit 1
- fi
-
-CP="$($JENAROOT/bin/jena_path)"
-
-java $SOCKS -cp "$CP" jena.rdfcompare "$@"
http://git-wip-us.apache.org/repos/asf/jena/blob/0bbfe0b4/jena-core/bin/rdfcopy
----------------------------------------------------------------------
diff --git a/jena-core/bin/rdfcopy b/jena-core/bin/rdfcopy
deleted file mode 100755
index 8635617..0000000
--- a/jena-core/bin/rdfcopy
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-## Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0
-
-if [ "$JENAROOT" = "" ]
-then
- echo "JENAROOT not set" 1>&2
- exit 1
- fi
-
-CP="$($JENAROOT/bin/jena_path)"
-
-java $SOCKS -cp "$CP" jena.rdfcopy "$@"
http://git-wip-us.apache.org/repos/asf/jena/blob/0bbfe0b4/jena-core/bin/rdfparse
----------------------------------------------------------------------
diff --git a/jena-core/bin/rdfparse b/jena-core/bin/rdfparse
deleted file mode 100755
index 4f1e022..0000000
--- a/jena-core/bin/rdfparse
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-## Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0
-
-if [ "$JENAROOT" = "" ]
-then
- echo "JENAROOT not set" 1>&2
- exit 1
- fi
-
-CP="$($JENAROOT/bin/jena_path)"
-
-java $SOCKS -cp "$CP" jena.rdfparse "$@"
http://git-wip-us.apache.org/repos/asf/jena/blob/0bbfe0b4/jena-core/bin/schemagen
----------------------------------------------------------------------
diff --git a/jena-core/bin/schemagen b/jena-core/bin/schemagen
deleted file mode 100755
index 9a1d527..0000000
--- a/jena-core/bin/schemagen
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-## Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0
-
-if [ "$JENAROOT" = "" ]
-then
- echo "JENAROOT not set" 1>&2
- exit 1
- fi
-
-CP="$($JENAROOT/bin/jena_path)"
-
-java $SOCKS -cp "$CP" jena.schemagen "$@"
http://git-wip-us.apache.org/repos/asf/jena/blob/0bbfe0b4/jena-core/bin/version
----------------------------------------------------------------------
diff --git a/jena-core/bin/version b/jena-core/bin/version
deleted file mode 100755
index 15a7c9d..0000000
--- a/jena-core/bin/version
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-## Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0
-
-if [ "$JENAROOT" = "" ]
-then
- echo "JENAROOT not set" 1>&2
- exit 1
- fi
-
-CP="$($JENAROOT/bin/jena_path)"
-
-java $SOCKS -cp "$CP" jena.version "$@"