title: Is there a way to set system properties in leinegen?
body: <p>Starting a lein task (actually <strong><em>test</em></strong>, which runs by default with the <strong><em>:test</em></strong> profile). What I'd like to do is start with the equivalent of </p>
  
  <blockquote>
    <p>java -Dproperty1=value -Dproperty2=value2 task</p>
  </blockquote>
  
  <p>There are some references on the web that suggest that this should work fine like this:</p>
  
  <p>project.clj:</p>
  
  <pre><code>...
  :profiles {:test {:jvm-opts ["-Dproperty1=value" "-Dproperty2-value"]}}
  </code></pre>
  
  <p>This is ignored in my test runner. The profile is correct, If I insert some actual jvm args (e.g something like "-XX:+PrintGC") it works fine. But doesn't seem to pick up the system properties. Is there a correct way to do this?</p>