embulk-input-ftp 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/build.gradle +2 -56
- data/classpath/bcpkix-jdk15on-1.52.jar +0 -0
- data/classpath/bcprov-jdk15on-1.52.jar +0 -0
- data/classpath/embulk-input-ftp-0.1.6.jar +0 -0
- data/classpath/embulk-util-ftp-0.1.6.jar +0 -0
- data/{libs → classpath}/ftp4j-1.7.2.jar +0 -0
- data/src/main/java/org/embulk/input/FtpFileInputPlugin.java +3 -4
- metadata +4 -15
- data/.gitignore +0 -8
- data/.travis.yml +0 -5
- data/ChangeLog +0 -28
- data/README.md +0 -105
- data/gradle/wrapper/gradle-wrapper.jar +0 -0
- data/gradle/wrapper/gradle-wrapper.properties +0 -6
- data/gradlew +0 -164
- data/gradlew.bat +0 -90
- data/src/main/java/org/embulk/input/ftp/BlockingTransfer.java +0 -267
- data/src/main/java/org/embulk/input/ftp/SSLPlugins.java +0 -245
- data/src/main/java/org/embulk/input/ftp/TrustManagers.java +0 -276
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 00c4a9fb76f69fd4c8cc0364d0204286c8fc00c8
|
4
|
+
data.tar.gz: 3c1c4545a7b51ae7832708b93af859fd12f5195a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7bb065f223aceb3519b07eaef2454f92dbd4832f795a5177fbb1a0fb5fcd28bb794fa59b28baead1c98b547e119737f0e3acec1dc2bf326731e590d333672c7c
|
7
|
+
data.tar.gz: 45dc1c461576924388e9ee025ce9cc0a86536d07cba5e0daa69df11c152e767bc43002e291a69be2baaecaab2acb64ed076fbedad75192a9ff8599ca87face6b
|
data/build.gradle
CHANGED
@@ -1,59 +1,8 @@
|
|
1
|
-
plugins {
|
2
|
-
id "com.jfrog.bintray" version "1.1"
|
3
|
-
id "com.github.jruby-gradle.base" version "0.1.5"
|
4
|
-
id "java"
|
5
|
-
id "jacoco"
|
6
|
-
}
|
7
|
-
import com.github.jrubygradle.JRubyExec
|
8
|
-
repositories {
|
9
|
-
mavenCentral()
|
10
|
-
jcenter()
|
11
|
-
}
|
12
|
-
configurations {
|
13
|
-
provided
|
14
|
-
}
|
15
|
-
|
16
|
-
sourceCompatibility = 1.7
|
17
|
-
targetCompatibility = 1.7
|
18
|
-
|
19
|
-
version = "0.1.5"
|
20
|
-
|
21
1
|
dependencies {
|
22
|
-
compile
|
23
|
-
provided "org.embulk:embulk-core:0.7.0"
|
24
|
-
compile files("libs/ftp4j-1.7.2.jar")
|
25
|
-
compile "org.bouncycastle:bcpkix-jdk15on:1.52"
|
26
|
-
testCompile "junit:junit:4.+"
|
27
|
-
}
|
28
|
-
|
29
|
-
task classpath(type: Copy, dependsOn: ["jar"]) {
|
30
|
-
doFirst { file("classpath").deleteDir() }
|
31
|
-
from (configurations.runtime - configurations.provided + files(jar.archivePath))
|
32
|
-
into "classpath"
|
33
|
-
}
|
34
|
-
clean { delete "classpath" }
|
35
|
-
|
36
|
-
task gem(type: JRubyExec, dependsOn: ["gemspec", "classpath"]) {
|
37
|
-
jrubyArgs "-rrubygems/gem_runner", "-eGem::GemRunner.new.run(ARGV)", "build"
|
38
|
-
script "${project.name}.gemspec"
|
39
|
-
doLast { ant.move(file: "${project.name}-${project.version}.gem", todir: "pkg") }
|
40
|
-
}
|
41
|
-
|
42
|
-
task gemPush(type: JRubyExec, dependsOn: ["gem"]) {
|
43
|
-
jrubyArgs "-rrubygems/gem_runner", "-eGem::GemRunner.new.run(ARGV)", "push"
|
44
|
-
script "pkg/${project.name}-${project.version}.gem"
|
45
|
-
}
|
46
|
-
|
47
|
-
task "package"(dependsOn: ["gemspec", "classpath"]) << {
|
48
|
-
println "> Build succeeded."
|
49
|
-
println "> You can run embulk with '-L ${file(".").absolutePath}' argument."
|
2
|
+
compile project(":embulk-util-ftp")
|
50
3
|
}
|
51
4
|
|
52
|
-
task gemspec {
|
53
|
-
ext.gemspecFile = file("${project.name}.gemspec")
|
54
|
-
inputs.file "build.gradle"
|
55
|
-
outputs.file gemspecFile
|
56
|
-
doLast { gemspecFile.write($/
|
5
|
+
task gemspec << { file("build/gemspec").write($/
|
57
6
|
Gem::Specification.new do |spec|
|
58
7
|
spec.name = "${project.name}"
|
59
8
|
spec.version = "${project.version}"
|
@@ -68,11 +17,8 @@ Gem::Specification.new do |spec|
|
|
68
17
|
spec.test_files = spec.files.grep(%r"^(test|spec)/")
|
69
18
|
spec.require_paths = ["lib"]
|
70
19
|
|
71
|
-
#spec.add_dependency 'YOUR_GEM_DEPENDENCY', ['~> YOUR_GEM_DEPENDENCY_VERSION']
|
72
20
|
spec.add_development_dependency 'bundler', ['~> 1.0']
|
73
21
|
spec.add_development_dependency 'rake', ['>= 10.0']
|
74
22
|
end
|
75
23
|
/$)
|
76
|
-
}
|
77
24
|
}
|
78
|
-
clean { delete "${project.name}.gemspec" }
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
File without changes
|
@@ -41,10 +41,9 @@ import org.embulk.spi.util.InputStreamFileInput;
|
|
41
41
|
import org.embulk.spi.util.ResumableInputStream;
|
42
42
|
import org.embulk.spi.util.RetryExecutor.Retryable;
|
43
43
|
import org.embulk.spi.util.RetryExecutor.RetryGiveupException;
|
44
|
-
import org.embulk.
|
45
|
-
import org.embulk.
|
46
|
-
import org.embulk.
|
47
|
-
import org.embulk.input.ftp.SSLPlugins.SSLPluginConfig;
|
44
|
+
import org.embulk.util.ftp.BlockingTransfer;
|
45
|
+
import org.embulk.util.ftp.SSLPlugins;
|
46
|
+
import org.embulk.util.ftp.SSLPlugins.SSLPluginConfig;
|
48
47
|
import static org.embulk.spi.util.RetryExecutor.retryExecutor;
|
49
48
|
|
50
49
|
public class FtpFileInputPlugin
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: embulk-input-ftp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sadayuki Furuhashi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-06-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -45,26 +45,15 @@ executables: []
|
|
45
45
|
extensions: []
|
46
46
|
extra_rdoc_files: []
|
47
47
|
files:
|
48
|
-
- .gitignore
|
49
|
-
- .travis.yml
|
50
|
-
- ChangeLog
|
51
|
-
- README.md
|
52
48
|
- build.gradle
|
53
|
-
- gradle/wrapper/gradle-wrapper.jar
|
54
|
-
- gradle/wrapper/gradle-wrapper.properties
|
55
|
-
- gradlew
|
56
|
-
- gradlew.bat
|
57
49
|
- lib/embulk/input/ftp.rb
|
58
|
-
- libs/ftp4j-1.7.2.jar
|
59
50
|
- src/main/java/org/embulk/input/FtpFileInputPlugin.java
|
60
|
-
- src/main/java/org/embulk/input/ftp/BlockingTransfer.java
|
61
|
-
- src/main/java/org/embulk/input/ftp/SSLPlugins.java
|
62
|
-
- src/main/java/org/embulk/input/ftp/TrustManagers.java
|
63
51
|
- src/test/java/org/embulk/input/TestFtpFileInputPlugin.java
|
64
52
|
- classpath/bcpkix-jdk15on-1.52.jar
|
53
|
+
- classpath/embulk-input-ftp-0.1.6.jar
|
65
54
|
- classpath/bcprov-jdk15on-1.52.jar
|
66
|
-
- classpath/embulk-input-ftp-0.1.5.jar
|
67
55
|
- classpath/ftp4j-1.7.2.jar
|
56
|
+
- classpath/embulk-util-ftp-0.1.6.jar
|
68
57
|
homepage: https://github.com/embulk/embulk-input-ftp
|
69
58
|
licenses:
|
70
59
|
- Apache 2.0
|
data/.gitignore
DELETED
data/.travis.yml
DELETED
data/ChangeLog
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
Release 0.1.5 - 2016-11-16
|
2
|
-
|
3
|
-
* Added support for Java7
|
4
|
-
|
5
|
-
Release 0.1.4 - 2016-11-16
|
6
|
-
|
7
|
-
* Added support for FTPES(FTPS explicit)
|
8
|
-
* Added support for incremental option
|
9
|
-
|
10
|
-
Release 0.1.3 - 2015-08-18
|
11
|
-
|
12
|
-
* Upgraded embulk version to 0.7.0
|
13
|
-
|
14
|
-
Release 0.1.2 - 2015-06-10
|
15
|
-
|
16
|
-
* Added support for SSL certificate verification
|
17
|
-
|
18
|
-
|
19
|
-
Release 0.1.1 - 2015-04-29
|
20
|
-
|
21
|
-
* Added support for SSL
|
22
|
-
* Fixed last_path handling
|
23
|
-
|
24
|
-
|
25
|
-
Release 0.1.0 - 2015-04-29
|
26
|
-
|
27
|
-
* First release
|
28
|
-
|
data/README.md
DELETED
@@ -1,105 +0,0 @@
|
|
1
|
-
# FTP file input plugin for Embulk
|
2
|
-
|
3
|
-
## Overview
|
4
|
-
|
5
|
-
This plugin support **FTP**, **FTPES(FTPS explicit)**, **FTPS(FTPS implicit)** and doesn't support **SFTP**.
|
6
|
-
|
7
|
-
If you want to use SFTP, please use [embulk-input-sftp](https://github.com/embulk/embulk-input-sftp).
|
8
|
-
|
9
|
-
|
10
|
-
* **Plugin type**: file input
|
11
|
-
* **Resume supported**: yes
|
12
|
-
* **Cleanup supported**: yes
|
13
|
-
|
14
|
-
## Configuration
|
15
|
-
|
16
|
-
- **host**: FTP server address (string, required)
|
17
|
-
- **port**: FTP server port number (integer, default: `21`. `990` if `ssl` is true and `ssl_explicit` is false)
|
18
|
-
- **user**: user name to login (string, optional)
|
19
|
-
- **password**: password to login (string, default: `""`)
|
20
|
-
- **path_prefix** prefix of target files (string, required)
|
21
|
-
- **incremental** enables incremental loading(boolean, optional. default: true. If incremental loading is enabled, config diff for the next execution will include last_path parameter so that next execution skips files before the path. Otherwise, last_path will not be included.
|
22
|
-
- **passive_mode**: use passive mode (boolean, default: true)
|
23
|
-
- **ascii_mode**: use ASCII mode instead of binary mode (boolean, default: false)
|
24
|
-
- **ssl**: use FTPS (SSL encryption). (boolean, default: false)
|
25
|
-
- **ssl_explicit** use FTPS(explicit) instead of FTPS(implicit). (boolean, default:true)
|
26
|
-
- **ssl_verify**: verify the certification provided by the server. By default, connection fails if the server certification is not signed by one the CAs in JVM's default trusted CA list. (boolean, default: true)
|
27
|
-
- **ssl_verify_hostname**: verify server's hostname matches with provided certificate. (boolean, default: true)
|
28
|
-
- **ssl_trusted_ca_cert_file**: if the server certification is not signed by a certificate authority, set path to the X.508 certification file (pem file) of a private CA (string, optional)
|
29
|
-
- **ssl_trusted_ca_cert_data**: similar to `ssl_trusted_ca_cert_file` but embed the contents of the PEM file as a string value instead of path to a local file (string, optional)
|
30
|
-
|
31
|
-
### FTP / FTPS default port number
|
32
|
-
|
33
|
-
FTP and FTPS server usually listens following port number(TCP) as default.
|
34
|
-
|
35
|
-
Please be sure to configure firewall rules.
|
36
|
-
|
37
|
-
| | FTP | FTPS(explicit) = FTPES | FTPS(implicit) = FTPS |
|
38
|
-
|:------------------------|----:|-----------------------:|----------------------:|
|
39
|
-
| Control channel port | 21 | 21 | 990 (\*1) |
|
40
|
-
| Data channel port (\*2) | 20 | 20 | 989 |
|
41
|
-
|
42
|
-
1. If you're using both of FTPS(implicit) and FTP, server may also listen 21/TCP for unecnrypted FTP.
|
43
|
-
2. If you're using `passive mode`, data channel port can be taken between 1024 and 65535.
|
44
|
-
|
45
|
-
## Example
|
46
|
-
|
47
|
-
Simple FTP:
|
48
|
-
|
49
|
-
```yaml
|
50
|
-
in:
|
51
|
-
type: ftp
|
52
|
-
host: ftp.example.net
|
53
|
-
port: 21
|
54
|
-
user: anonymous
|
55
|
-
path_prefix: /ftp/file/path/prefix
|
56
|
-
```
|
57
|
-
|
58
|
-
FTPS encryption without server certificate verification:
|
59
|
-
|
60
|
-
```yaml
|
61
|
-
in:
|
62
|
-
type: ftp
|
63
|
-
host: ftp.example.net
|
64
|
-
port: 21
|
65
|
-
user: anonymous
|
66
|
-
password: "mypassword"
|
67
|
-
path_prefix: /ftp/file/path/prefix
|
68
|
-
|
69
|
-
ssl: true
|
70
|
-
ssl_verify: false
|
71
|
-
```
|
72
|
-
|
73
|
-
FTPS encryption with server certificate verification:
|
74
|
-
|
75
|
-
```yaml
|
76
|
-
in:
|
77
|
-
type: ftp
|
78
|
-
host: ftp.example.net
|
79
|
-
port: 21
|
80
|
-
user: anonymous
|
81
|
-
password: "mypassword"
|
82
|
-
path_prefix: /ftp/file/path/prefix
|
83
|
-
|
84
|
-
ssl: true
|
85
|
-
ssl_verify: true
|
86
|
-
|
87
|
-
ssl_verify_hostname: false # to disable server hostname verification (optional)
|
88
|
-
|
89
|
-
# if the server use self-signed certificate, or set path to the pem file (optional)
|
90
|
-
ssl_trusted_ca_cert_file: /path/to/ca_cert.pem
|
91
|
-
|
92
|
-
# or embed contents of the pem file here (optional)
|
93
|
-
ssl_trusted_ca_cert_data: |
|
94
|
-
-----BEGIN CERTIFICATE-----
|
95
|
-
MIIFV...
|
96
|
-
...
|
97
|
-
...
|
98
|
-
-----END CERTIFICATE-----
|
99
|
-
```
|
100
|
-
|
101
|
-
## Build
|
102
|
-
|
103
|
-
```
|
104
|
-
$ ./gradlew gem
|
105
|
-
```
|
Binary file
|
data/gradlew
DELETED
@@ -1,164 +0,0 @@
|
|
1
|
-
#!/usr/bin/env bash
|
2
|
-
|
3
|
-
##############################################################################
|
4
|
-
##
|
5
|
-
## Gradle start up script for UN*X
|
6
|
-
##
|
7
|
-
##############################################################################
|
8
|
-
|
9
|
-
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
10
|
-
DEFAULT_JVM_OPTS=""
|
11
|
-
|
12
|
-
APP_NAME="Gradle"
|
13
|
-
APP_BASE_NAME=`basename "$0"`
|
14
|
-
|
15
|
-
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
16
|
-
MAX_FD="maximum"
|
17
|
-
|
18
|
-
warn ( ) {
|
19
|
-
echo "$*"
|
20
|
-
}
|
21
|
-
|
22
|
-
die ( ) {
|
23
|
-
echo
|
24
|
-
echo "$*"
|
25
|
-
echo
|
26
|
-
exit 1
|
27
|
-
}
|
28
|
-
|
29
|
-
# OS specific support (must be 'true' or 'false').
|
30
|
-
cygwin=false
|
31
|
-
msys=false
|
32
|
-
darwin=false
|
33
|
-
case "`uname`" in
|
34
|
-
CYGWIN* )
|
35
|
-
cygwin=true
|
36
|
-
;;
|
37
|
-
Darwin* )
|
38
|
-
darwin=true
|
39
|
-
;;
|
40
|
-
MINGW* )
|
41
|
-
msys=true
|
42
|
-
;;
|
43
|
-
esac
|
44
|
-
|
45
|
-
# For Cygwin, ensure paths are in UNIX format before anything is touched.
|
46
|
-
if $cygwin ; then
|
47
|
-
[ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
|
48
|
-
fi
|
49
|
-
|
50
|
-
# Attempt to set APP_HOME
|
51
|
-
# Resolve links: $0 may be a link
|
52
|
-
PRG="$0"
|
53
|
-
# Need this for relative symlinks.
|
54
|
-
while [ -h "$PRG" ] ; do
|
55
|
-
ls=`ls -ld "$PRG"`
|
56
|
-
link=`expr "$ls" : '.*-> \(.*\)$'`
|
57
|
-
if expr "$link" : '/.*' > /dev/null; then
|
58
|
-
PRG="$link"
|
59
|
-
else
|
60
|
-
PRG=`dirname "$PRG"`"/$link"
|
61
|
-
fi
|
62
|
-
done
|
63
|
-
SAVED="`pwd`"
|
64
|
-
cd "`dirname \"$PRG\"`/" >&-
|
65
|
-
APP_HOME="`pwd -P`"
|
66
|
-
cd "$SAVED" >&-
|
67
|
-
|
68
|
-
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
69
|
-
|
70
|
-
# Determine the Java command to use to start the JVM.
|
71
|
-
if [ -n "$JAVA_HOME" ] ; then
|
72
|
-
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
73
|
-
# IBM's JDK on AIX uses strange locations for the executables
|
74
|
-
JAVACMD="$JAVA_HOME/jre/sh/java"
|
75
|
-
else
|
76
|
-
JAVACMD="$JAVA_HOME/bin/java"
|
77
|
-
fi
|
78
|
-
if [ ! -x "$JAVACMD" ] ; then
|
79
|
-
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
|
80
|
-
|
81
|
-
Please set the JAVA_HOME variable in your environment to match the
|
82
|
-
location of your Java installation."
|
83
|
-
fi
|
84
|
-
else
|
85
|
-
JAVACMD="java"
|
86
|
-
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
87
|
-
|
88
|
-
Please set the JAVA_HOME variable in your environment to match the
|
89
|
-
location of your Java installation."
|
90
|
-
fi
|
91
|
-
|
92
|
-
# Increase the maximum file descriptors if we can.
|
93
|
-
if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
|
94
|
-
MAX_FD_LIMIT=`ulimit -H -n`
|
95
|
-
if [ $? -eq 0 ] ; then
|
96
|
-
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
|
97
|
-
MAX_FD="$MAX_FD_LIMIT"
|
98
|
-
fi
|
99
|
-
ulimit -n $MAX_FD
|
100
|
-
if [ $? -ne 0 ] ; then
|
101
|
-
warn "Could not set maximum file descriptor limit: $MAX_FD"
|
102
|
-
fi
|
103
|
-
else
|
104
|
-
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
|
105
|
-
fi
|
106
|
-
fi
|
107
|
-
|
108
|
-
# For Darwin, add options to specify how the application appears in the dock
|
109
|
-
if $darwin; then
|
110
|
-
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
|
111
|
-
fi
|
112
|
-
|
113
|
-
# For Cygwin, switch paths to Windows format before running java
|
114
|
-
if $cygwin ; then
|
115
|
-
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
|
116
|
-
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
|
117
|
-
|
118
|
-
# We build the pattern for arguments to be converted via cygpath
|
119
|
-
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
|
120
|
-
SEP=""
|
121
|
-
for dir in $ROOTDIRSRAW ; do
|
122
|
-
ROOTDIRS="$ROOTDIRS$SEP$dir"
|
123
|
-
SEP="|"
|
124
|
-
done
|
125
|
-
OURCYGPATTERN="(^($ROOTDIRS))"
|
126
|
-
# Add a user-defined pattern to the cygpath arguments
|
127
|
-
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
|
128
|
-
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
|
129
|
-
fi
|
130
|
-
# Now convert the arguments - kludge to limit ourselves to /bin/sh
|
131
|
-
i=0
|
132
|
-
for arg in "$@" ; do
|
133
|
-
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
|
134
|
-
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
|
135
|
-
|
136
|
-
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
|
137
|
-
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
|
138
|
-
else
|
139
|
-
eval `echo args$i`="\"$arg\""
|
140
|
-
fi
|
141
|
-
i=$((i+1))
|
142
|
-
done
|
143
|
-
case $i in
|
144
|
-
(0) set -- ;;
|
145
|
-
(1) set -- "$args0" ;;
|
146
|
-
(2) set -- "$args0" "$args1" ;;
|
147
|
-
(3) set -- "$args0" "$args1" "$args2" ;;
|
148
|
-
(4) set -- "$args0" "$args1" "$args2" "$args3" ;;
|
149
|
-
(5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
|
150
|
-
(6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
|
151
|
-
(7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
|
152
|
-
(8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
|
153
|
-
(9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
|
154
|
-
esac
|
155
|
-
fi
|
156
|
-
|
157
|
-
# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
|
158
|
-
function splitJvmOpts() {
|
159
|
-
JVM_OPTS=("$@")
|
160
|
-
}
|
161
|
-
eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
|
162
|
-
JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
|
163
|
-
|
164
|
-
exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
|