Skip to content

Commit d534845

Browse files
committed
Convert metafacture-runner into a Maven module
1 parent 9cc46de commit d534845

File tree

12 files changed

+189
-511
lines changed

12 files changed

+189
-511
lines changed

.gitattributes

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414

1515
# Platform-specific scripts should always use
1616
# their native end-of-line markers:
17-
*.bat eol=crlf
18-
*.sh eol=lf
17+
*.bat text eol=crlf
18+
*.sh text eol=lf
1919

2020
# The batch script can only handle the config
2121
# properly if it uses crlf as end-of-line marker:
22-
src/main/config/java-options.conf eol=crlf
22+
metafacture-runner/src/main/config/java-options.conf text eol=crlf
2323

2424
# Denote all files that are truly binary and should not be modified:
2525
*.bz2 binary

README.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,27 @@ You can use Metafacture either as a stand-alone application or as a Java library
1818

1919
## Metafacture as a stand-alone application
2020

21-
As of version 2.0.0 the stand-alone application is no longer part of the core library package. The application package can now be found at [culturegraph/metafacture-runner](https://github.com/culturegraph/metafacture-runner). If you are only interested in running Flux scripts without doing any Java programming you should head over there.
21+
If you are only interested in running Flux scripts without doing any Java programming this is the way to go. The instructions assume that you are using a *nix-like shell.
22+
23+
1. Download the latest distribution package from the [metafacture-core/releases](https://github.com/culturegraph/metafacture-core/releases) page. Make sure that you do download a distribution package and _not_ a source code package.
24+
25+
2. Extract the downloaded archive:
26+
```bash
27+
$ tar xzf metafacture-runner-VERSION-dist.tar.gz
28+
```
29+
This will create a new directory containing a ready-to-use metafacture distribution.
30+
3. Change into the newly created directory:
31+
```bash
32+
$ cd metafacture-runner-VERSION
33+
```
34+
4. Run one of the example scripts:
35+
```bash
36+
$ ./flux.sh examples/read/marc21/read-marc21.flux
37+
```
38+
This example will print a number of marc21 records on standard out.
39+
40+
The _examples_ folder contains many more examples which provide a good starting point for learning metafacture. If you have any questions please join our [mailing list](http://lists.dnb.de/mailman/listinfo/metafacture) or use our issue-based discussion forum over at [metafacture-documentation](https://github.com/culturegraph/metafacture-documentation).
41+
2242

2343
## Using Metafacture as a Java libary
2444

metafacture-runner/.gitattributes

Lines changed: 0 additions & 29 deletions
This file was deleted.

metafacture-runner/.gitignore

Lines changed: 0 additions & 11 deletions
This file was deleted.

metafacture-runner/.travis.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

metafacture-runner/LICENSE

Lines changed: 0 additions & 202 deletions
This file was deleted.

metafacture-runner/README.md

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)