Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
K
kitodo-diglib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dmj
kitodo-diglib
Commits
de6f6b4a
Commit
de6f6b4a
authored
7 years ago
by
David Maus
Browse files
Options
Downloads
Patches
Plain Diff
Kommandozeilenanwendung publish.cmd
parent
6196a7db
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
publish.cmd
+37
-0
37 additions, 0 deletions
publish.cmd
with
37 additions
and
0 deletions
publish.cmd
0 → 100644
+
37
−
0
View file @
de6f6b4a
@echo
off
REM Veröffentlicht die als Parameter übergebene METS-Datei
REM
REM Timestamp: <2018-03-13 11:32:46 maus>
REM Autor: David Maus <maus@hab.de>
REM
set
CALABASH
=
java
-Xmx
1024
m
-cp
%~dp0
lib
\calabash\xmlcalabash
-
1
.1.16
-
97
.jar
com
.xmlcalabash.drivers.Main
set
TARGET
=
S
:
echo
Strukturdatendokument
in
digitaler
Bibliothek
publizieren
set
input
=
%
1
set
/p
signatur
=
"Normalisierte Signatur: "
set
TARGET
=
%TARGET%
\
%signatur
:/
=
\
%
if
not
exist
%TARGET%
(
echo
Zielverzeichnis
%TARGET%
existiert
nicht
!
pause
exit
1
)
set
TARGET
=
%TARGET%
\meta\mets.xml
if
exist
%TARGET%
(
del
/p
%TARGET%
)
%CALABASH%
-i
file
:/
%input
:\
=
/
%
src
/xproc/publish
.xpl
objectId
=
%signatur%
targetUri
=
file
:/
%TARGET
:\
=
/
%
if
not
errorlevel
(
echo
Okay
!
)
pause
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment