Skip to content
This repository was archived by the owner on Jul 6, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ rpmversion := $(versionnumber)-$(release)

GRADLE = ./gradlew -PbuildVersion=$(buildversion)

jarfile := cypher-shell-all.jar
jarfile := cypher-shell.jar
rpmfile := cypher-shell-$(rpmversion).noarch.rpm
debfile := cypher-shell_$(debversion)_all.deb

Expand Down
5 changes: 2 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.3'
classpath 'info.solidsoft.gradle.pitest:gradle-pitest-plugin:1.1.9'
classpath 'com.github.jengelman.gradle.plugins:shadow:4.0.2'
classpath 'info.solidsoft.gradle.pitest:gradle-pitest-plugin:1.4.0'
}
}

Expand Down Expand Up @@ -40,7 +40,6 @@ subprojects {
apply plugin: 'distribution'
apply plugin: 'com.github.johnrengelman.shadow'
apply from: "$rootProject.projectDir/gradle/integration-test.gradle"
apply plugin: 'pmd'
apply plugin: 'jacoco'
apply plugin: 'info.solidsoft.pitest'

Expand Down
2 changes: 1 addition & 1 deletion cypher-shell/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ task generateBuildProperties {
}
}

processResources.dependsOn generateBuildProperties
processResources.finalizedBy generateBuildProperties

jar {
manifest {
Expand Down
4 changes: 2 additions & 2 deletions cypher-shell/src/dist/cypher-shell
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ _show_java_help() {
build_classpath() {
APP_HOME="$(cd "$(dirname "$0")" && pwd)"
# First try in sub directory
JARPATH="$(find "${APP_HOME}" -name "cypher-shell-all.jar" )"
JARPATH="$(find "${APP_HOME}" -name "cypher-shell.jar" )"

# Then try installation directory (prefix/bin and prefix/share/cypher-shell/lib)
if [[ -z "${JARPATH}" ]]; then
APP_HOME="${APP_HOME}/../share/cypher-shell"
JARPATH="$(find "${APP_HOME}" -name "cypher-shell-all.jar" )"
JARPATH="$(find "${APP_HOME}" -name "cypher-shell.jar" )"
fi
}

Expand Down
2 changes: 1 addition & 1 deletion cypher-shell/src/dist/cypher-shell.bat
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ set CMD_LINE_ARGS=%$

SETLOCAL EnableDelayedExpansion
SET CYPHER_SHELL_JAR=
FOR /f "delims=" %%a in ('dir "%NEO4J_HOME%\cypher-shell-all.jar" /s/b') do set CYPHER_SHELL_JAR=!CYPHER_SHELL_JAR!%%a
FOR /f "delims=" %%a in ('dir "%NEO4J_HOME%\cypher-shell.jar" /s/b') do set CYPHER_SHELL_JAR=!CYPHER_SHELL_JAR!%%a

@rem Execute cypher-shell
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %CYPHER_SHELL_OPTS% -jar "%CYPHER_SHELL_JAR%" %CMD_LINE_ARGS%
Expand Down
2 changes: 1 addition & 1 deletion gradle/integration-test.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies {

// Define integration test task
task integrationTest(type: Test) {
testClassesDir = sourceSets.integrationTest.output.classesDir
testClassesDirs = sourceSets.integrationTest.output.classesDirs
classpath = sourceSets.integrationTest.runtimeClasspath
}

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.4.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.2.1-bin.zip
2 changes: 1 addition & 1 deletion packaging/debian/cypher-shell.install
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
cypher-shell/build/install/cypher-shell/cypher-shell usr/bin
cypher-shell/build/install/cypher-shell/cypher-shell-all.jar usr/share/cypher-shell/lib
cypher-shell/build/install/cypher-shell/cypher-shell.jar usr/share/cypher-shell/lib