Changeset 12685 for branches/0.20.x
- Timestamp:
- 05/15/10 16:35:47 (14 years ago)
- Location:
- branches/0.20.x/abcl
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.20.x/abcl/build.xml
r12684 r12685 242 242 <jvmarg value="-Dabcl.home=${abcl.home.dir}${file.separator}"/> 243 243 <arg value="--noinit"/> 244 <arg value="--nosystem"/> 244 245 <arg value="--eval"/> 245 246 <arg value="(setf *load-verbose* t)"/> … … 279 280 280 281 <target name="abcl.system.uptodate"> 281 <uptodate property="abcl.system.needs-update.p" 282 <condition property="abcl.system.needs-update.p"> 283 <and> 284 <available file="${system.lisp.file}"/> 285 <available file="${abcl.startup.file}"/> 286 <uptodate 282 287 srcfile="${system.lisp.file}" 283 288 targetfile="${abcl.startup.file}"/> 289 </and> 290 </condition> 284 291 </target> 285 292 286 <target name="abcl.system.update.maybe" depends="abcl.system.uptodate" if="abcl.system.needs-update.p"> 293 <target name="abcl.system.update.maybe" depends="abcl.system.uptodate" 294 if="abcl.system.needs-update.p"> 287 295 <touch file="${src.dir}/org/armedbear/lisp/compile-system.lisp"/> 288 296 </target> -
branches/0.20.x/abcl/src/org/armedbear/lisp/Interpreter.java
r12629 r12685 53 53 54 54 private static boolean noinit = false; 55 private static boolean nosystem = false; 55 56 private static boolean noinform = false; 56 57 … … 93 94 initializeLisp(); 94 95 initializeTopLevel(); 96 if (!nosystem) 97 initializeSystem(); 95 98 if (!noinit) 96 99 processInitializationFile(); … … 118 121 initializeJLisp(); 119 122 initializeTopLevel(); 123 initializeSystem(); 120 124 processInitializationFile(); 121 125 return interpreter; … … 212 216 } 213 217 218 private static synchronized void initializeSystem() 219 { 220 Load.loadSystemFile("system"); 221 } 222 214 223 // Check for --noinit; verify that arguments are supplied for --load and 215 224 // --eval options. Copy all unrecognized arguments into … … 225 234 if (arg.equals("--noinit")) { 226 235 noinit = true; 236 } else if (arg.equals("--nosystem")) { 237 nosystem = true; 227 238 } else if (arg.equals("--noinform")) { 228 239 noinform = true; -
branches/0.20.x/abcl/src/org/armedbear/lisp/boot.lisp
r12516 r12685 210 210 (float (/ (ext:uptime) 1000))))) 211 211 212 ;;; "system.lisp" contains system installation specific information 213 ;;; (currently only the logical pathname definition for "SYS;SRC") 214 ;;; that is not currently required for ABCL to run. Since 215 ;;; LOAD-SYSTEM-FILE exits the JVM if its argument cannot be found, we 216 ;;; use REQUIRE trapping any error. 217 (handler-case 218 (require 'system) 219 (t ())) 220 212
Note: See TracChangeset
for help on using the changeset viewer.