libis-format 0.9.30 → 0.9.32

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.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/lib/libis/format/converter/image_converter.rb +2 -2
  3. data/lib/libis/format/office_to_pdf.rb +1 -1
  4. data/lib/libis/format/version.rb +1 -1
  5. data/spec/converter_spec.rb +43 -27
  6. data/spec/data/test-options.png +0 -0
  7. data/spec/data/test.pdf.tif +0 -0
  8. data/tools/droid/{DROID_SignatureFile_V82.xml → DROID_SignatureFile_V90.xml} +8202 -701
  9. data/tools/droid/{container-signature-20150307.xml → container-signature-20170330.xml} +3584 -2235
  10. data/tools/droid/droid-command-line-6.3.jar +0 -0
  11. data/tools/droid/droid.bat +152 -154
  12. data/tools/droid/droid.sh +30 -16
  13. data/tools/droid/lib/aspectjrt-1.8.7.jar +0 -0
  14. data/tools/droid/lib/aspectjweaver-1.8.7.jar +0 -0
  15. data/tools/droid/lib/byteseek-2.0.3.jar +0 -0
  16. data/tools/droid/lib/commons-codec-1.10.jar +0 -0
  17. data/tools/droid/lib/commons-collections-3.2.2.jar +0 -0
  18. data/tools/droid/lib/droid-container-6.3.jar +0 -0
  19. data/tools/droid/lib/droid-core-6.3.jar +0 -0
  20. data/tools/droid/lib/droid-core-interfaces-6.3.jar +0 -0
  21. data/tools/droid/lib/droid-export-6.3.jar +0 -0
  22. data/tools/droid/lib/droid-export-interfaces-6.3.jar +0 -0
  23. data/tools/droid/lib/{droid-help-6.1.5.jar → droid-help-6.3.jar} +0 -0
  24. data/tools/droid/lib/droid-report-6.3.jar +0 -0
  25. data/tools/droid/lib/droid-report-interfaces-6.3.jar +0 -0
  26. data/tools/droid/lib/droid-results-6.3.jar +0 -0
  27. data/tools/droid/lib/jwat-arc-1.0.3.jar +0 -0
  28. data/tools/droid/lib/jwat-archive-common-1.0.3.jar +0 -0
  29. data/tools/droid/lib/jwat-common-1.0.3.jar +0 -0
  30. data/tools/droid/lib/jwat-gzip-1.0.3.jar +0 -0
  31. data/tools/droid/lib/jwat-warc-1.0.2.jar +0 -0
  32. data/tools/droid/lib/poi-3.13.jar +0 -0
  33. data/tools/droid/lib/saaj-api-1.3.jar +0 -0
  34. data/tools/droid/lib/trove4j-3.0.3.jar +0 -0
  35. data/tools/fido/__init__.py +50 -0
  36. data/tools/fido/conf/DROID_SignatureFile-v90.xml +2 -0
  37. data/tools/fido/conf/{container-signature-20150307.xml → container-signature-20170330.xml} +1487 -141
  38. data/tools/fido/conf/format_extensions.xml +0 -14
  39. data/tools/fido/conf/{formats-v81.xml → formats-v90.xml} +11409 -887
  40. data/tools/fido/conf/{pronom-xml-v81.zip → pronom-xml-v90.zip} +0 -0
  41. data/tools/fido/conf/versions.xml +6 -6
  42. data/tools/fido/fido.py +437 -407
  43. data/tools/fido/package.py +96 -0
  44. data/tools/fido/prepare.py +217 -188
  45. data/tools/fido/pronomutils.py +143 -58
  46. data/tools/fido/toxml.py +54 -46
  47. data/tools/fido/update_signatures.py +139 -127
  48. metadata +34 -40
  49. data/tools/droid/droid-command-line-6.1.5.jar +0 -0
  50. data/tools/droid/lib/antlr-2.7.7.jar +0 -0
  51. data/tools/droid/lib/antlr-3.2.jar +0 -0
  52. data/tools/droid/lib/antlr-runtime-3.2.jar +0 -0
  53. data/tools/droid/lib/aspectjrt-1.7.2.jar +0 -0
  54. data/tools/droid/lib/aspectjweaver-1.7.2.jar +0 -0
  55. data/tools/droid/lib/byteseek-1.1.1.jar +0 -0
  56. data/tools/droid/lib/commons-codec-1.4.jar +0 -0
  57. data/tools/droid/lib/commons-collections-3.2.1.jar +0 -0
  58. data/tools/droid/lib/dom4j-1.6.1.jar +0 -0
  59. data/tools/droid/lib/droid-container-6.1.5.jar +0 -0
  60. data/tools/droid/lib/droid-core-6.1.5.jar +0 -0
  61. data/tools/droid/lib/droid-core-interfaces-6.1.5.jar +0 -0
  62. data/tools/droid/lib/droid-export-6.1.5.jar +0 -0
  63. data/tools/droid/lib/droid-export-interfaces-6.1.5.jar +0 -0
  64. data/tools/droid/lib/droid-report-6.1.5.jar +0 -0
  65. data/tools/droid/lib/droid-report-interfaces-6.1.5.jar +0 -0
  66. data/tools/droid/lib/droid-results-6.1.5.jar +0 -0
  67. data/tools/droid/lib/ejb3-persistence-1.0.2.GA.jar +0 -0
  68. data/tools/droid/lib/hibernate-commons-annotations-4.0.4.Final.jar +0 -0
  69. data/tools/droid/lib/hibernate-core-4.3.5.Final.jar +0 -0
  70. data/tools/droid/lib/hibernate-entitymanager-4.3.5.Final.jar +0 -0
  71. data/tools/droid/lib/hibernate-jpa-2.1-api-1.0.0.Final.jar +0 -0
  72. data/tools/droid/lib/jandex-1.1.0.Final.jar +0 -0
  73. data/tools/droid/lib/javassist-3.18.1-GA.jar +0 -0
  74. data/tools/droid/lib/jboss-logging-annotations-1.2.0.Beta1.jar +0 -0
  75. data/tools/droid/lib/jboss-transaction-api_1.2_spec-1.0.0.Final.jar +0 -0
  76. data/tools/droid/lib/poi-3.7.jar +0 -0
  77. data/tools/droid/lib/stringtemplate-3.2.jar +0 -0
  78. data/tools/fido/argparselocal.py +0 -2355
  79. data/tools/fido/conf/DROID_SignatureFile-v81.xml +0 -2
@@ -1,154 +1,152 @@
1
- @REM
2
- @REM Copyright (c) 2012, The National Archives <pronom@nationalarchives.gsi.gov.uk>
3
- @REM All rights reserved.
4
- @REM
5
- @REM Redistribution and use in source and binary forms, with or without
6
- @REM modification, are permitted provided that the following
7
- @REM conditions are met:
8
- @REM
9
- @REM * Redistributions of source code must retain the above copyright
10
- @REM notice, this list of conditions and the following disclaimer.
11
- @REM
12
- @REM * Redistributions in binary form must reproduce the above copyright
13
- @REM notice, this list of conditions and the following disclaimer in the
14
- @REM documentation and/or other materials provided with the distribution.
15
- @REM
16
- @REM * Neither the name of the The National Archives nor the
17
- @REM names of its contributors may be used to endorse or promote products
18
- @REM derived from this software without specific prior written permission.
19
- @REM
20
- @REM THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21
- @REM AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22
- @REM IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23
- @REM PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
24
- @REM CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25
- @REM EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26
- @REM PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
27
- @REM PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
28
- @REM LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
29
- @REM NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
30
- @REM SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31
- @REM
32
-
33
- @ECHO OFF
34
-
35
- REM DROID launch script for Windows systems
36
- REM ========================================
37
-
38
- REM Settings:
39
- REM =========
40
-
41
- REM Default user dir:
42
- REM -----------------
43
- REM This is where droid will place user settings
44
- REM If not set, it will default to a directory called ".droid6"
45
- REM under the user's home directory.
46
- REM Also configure this property using the environment variable: droidUserDir
47
- REM Remove the "REM " from the line below and set the working dir path after the "=".
48
- REM SET droidUser=
49
-
50
-
51
- REM Default temporary file dir:
52
- REM ---------------------------
53
- REM This is where droid will place temporary working files,
54
- REM including decompressed archival files and working profile databases.
55
- REM If not set, it will default to the droidUserDir
56
- REM (by default, under the user's home directory)
57
- REM Also configure this property using the environment variable: droidTempDir
58
- REM Remove the "REM " from the line below and set the working dir path after the "=".
59
- REM SET droidTemp=
60
-
61
-
62
- REM Default log dir:
63
- REM ----------------
64
- REM This is where droid will write its log files.
65
- REM If not set, it will default to a folder called "logs"
66
- REM under the droidUserDir.
67
- REM Also configure this property using the environment variable: droidLogDir
68
- REM Remove the "REM " from the line below and set the log dir path after the "=".
69
- REM SET droidLog=
70
-
71
-
72
- REM Log configuration:
73
- REM ------------------
74
- REM This is the location of the lo4j configuration file to use.
75
- REM By default, it will use a file called "log4j.properties"
76
- REM which is found under the droidUserDir.
77
- REM Also configure this property using the environment variable: log4j.configuration
78
- REM Remove the "REM " from the line below and set the log config file path after the "=".
79
- REM SET log4j=
80
-
81
-
82
- REM Default console logging level:
83
- REM ------------------------------
84
- REM This allows you to set the default logging level used by
85
- REM DROID when logging to the command line console. If not set,
86
- REM it defaults to INFO level logging, unless running in quiet
87
- REM mode from the command-line, in which case the log level is
88
- REM overridden to be ERROR.
89
- REM SET logLevel=INFO
90
-
91
-
92
- REM Maximum memory:
93
- REM ---------------
94
- REM This is the maximum memory DROID can use in megabytes.
95
- REM Remove the "REM " from the line below and set the maximum memory after the "=".
96
- REM Also configure this property using the environment variable: droidMemory.
97
- REM SET droidMemory=512
98
-
99
-
100
-
101
- REM Assemble options
102
- REM ================
103
- REM default to using 512 megabytes of memory if no other settings provided:
104
- SET DROIDOPTIONS="-Xmx512m"
105
-
106
- IF "%droidMemory%"=="" GOTO UserDir
107
- SET DROIDOPTIONS="-Xmx%droidMemory%m"
108
-
109
- :UserDir
110
- IF "%droidUser%"=="" GOTO TempDir
111
- SET DROIDOPTIONS=%DROIDOPTIONS% "-DdroidUserDir=%droidUser%"
112
-
113
- :TempDir
114
- IF "%droidTemp%"=="" GOTO LogOptions
115
- SET DROIDOPTIONS=%DROIDOPTIONS% "-DdroidTempDir=%droidTemp%"
116
-
117
- :LogOptions
118
- IF "%droidLog%"=="" GOTO Log4JConfig
119
- SET DROIDOPTIONS=%DROIDOPTIONS% "-DdroidLogDir=%droidLog%"
120
-
121
- :Log4JConfig
122
- IF "%log4j%"=="" GOTO LogLevel
123
- SET DROIDOPTIONS=%DROIDOPTIONS% "-Dlog4j.configuration=%log4j%"
124
-
125
- :LogLevel
126
- IF "%logLevel%"=="" GOTO RunDROID
127
- SET DROIDOPTIONS=%DROIDOPTIONS% "-DconsoleLogThreshold=%logLevel%"
128
-
129
-
130
- REM Run DROID:
131
- REM ==========
132
- :RunDROID
133
-
134
- SET BASEDIR=%~dp0
135
-
136
- REM ECHO Running DROID with the following options: %DROIDOPTIONS%
137
-
138
- REM Choose whether to run the command line or gui version of DROID:
139
- IF "%1"=="" GOTO NOPARAM
140
-
141
- :PARAM
142
- REM has command line parameters passed - run command line version:
143
- java %DROIDOPTIONS% -jar %BASEDIR%\droid-command-line-6.1.5.jar %*
144
-
145
- GOTO end
146
-
147
- :NOPARAM
148
- REM no command line parameters passed - run GUI version:
149
- start javaw %DROIDOPTIONS% -jar %BASEDIR%\droid\droid-ui-6.1.5.jar
150
-
151
- :END
152
-
153
-
154
-
1
+ @REM
2
+ @REM Copyright (c) 2016, The National Archives <pronom@nationalarchives.gsi.gov.uk>
3
+ @REM All rights reserved.
4
+ @REM
5
+ @REM Redistribution and use in source and binary forms, with or without
6
+ @REM modification, are permitted provided that the following
7
+ @REM conditions are met:
8
+ @REM
9
+ @REM * Redistributions of source code must retain the above copyright
10
+ @REM notice, this list of conditions and the following disclaimer.
11
+ @REM
12
+ @REM * Redistributions in binary form must reproduce the above copyright
13
+ @REM notice, this list of conditions and the following disclaimer in the
14
+ @REM documentation and/or other materials provided with the distribution.
15
+ @REM
16
+ @REM * Neither the name of the The National Archives nor the
17
+ @REM names of its contributors may be used to endorse or promote products
18
+ @REM derived from this software without specific prior written permission.
19
+ @REM
20
+ @REM THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21
+ @REM AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22
+ @REM IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23
+ @REM PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
24
+ @REM CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25
+ @REM EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26
+ @REM PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
27
+ @REM PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
28
+ @REM LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
29
+ @REM NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
30
+ @REM SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31
+ @REM
32
+
33
+ @ECHO OFF
34
+
35
+ REM DROID launch script for Windows systems
36
+ REM ========================================
37
+
38
+ REM Settings:
39
+ REM =========
40
+
41
+ REM Default user dir:
42
+ REM -----------------
43
+ REM This is where DROID will place user settings
44
+ REM If not set, it will default to a directory called ".droid6"
45
+ REM under the user's home directory.
46
+ REM Also configure this property using the environment variable: droidUserDir
47
+ REM Remove the "REM " from the line below and set the working dir path after the "=".
48
+ REM SET droidUser=
49
+
50
+
51
+ REM Default temporary file dir:
52
+ REM ---------------------------
53
+ REM This is where DROID will place temporary working files,
54
+ REM including decompressed archival files and working profile databases.
55
+ REM If not set, it will default to the droidUserDir
56
+ REM (by default, under the user's home directory)
57
+ REM Also configure this property using the environment variable: droidTempDir
58
+ REM Remove the "REM " from the line below and set the working dir path after the "=".
59
+ REM SET droidTemp=
60
+
61
+
62
+ REM Default log dir:
63
+ REM ----------------
64
+ REM This is where DROID will write its log files.
65
+ REM If not set, it will default to a folder called "logs"
66
+ REM under the droidUserDir.
67
+ REM Also configure this property using the environment variable: droidLogDir
68
+ REM Remove the "REM " from the line below and set the log dir path after the "=".
69
+ REM SET droidLog=
70
+
71
+
72
+ REM Log configuration:
73
+ REM ------------------
74
+ REM This is the location of the lo4j configuration file to use.
75
+ REM By default, it will use a file called "log4j.properties"
76
+ REM which is found under the droidUserDir.
77
+ REM Also configure this property using the environment variable: log4j.configuration
78
+ REM Remove the "REM " from the line below and set the log config file path after the "=".
79
+ REM SET log4j=
80
+
81
+
82
+ REM Default console logging level:
83
+ REM ------------------------------
84
+ REM This allows you to set the default logging level used by
85
+ REM DROID when logging to the command-line console. If not set,
86
+ REM it defaults to INFO level logging, unless running in quiet
87
+ REM mode from the command line, in which case the log level is
88
+ REM overridden to be ERROR.
89
+ REM SET logLevel=INFO
90
+
91
+
92
+ REM Maximum memory:
93
+ REM ---------------
94
+ REM This is the maximum memory DROID can use in megabytes.
95
+ REM Remove the "REM " from the line below and set the maximum memory after the "=".
96
+ REM Also configure this property using the environment variable: droidMemory.
97
+ REM SET droidMemory=512
98
+
99
+
100
+
101
+ REM Assemble options
102
+ REM ================
103
+ REM Default to using 512 megabytes of memory if no other settings provided:
104
+ SET DROID_OPTIONS="-Xmx512m"
105
+
106
+ IF "%droidMemory%"=="" GOTO UserDir
107
+ SET DROID_OPTIONS="-Xmx%droidMemory%m"
108
+
109
+ :UserDir
110
+ IF "%droidUser%"=="" GOTO TempDir
111
+ SET DROID_OPTIONS=%DROID_OPTIONS% "-DdroidUserDir=%droidUser%"
112
+
113
+ :TempDir
114
+ IF "%droidTemp%"=="" GOTO LogOptions
115
+ SET DROID_OPTIONS=%DROID_OPTIONS% "-DdroidTempDir=%droidTemp%"
116
+
117
+ :LogOptions
118
+ IF "%droidLog%"=="" GOTO Log4JConfig
119
+ SET DROID_OPTIONS=%DROID_OPTIONS% "-DdroidLogDir=%droidLog%"
120
+
121
+ :Log4JConfig
122
+ IF "%log4j%"=="" GOTO LogLevel
123
+ SET DROID_OPTIONS=%DROID_OPTIONS% "-Dlog4j.configuration=%log4j%"
124
+
125
+ :LogLevel
126
+ IF "%logLevel%"=="" GOTO RunDROID
127
+ SET DROID_OPTIONS=%DROID_OPTIONS% "-DconsoleLogThreshold=%logLevel%"
128
+
129
+
130
+ REM Run DROID:
131
+ REM ==========
132
+ :RunDROID
133
+
134
+ REM Infer DROID_HOME from script location
135
+ SET DROID_HOME=%~dp0
136
+
137
+ REM ECHO Running DROID with the following options: %DROID_OPTIONS%
138
+
139
+ REM Choose whether to run the command-line or GUI version of DROID:
140
+ IF "%1"=="" GOTO NOPARAM
141
+
142
+ :PARAM
143
+ REM Has command-line parameters -- run command-line version:
144
+ java %DROID_OPTIONS% -jar "%DROID_HOME%droid-command-line-6.3.jar" %*
145
+
146
+ GOTO end
147
+
148
+ :NOPARAM
149
+ REM No command-line parameters passed -- run GUI version:
150
+ start javaw %DROID_OPTIONS% -jar "%DROID_HOME%droid-ui-6.3.jar"
151
+
152
+ :END
data/tools/droid/droid.sh CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/bin/sh
2
2
  #
3
- # Copyright (c) 2012, The National Archives <pronom@nationalarchives.gsi.gov.uk>
3
+ # Copyright (c) 2016, The National Archives <pronom@nationalarchives.gsi.gov.uk>
4
4
  # All rights reserved.
5
5
  #
6
6
  # Redistribution and use in source and binary forms, with or without
@@ -40,7 +40,7 @@
40
40
 
41
41
  # Default work dir: droidUserDir
42
42
  # ------------------------------
43
- # This is where droid will place user settings
43
+ # This is where DROID will place user settings
44
44
  # If not set, it will default to a directory called ".droid6"
45
45
  # under the user's home directory.
46
46
  # It can be configured using this property, or by an environment
@@ -49,7 +49,7 @@ droidUserDir=""
49
49
 
50
50
  # Default work dir: droidTempDir
51
51
  # ------------------------------
52
- # This is where droid will create temporary files.
52
+ # This is where DROID will create temporary files.
53
53
  # If not set, it will default to a directory called "tmp"
54
54
  # under the droid user directory.
55
55
  # It can be configured using this property, or by an environment
@@ -58,14 +58,13 @@ droidTempDir=""
58
58
 
59
59
  # Default log dir: droidLogDir
60
60
  # ----------------------------
61
- # This is where droid will write its log files.
61
+ # This is where DROID will write its log files.
62
62
  # If not set, it will default to a folder called "logs"
63
63
  # under the droidWorkDir.
64
64
  # It can be configured using this property, or by an environment
65
65
  # variable of the same name.
66
66
  droidLogDir=""
67
67
 
68
-
69
68
  # Log configuration: log4j
70
69
  # ------------------------
71
70
  # This is the location of the lo4j configuration file to use.
@@ -75,7 +74,6 @@ droidLogDir=""
75
74
  # variable called log4j.configuration
76
75
  log4j=""
77
76
 
78
-
79
77
  # Default console logging level
80
78
  # -----------------------------
81
79
  # This allows you to set the default logging level used by DROID
@@ -91,22 +89,40 @@ logLevel=""
91
89
  droidMemory="512m"
92
90
 
93
91
 
94
-
95
92
  # Run DROID:
96
93
  # ==========
97
94
 
95
+ # Infer DROID_HOME from script location
96
+ SCRIPT=$0
97
+
98
+ # Resolve absolute and relative symlinks
99
+ while [ -h "$SCRIPT" ]; do
100
+ LS=$( ls -ld "$SCRIPT" )
101
+ LINK=$( expr "$LS" : '.*-> \(.*\)$' )
102
+ if expr "$LINK" : '/.*' > /dev/null; then
103
+ SCRIPT="$LINK"
104
+ else
105
+ SCRIPT="$( dirname "$SCRIPT" )/$LINK"
106
+ fi
107
+ done
108
+
109
+ # Store absolute location
110
+ CWD=$( pwd )
111
+ DROID_HOME="$( cd "$(dirname "$SCRIPT" )" && pwd )"
112
+ cd "$CWD"
113
+
98
114
  # Collect settings into runtime options for droid:
99
115
  OPTIONS=""
100
116
 
101
- # Detect if we are running on a mac or not:
102
- os=`uname`
103
- if [ "Darwin" = "$os" ]; then
117
+ # Detect if we are running on a Mac:
118
+ OS=$( uname )
119
+ if [ "Darwin" = "$OS" ]; then
104
120
  OPTIONS=$OPTIONS" -Xdock:name=DROID"
105
121
  OPTIONS=$OPTIONS" -Dcom.apple.mrj.application.growbox.intrudes=false"
106
122
  OPTIONS=$OPTIONS" -Dcom.apple.mrj.application.live-resize=true"
107
123
  fi
108
124
 
109
- # Build command line options from the settings above:
125
+ # Build command-line options from the settings above:
110
126
  if [ -n "$droidMemory" ]; then
111
127
  OPTIONS=$OPTIONS" -Xmx$droidMemory"
112
128
  fi
@@ -128,11 +144,9 @@ fi
128
144
 
129
145
  # echo "Running DROID with these options: $OPTIONS $@"
130
146
 
131
- BASEDIR=$(dirname $0)
132
-
133
- # Run the command line or user interface version with the options:
147
+ # Run the command-line or user interface version with the options:
134
148
  if [ $# -gt 0 ]; then
135
- java $OPTIONS -jar $BASEDIR/droid-command-line-6.1.5.jar "$@"
149
+ java $OPTIONS -jar "$DROID_HOME/droid-command-line-6.3.jar" "$@"
136
150
  else
137
- java $OPTIONS -jar $BASEDIR/droid-ui-6.1.5.jar
151
+ java $OPTIONS -jar "$DROID_HOME/droid-ui-6.3.jar"
138
152
  fi
Binary file
Binary file
Binary file