blob: a6075dd85d1755480150a4b0bea4d50a521f7b95 (
plain)
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
#! /bin/bash
dest0=../doc/Implementation
dest=../doc/Implementation/runtime-properties-temp
rm -rf $dest
mkdir $dest
function cleanup() {
tfile=$1
shift
ffile=$1
shift
domain=$1
shift
sed -e 's/^.*(\"//g' -i $tfile
sed -e 's/\".*$//g' -i $tfile
sed -e "s/^/$domain/g" -i $tfile
sort -u $tfile >> $ffile
rm -f $tfile
}
grep -hRI "Debug\.debug" ../../gluegen/src/java/com/jogamp | sort -u > $dest/gluegen-rt.debug.tmp1.txt
grep -hRI "System.getProperty(\"jogamp" ../../gluegen/src/java/com/jogamp | sort -u > $dest/gluegen-rt.debug.tmp2.txt
cleanup $dest/gluegen-rt.debug.tmp1.txt $dest/gluegen-rt.debug.txt jogamp.debug.
cleanup $dest/gluegen-rt.debug.tmp2.txt $dest/gluegen-rt.debug.txt
grep -hRI -e "Debug\.isPropertyDefined" -e "Debug\.get" ../../gluegen/src/java/com/jogamp | sort -u > $dest/gluegen-rt.debug.ipd.tmp1.txt
cleanup $dest/gluegen-rt.debug.ipd.tmp1.txt $dest/gluegen-rt.ipd.debug.txt
grep -hRI "Debug\.debug" ../src/nativewindow | sort -u > $dest/nativewindow.debug.tmp1.txt
cleanup $dest/nativewindow.debug.tmp1.txt $dest/nativewindow.debug.txt nativewindow.debug.
grep -hRI -e "Debug\.isPropertyDefined" -e "Debug\.get" ../src/nativewindow | sort -u > $dest/nativewindow.debug.ipd.tmp1.txt
cleanup $dest/nativewindow.debug.ipd.tmp1.txt $dest/nativewindow.ipd.debug.txt
grep -hRI "Debug\.debug" ../src/jogl | sort -u > $dest/jogl.debug.all.tmp1.txt
cleanup $dest/jogl.debug.all.tmp1.txt $dest/jogl.debug.all.txt jogl.debug.
grep -hRI -e "Debug\.isPropertyDefined" -e "Debug\.get" ../src/jogl | sort -u > $dest/jogl.debug.ipd.tmp1.txt
cleanup $dest/jogl.debug.ipd.tmp1.txt $dest/jogl.ipd.debug.txt
grep -hRI "Debug\.debug" ../src/newt | sort -u > $dest/newt.debug.tmp1.txt
cleanup $dest/newt.debug.tmp1.txt $dest/newt.debug.txt newt.debug.
grep -hRI -e "Debug\.isPropertyDefined" -e "Debug\.get" ../src/newt | sort -u > $dest/newt.debug.ipd.tmp1.txt
cleanup $dest/newt.debug.ipd.tmp1.txt $dest/newt.ipd.debug.txt
function onefile() {
for i in $dest/* ; do
echo $i
echo ----------------------------------------
sed 's/^/ /g' $i
echo
echo
echo
done
}
onefile > $dest0/runtime-properties-new.txt
rm -rf $dest
|