File: xjc.sh

package info (click to toggle)
jabref 3.8.1%2Bds-3%2Bdeb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 18,336 kB
  • sloc: java: 114,114; xml: 3,985; python: 283; sh: 282; perl: 200; ruby: 22; makefile: 6
file content (19 lines) | stat: -rwxr-xr-x 556 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
#
# generate Java bindings for XML schemas used in JabRef

XJC=/usr/bin/xjc
DEST=src/main/gen

$XJC -d $DEST \
	-p net.sf.jabref.logic.importer.fileformat.medline \
	src/main/resources/xjc/medline/medline.xsd

$XJC -d $DEST \
	-p net.sf.jabref.logic.importer.fileformat.bibtexml \
	src/main/resources/xjc/bibtexml/bibtexml.xsd

$XJC -d $DEST -npa -nv -catalog src/main/resources/xjc/mods/catalog.cat \
	-b src/main/resources/xjc/mods/mods-binding.xjb \
	-p net.sf.jabref.logic.importer.fileformat.mods \
	src/main/resources/xjc/mods/mods-3-6.xsd