You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-8Lines changed: 17 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,11 +15,7 @@ supported version being 0.93.
15
15
16
16
## Requirements
17
17
* Java 8
18
-
* gradle
19
-
20
-
## Build
21
-
Inside the bagit-java root directory, run `gradle distZip`. This will create a .zip file under build/distributions,
22
-
bagit-\<VERSION\>.zip. To create an office release you should specify the version by running `gradle distZip -Pversion=<VERSION>`
18
+
* gradle (for development only)
23
19
24
20
## Major differences between version 5 and 4.*
25
21
##### Commandline
@@ -29,9 +25,6 @@ We no longer support directly serializing a bag. But if that is something you re
29
25
##### Fetching
30
26
We no longer support fetching. This is due to the various protocalls that could be involved. Again, if this is something you need, there are much better java libraries out there that you can use to fill this functionality.
31
27
32
-
### Note if using with Eclipse
33
-
Simply run `gradle eclipse` and it will automatically create a eclipse project for you that you can import.
34
-
35
28
### Examples
36
29
The "new" bagit interface is very intuitive, but here are some easy to follow examples. Instead of returning messages like in the old interface, now it throws errors so you don't have to parse messages to understand what happened.
Bagit-Java uses [Grad;e](https://gradle.org/) for its build system. Check out the great [documentation](https://docs.gradle.org/current/userguide/userguide_single.html) to learn more.
69
+
##### Building a Jar
70
+
Inside the bagit-java root directory, run `gradle jar`.
71
+
##### Running tests and code quality checks
72
+
Inside the bagit-java root directory, run `gradle check`.
2. Once you have access, to create an office release and upload it you should specify the version by running `gradle -Pversion=<VERSION> uploadArchives`
78
+
1.*Don't forget to tag the repository!*
79
+
80
+
### Note if using with Eclipse
81
+
Simply run `gradle eclipse` and it will automatically create a eclipse project for you that you can import.
82
+
74
83
### Roadmap
75
84
* Further refine reading and writing of bags version 0.93-0.97
76
85
* Integrate new proposed specification we are calling "dot bagit"
0 commit comments