equal
deleted
inserted
replaced
90 |
90 |
91 # options |
91 # options |
92 |
92 |
93 BUILD_ONLY=false |
93 BUILD_ONLY=false |
94 BUILD_JARS="jars" |
94 BUILD_JARS="jars" |
95 FRESH_OPTION="" |
|
96 JEDIT_SESSION_DIRS="" |
95 JEDIT_SESSION_DIRS="" |
97 JEDIT_LOGIC="$ISABELLE_LOGIC" |
96 JEDIT_LOGIC="$ISABELLE_LOGIC" |
98 JEDIT_PRINT_MODE="" |
97 JEDIT_PRINT_MODE="" |
99 |
98 |
100 function getoptions() |
99 function getoptions() |
115 else |
114 else |
116 JEDIT_SESSION_DIRS="$JEDIT_SESSION_DIRS:$OPTARG" |
115 JEDIT_SESSION_DIRS="$JEDIT_SESSION_DIRS:$OPTARG" |
117 fi |
116 fi |
118 ;; |
117 ;; |
119 f) |
118 f) |
120 FRESH_OPTION="-f" |
|
121 BUILD_JARS="jars_fresh" |
119 BUILD_JARS="jars_fresh" |
122 ;; |
120 ;; |
123 j) |
121 j) |
124 ARGS["${#ARGS[@]}"]="$OPTARG" |
122 ARGS["${#ARGS[@]}"]="$OPTARG" |
125 ;; |
123 ;; |
164 fi |
162 fi |
165 |
163 |
166 |
164 |
167 ## dependencies |
165 ## dependencies |
168 |
166 |
169 [ -e "$ISABELLE_HOME/Admin/build" ] && \ |
167 if [ -e "$ISABELLE_HOME/Admin/build" ]; then |
170 { |
168 if [ "$BUILD_JARS" = jars_fresh ]; then |
|
169 "$ISABELLE_TOOL" graphview -b -f || exit $? |
|
170 else |
171 "$ISABELLE_HOME/Admin/build" "$BUILD_JARS" || exit $? |
171 "$ISABELLE_HOME/Admin/build" "$BUILD_JARS" || exit $? |
172 "$ISABELLE_TOOL" graphview -b $FRESH_OPTION || exit $? |
172 "$ISABELLE_TOOL" graphview -b || exit $? |
173 } |
173 fi |
|
174 fi |
174 |
175 |
175 PURE_JAR="$ISABELLE_HOME/lib/classes/ext/Pure.jar" |
176 PURE_JAR="$ISABELLE_HOME/lib/classes/ext/Pure.jar" |
176 GRAPHVIEW_JAR="$ISABELLE_HOME/lib/classes/ext/Graphview.jar" |
177 GRAPHVIEW_JAR="$ISABELLE_HOME/lib/classes/ext/Graphview.jar" |
177 |
178 |
178 pushd "$JEDIT_HOME" >/dev/null || failed |
179 pushd "$JEDIT_HOME" >/dev/null || failed |