FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
gateplugin-StringAnnotation/bin/createCache.sh at master · GateNLP/gateplugin-StringAnnotation · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
GateNLP
/
gateplugin-StringAnnotation
Public
Notifications
You must be signed in to change notification settings
Fork
1
Star
1
Code
Issues
12
Pull requests
2
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
gateplugin-StringAnnotation
/
bin
/
createCache.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
38 lines (33 loc) · 907 Bytes
Breadcrumbs
gateplugin-StringAnnotation
/
bin
/
createCache.sh
Copy path
File metadata and controls
executable file
·
38 lines (33 loc) · 907 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!
/bin/bash
if
[
"
${GATE_HOME}
"
==
"
"
]
then
echo
Environment variable GATE_HOME not
set
exit
1
fi
PRG=
"
$0
"
CURDIR=
"
`
pwd
`
"
#
need this for relative symlinks
while
[
-h
"
$PRG
"
]
;
do
ls=
`
ls -ld
"
$PRG
"
`
link=
`
expr
"
$ls
"
:
'
.*-> \(.*\)$
'
`
if
expr
"
$link
"
:
'
/.*
'
>
/dev/null
;
then
PRG=
"
$link
"
else
PRG=
`
dirname
"
$PRG
"
`
"
/
$link
"
fi
done
SCRIPTDIR=
`
dirname
"
$PRG
"
`
ROOTDIR=
`
cd
"
$SCRIPTDIR
/..
"
;
pwd
-P
`
pluginDir=
"
$ROOTDIR
"
if
[[
!
-f
"
$ROOTDIR
/runner/stringannotation-runner.classpath
"
]]
then
echo
Generating the classpath file
"
$ROOTDIR
/runner/stringannotation-runner.classpath
"
curdir=
`
pwd
`
cd
"
$OOTDIR
"
mvn install -DskipTests
cd
"
$ROOTDIR
/runner/
"
mvn install -DskipTests
fi
classpath=
`
cat
"
$ROOTDIR
/runner/stringannotation-runner.classpath
"
`
#
echo classpath is $classpath
java -cp
"
$classpath
"
com.jpetrak.gate.stringannotation.extendedgazetteer.GenerateCache
"
$@
"
Back
|
FazBrowse Home
|
New Git URL