Skip to content

Commit 888cedc

Browse files
author
Ray Hu
committed
Deleted (again) all projects not involved in this initial merge back to main scribble repo.
2 parents d53e9a9 + 602c845 commit 888cedc

1,082 files changed

Lines changed: 23366 additions & 146438 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

100644100755
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,12 @@ tools/eclipse/plugins/org.scribble.*/bin/
88
.settings/
99
.DS_Store
1010
*~
11+
*.swp
12+
modules/core/src/test/scrib/demo/http/Http.java
13+
modules/core/src/test/scrib/demo/http/Http_*
14+
modules/core/src/test/scrib/demo/fib/Adder.java
15+
modules/core/src/test/scrib/demo/fib/Adder_*
16+
modules/core/src/test/scrib/test/foo/Foo.java
17+
modules/core/src/test/scrib/test/foo/Foo_*
18+
bin/scribblec
19+

bin/scribblec.copyme

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
#!/bin/sh
2+
3+
# TODO: antlr 3.2 jar location
4+
ANTLR=
5+
# e.g. '/cygdrive/c/Users/[User]/.m2/repository/org/antlr/antlr-runtime/3.2/antlr-runtime-3.2.jar'
6+
7+
PRG=`basename "$0"`
8+
DIR=`dirname "$0"`/..
9+
#BASEDIR=$(dirname $0)
10+
11+
usage() {
12+
echo scribblec:
13+
cat <<EOF
14+
-h --help display this information
15+
--verbose echo the python command
16+
-ip [path] Scribble import path
17+
-project [simple global protocol name] [role] project protocol
18+
-fsm [simple global protocol name] [role] generate FSM
19+
EOF
20+
}
21+
22+
fixpath() {
23+
windows=0
24+
25+
if [ `uname | grep -c CYGWIN` -ne 0 ]; then
26+
windows=1
27+
fi
28+
29+
cp="$1"
30+
if [ "$windows" = 1 ]; then
31+
cygpath -pw "$cp"
32+
else
33+
echo "$cp"
34+
fi
35+
}
36+
37+
ARGS=
38+
39+
CLASSPATH=$DIR'/modules/cli/target/classes/:'$DIR'/modules/core/target/classes:'$DIR'/modules/parser/target/classes:'$ANTLR
40+
CLASSPATH="'"`fixpath "$CLASSPATH"`"'"
41+
42+
usage=0
43+
verbose=0
44+
45+
while true; do
46+
case "$1" in
47+
"")
48+
break
49+
;;
50+
-h)
51+
usage=1
52+
break
53+
;;
54+
--help)
55+
usage=1
56+
break
57+
;;
58+
--verbose)
59+
verbose=1
60+
shift
61+
;;
62+
*)
63+
ARGS="$ARGS '$1'"
64+
shift
65+
;;
66+
esac
67+
done
68+
69+
if [ "$usage" = 1 ]; then
70+
usage
71+
exit 0
72+
fi
73+
74+
CMD='java -cp '$CLASSPATH' org.scribble.cli.CommandLine'
75+
76+
scribblec() {
77+
eval $CMD "$@"
78+
}
79+
80+
if [ "$verbose" = 1 ]; then
81+
echo $CMD "$ARGS"
82+
fi
83+
84+
scribblec "$ARGS"
85+

build/pom.xml

Lines changed: 0 additions & 30 deletions
This file was deleted.

build/src/main/resources/checkstyle/checkstyle.xml

Lines changed: 0 additions & 218 deletions
This file was deleted.

build/src/main/resources/checkstyle/suppressions.xml

Lines changed: 0 additions & 42 deletions
This file was deleted.

build/src/main/resources/findbugs/findbugs-exclude.xml

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)