classpath, compile
Dan <[email protected]> Thu, 28 Sep 2006 04:37:52 -0700 (PDT)
| Newsgroups | gmane.comp.java.sisc.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, two questions: 1) is there a class-path-extension-prepend! function? I want to make a certain path element take priority over the current class path. 2) Matthias mentioned a while ago that (compile-file) executes (require-library) statements encountered in source files, and loads these libraries in a special compiler-only environment. E.g. if some version of library 'my/framework is already loaded in the environment, and (compile-file "my/app.scm" "my/app.scc") encounters (require-library 'my/framework) in my/app.scm, then another copy of my/framework is loaded for compilation purposes only. How can I affect the path used by (compile-file) to lookup my/framework? Perhaps there could be a separate compiler-class-path with its own accessors/modifiers? Specifically, I'm calling (compile-file) from a J2EE environment to recompile the current webapp, and I'm not sure if (compile-file) uses the "old" or the "new" libraries when it sees (require-library) in sources. I'd like it to use the newly-compiled versions, not the old versions defined by the original JARs in the class path. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV