Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Document LEIN_FAST_TRAMPOLINE.

  • Loading branch information...
commit 65a574d09a926133cd60d7c5966a6dad1abe0c57 1 parent a01f139
@technomancy authored
Showing with 23 additions and 8 deletions.
  1. +8 −1 NEWS.md
  2. +10 −6 doc/FAQ.md
  3. +5 −1 todo.org
View
9 NEWS.md
@@ -1,5 +1,12 @@
# Leiningen News -- history of user-visible changes
+## 2.0.0-preview9 / ???
+
+* Cache trampoline commands for fast boot. Set $LEIN_FAST_TRAMPOLINE to enable.
+* Support setting HTTPS proxies.
+* Improved resilience when self-install is interrupted. (Bruce Adams)
+* Fix a bug where profile dependencies weren't honored in trampoline task.
+
## 2.0.0-preview8 / 2012-08-16
* Place SCM revision in pom.properties in jar files.
@@ -221,7 +228,7 @@
* Improve Solaris support. (Donald Clark Jackson)
* Fix curl error relating to missing $https_proxy. (Pirmin Fix)
-## 1.5.1 / 2011-04-12
+## 1.5.1 / 2011-04-12
* Improve rlwrap quote support. (Ambrose Bonnaire-Sergeant)
* Prevent ns load exceptions from halting help.
View
16 doc/FAQ.md
@@ -92,12 +92,16 @@
example.) Otherwise you can use the basic `lein repl`.
**Q:** Still too slow; what else can make startup faster?
-**A:** You can usually set `:bootclasspath true` in project.clj to
- speed up project launches, though there are compatibility issues in
- some cases. If you are running an older version of Leiningen (before
- 1.7) you can also `export LEIN_JVM_OPTS=-XX:+TieredCompilation` to
- improve boot time. This requires Hotspot version 20 or newer. On
- newer versions of Leiningen it is enabled automatically.
+**A:** The `trampoline` task uses Leiningen to calculate the command
+ needed to launch your project and then allows Leiningen's JVM to
+ exit before launching your project. Exporting the
+ `$LEIN_FAST_TRAMPOLINE` environment variable allows the command to
+ be cached, making it possible to skip launching the Leiningen JVM
+ entirely. You can set this on a per-project variable by creating a
+ `.lein-fast-trampoline` file in the project root. In addition, you
+ can usually set `:bootclasspath true` in project.clj to speed up
+ project launches, though there are compatibility issues with some
+ libraries.
**Q:** Why is Leiningen 2 still in a preview release?
**A:** As of the preview3 release, Leiningen 2 is very stable and
View
6 todo.org
@@ -13,6 +13,10 @@ See also https://github.com/technomancy/leiningen/issues
- [ ] Honor mirror for search indices (#281)
- [ ] Allow search queries on any field. (#243)
- [ ] Drop clojars snapshots from default repos (#241)
+** 2.0.0-preview9
+ - [X] Fast trampolining
+ - [ ] Latest newnew
+ - [ ] Updated :eval-in :classloader
** 2.0.0-preview8
- [X] Allow trampoline to work with chaining in do task (#665)
- [X] Store repl port on filesystem (#682)
@@ -21,7 +25,7 @@ See also https://github.com/technomancy/leiningen/issues
- [X] Search indices on Central have moved (#683)
- [X] Better error messages on failed repl :connect (#723)
- [X] Document key generation (#721)
- - [-] Honor hooks/metadata in from plugins (#401)
+ - [X] Honor hooks/metadata in from plugins (#401)
** 2.0.0-preview7
- [X] Address chaining issues in with-profile (#632)
- [X] Address gpg agent issues (#615)
Please sign in to comment.
Something went wrong with that request. Please try again.