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 2023/05/23 07:27:01 UTC

[jena] branch main updated: Prepend Jena classpath to existing CLASSPATH

This is an automated email from the ASF dual-hosted git repository.

andy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/jena.git


The following commit(s) were added to refs/heads/main by this push:
     new 39e7f23b2f Prepend Jena classpath to existing CLASSPATH
     new e7d78fc007 Merge pull request #1877 from rybesh/main
39e7f23b2f is described below

commit 39e7f23b2f3abca2b61bdc84c883a4f00e84a527
Author: Ryan Shaw <ry...@unc.edu>
AuthorDate: Mon May 22 20:24:07 2023 -0400

    Prepend Jena classpath to existing CLASSPATH
    
    This allows users of command-line tools to easily modify the the classpath to include locations of user-defined classes.
---
 apache-jena/template.bin | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apache-jena/template.bin b/apache-jena/template.bin
index daadfd89c7..42e7dc7e83 100644
--- a/apache-jena/template.bin
+++ b/apache-jena/template.bin
@@ -105,4 +105,4 @@ then
     JVM_ARGS="$JVM_ARGS -Djava.io.tmpdir=\"$TMP\""
 fi
 
-"$JAVA" $JVM_ARGS $LOGGING -cp "$JENA_CP" JENA_CMD "$@" 
+"$JAVA" $JVM_ARGS $LOGGING -cp "$JENA_CP:$CLASSPATH" JENA_CMD "$@"