You would like to use JavaSVN when you need to access or modify Subversion repository from your Java application, be it a standalone program, plugin or web application. Being a pure Java program, JavaSVN doesn't need any additional configuration or native binaries to work on any OS that runs Java. JavaSVN Features: * No external binaries or libraries are needed. * JavaSVN supports http, https, svn and svn+ssh connection protocols. * Low level API allows effective direct Subversion repository access. * Compatible with applications that already use native javahl bindings. WWW: http://tmate.org/svn/ PR: 84613 Submitted by: Gerrit Beine <tux@pinguru.net>
17 lines
489 B
Bash
17 lines
489 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
|
|
JAVASVN_HOME=${JAVASVN_HOME:-"%%DATADIR%%"}
|
|
JAVASVN_CP=${JAVASVN_HOME}/javasvn.jar:${JAVASVN_HOME}/javasvn-cli.jar:${JAVASVN_HOME}/jsch.jar
|
|
JAVASVN_LOGDIR=${JAVASVN_LOGDIR:-"${HOME}/.javasvn"}
|
|
|
|
if [ ! -d ${JAVASVN_LOGDIR} ]; then
|
|
mkdir ${JAVASVN_LOGDIR}
|
|
fi
|
|
|
|
JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" \
|
|
${JAVASVN_OPTS} \
|
|
-Djava.util.logging.config.file="${JAVASVN_HOME}/logging.properties" \
|
|
-cp "${JAVASVN_CP}" \
|
|
org.tmatesoft.svn.cli.SVN "$@"
|