revised package development environment.

This commit is contained in:
2022-07-12 17:46:31 +09:00
parent 12c38db496
commit ccb264871f
2 changed files with 67 additions and 29 deletions

View File

@ -1,27 +1,27 @@
# BioFormatsImageInfo
Metadata extraction tool based on Bio-Formats
### Compile
```shell
mvn compile
```
### run
```shell
mvn exec:java -Dexec.mainClass=jp.riken.neurodata.tools.BioFormatsImageInfo -Dexec.args="'[path to image file]'"
```
### make jar package
### make package
```shell
mvn package
```
### run by jar
### run
```shell
java -jar target/bioformats-imageinfo-1.0.0.jar "[path to image file]"
./target/dist/bin/bioformats-imageinfo "[path to image file]"
```
### run by class
### run by jar
```shell
java -jar ./target/dist/lib/bioformats-imageinfo-1.0.0.jar "[path to image file]"
```
### run by fat jar
```shell
java -jar ./target/bioformats-imageinfo-1.0.0-jar-with-dependencies.jar "[path to image file]"
```
### library usage
```java
import java.util.LinkedHashMap;
import java.util.Map;