File: daps-jing.generic

package info (click to toggle)
daps 3.3.2%2Bcleaned1-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,536 kB
  • sloc: xml: 9,773; sh: 3,059; python: 1,322; lisp: 380; makefile: 239
file content (40 lines) | stat: -rwxr-xr-x 1,176 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/bin/bash
#
# Copyright (C) 2012-2020 SUSE Software Solutions Germany GmbH
#
# Author:
# Frank Sundermeyer <fsundermeyer at opensuse dot org>
# Thomas Schraitle <toms at opensuse dot org>
#
# Customized Jing executable for DAPS


# set initial/maximum java heap size
#
#JING_MEMORY=${JING_MEMORY:-"-Xms400 -Xmx500m"}

# set java thread stack size
# A minimum stack size of 4096 is needed for builds on s390 and ARM
#
JING_STACKSIZE=${JING_STACKSIZE:-"-Xss4096K"}

# Default Java setup for Jing needed by DAPS - do not change
# To add additional flags/jars/options, use
#
# JING_JAVA_FLAGS
# JING_JAVA_JARS
# JING_JAVA_OPTIONS
#
# in the config. These values will be used in addition to the default values
# specified below
#
JING_DEFAULT_JAVA_FLAGS="-Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.parsers.XIncludeParserConfiguration"
JING_DEFAULT_JAVA_JARS=""
JING_DEFAULT_JAVA_OPTIONS="$JING_MEMORY $JING_STACKSIZE"

# Call /usr/bin/jing
#
ADDITIONAL_FLAGS="$JING_DEFAULT_JAVA_FLAGS $JING_JAVA_FLAGS" \
  ADDITIONAL_JARS="$JING_DEFAULT_JAVA_JARS $JING_JAVA_JARS" \
  ADDITIONAL_OPTIONS="$JING_DEFAULT_JAVA_OPTIONS $JING_JAVA_OPTIONS" \
  jing "$@"