title: How to access jasper reports properties from a report to specify ROOT_DIR location on each developer machine?
body: <p>I have a report where I define ROOT_DIR as a parameter.  I pass this in when I render the reports in my servlet. </p>
  
  <p>Something like this: </p>
  
  <pre><code> &lt;parameter name="ROOT_DIR" class="java.lang.String" isForPrompting="false"&gt;
      &lt;defaultValueExpression&gt;&lt;![CDATA["/Some/Path/To/Reports"]]&gt;&lt;/defaultValueExpression&gt;
  &lt;/parameter&gt;
  &lt;parameter name="IMAGES_DIR" class="java.lang.String" isForPrompting="false"&gt;
      &lt;defaultValueExpression&gt;&lt;![CDATA[$P{ROOT_DIR}+"/images"]]&gt;&lt;/defaultValueExpression&gt;
  &lt;/parameter&gt;
  &lt;parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false"&gt;
      &lt;defaultValueExpression&gt;&lt;![CDATA[$P{ROOT_DIR}+"/"]]&gt;&lt;/defaultValueExpression&gt;
  &lt;/parameter&gt;
  </code></pre>
  
  <p>My issue is that we now have more developers working on the reports, so I would like to find a way to not have everyone changing the defaultValueExpression on ROOT_DIR with each commit to their git workspace / home directory. </p>
  
  <p>I was thinking that we could use a property in iReport (Preferences -> iReport -> Jasper Report Properties Tab), but I can't seem to find a way to reference those values from the defaultValueExpression?</p>
  
  <p>Is there any way to access these properties from within a report? Or another suggestions to accomplish this?</p>