Skip to content

Commit 483fb7e

Browse files
committed
Make ocrevalUAtion a submodule
1 parent 8532326 commit 483fb7e

6 files changed

Lines changed: 31 additions & 17 deletions

File tree

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "ocrevalUAtion"]
2+
path = ocrevalUAtion
3+
url = git@github.com:tesseract4java/ocrevalUAtion.git

README.md

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -55,23 +55,19 @@ Batch export functionality to handle large projects
5555
This software is written in Java and can be built using [Apache Maven]. In order to build the software you have to
5656
follow these steps:
5757

58-
1. Obtain a copy either by cloning the repository or downloading the current [zip file][zip].
59-
2. Also obtain a copy of a [patched version of ocrevalUAtion][ocrevalUAtion patched] ([zip file][ocrevalUAtion zip]).
60-
3. Open a command line in the ocrevalUAtion directory and run `mvn clean install`.
61-
4. `cd` to the tesseract4java directory and run `mvn clean package -Pstandalone`. This will include the
62-
Tesseract binaries for your platform. You can manually define the platform by providing the option
63-
`-Djavacpp.platform=[PLATFORM]` (available platforms are `windows-x86_64`, `windows-x86`, `linux-x86_64`, `linux-x86`,
64-
and `macosx-x86_64`).
65-
66-
After you've run through all steps, the directory "tesseract4java/gui/target" will contain the file
58+
1. `git clone https://github.com/tesseract4java/tesseract4java.git`
59+
2. `cd tesseract4java`
60+
3. `git submodule init`
61+
4. `git submodule update`
62+
5. `mvn clean package -Pstandalone`. This will include the Tesseract binaries for your platform. You can manually
63+
define the platform by providing the option `-Djavacpp.platform=[PLATFORM]` (available platforms are
64+
`windows-x86_64`, `windows-x86`, `linux-x86_64`, `linux-x86`, and `macosx-x86_64`).
65+
66+
After you've run through all steps, the directory "gui/target" will contain the file
6767
"tesseract4java-[VERSION]-[PLATFORM].jar", which you can run by double-clicking or executing
6868
`java -jar tesseract4java-[VERSION]-[PLATFORM].jar`.
6969

7070
[Apache Maven]: https://maven.apache.org/
71-
[zip]: https://github.com/tesseract4java/tesseract4java/archive/develop.zip
72-
[ocrevalUAtion patched]: https://github.com/tesseract4java/ocrevalUAtion
73-
[ocrevalUAtion zip]: https://github.com/tesseract4java/ocrevalUAtion/archive/master.zip
74-
7571

7672
## Credits
7773

@@ -95,7 +91,7 @@ GPLv3
9591

9692
~~~
9793
tesseract4java - a graphical user interface for the Tesseract OCR engine
98-
Copyright (C) 2014-2016 Paul Vorbach
94+
Copyright (C) 2014-2019 Paul Vorbach
9995
10096
This program is free software: you can redistribute it and/or modify
10197
it under the terms of the GNU General Public License as published by

gui/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
<dependency>
2626
<groupId>de.vorb</groupId>
2727
<artifactId>tools</artifactId>
28-
<version>${project.version}</version>
2928
</dependency>
3029
<dependency>
3130
<groupId>com.twelvemonkeys.imageio</groupId>

ocrevalUAtion

Submodule ocrevalUAtion added at 75f652d

pom.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<modules>
1313
<module>gui</module>
1414
<module>tools</module>
15+
<module>ocrevalUAtion</module>
1516
</modules>
1617

1718
<properties>
@@ -20,4 +21,19 @@
2021
<maven.compiler.target>1.8</maven.compiler.target>
2122
</properties>
2223

24+
<dependencyManagement>
25+
<dependencies>
26+
<dependency>
27+
<groupId>de.vorb</groupId>
28+
<artifactId>tools</artifactId>
29+
<version>${project.version}</version>
30+
</dependency>
31+
<dependency>
32+
<groupId>de.vorb</groupId>
33+
<artifactId>ocrevalUAtion</artifactId>
34+
<version>${project.version}</version>
35+
</dependency>
36+
</dependencies>
37+
</dependencyManagement>
38+
2339
</project>

tools/pom.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,8 @@
3333
<version>1.4.9</version>
3434
</dependency>
3535
<dependency>
36-
<groupId>eu.digitisation</groupId>
36+
<groupId>de.vorb</groupId>
3737
<artifactId>ocrevalUAtion</artifactId>
38-
<version>1.3.4-SNAPSHOT</version>
3938
</dependency>
4039
<dependency>
4140
<groupId>junit</groupId>

0 commit comments

Comments
 (0)