<< Back to previous view

[CLJ-1112] Var *loading-verbosely* should initialize from a JVM system property Created: 21/Nov/12  Updated: 03/Sep/13

Status: Open
Project: Clojure
Component/s: None
Affects Version/s: Release 1.4
Fix Version/s: None

Type: Enhancement Priority: Minor
Reporter: Howard Lewis Ship Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: None

Attachments: Text File 0001-Allow-setting-loading-verbosely-by-system-property.patch    
Patch: Code

 Description   

I often find myself adding :verbose to a (require) or (use) clause of my (ns) in order to debug problems (especially macros, or bad namespace declarations). It would be very nice if I could define a JVM system property (say -Dclojure.load-verbosely=true) to default loading-verbosely to true for a REPL session, or as part of a build.

Sometimes I just like to see that namespaces load as a measure of progress, when starting an application, or when running a set of tests.



 Comments   
Comment by Tassilo Horn [ 22/Nov/12 2:12 AM ]

This patch implements the suggested feature.

The new system property is called clojure.core.loading-verbosely in analogy to the existing clojure.compile.warn-on-reflection.

Generated at Fri Oct 24 03:05:11 CDT 2014 using JIRA 4.4#649-r158309.