title: Need to give home folder directory path in groovy script
body: <p>I'm having the groovy script of Import the DTD's Schema. I'm having that particular DTD schema file in certain path (D:/homefolder/doctypes/dtd/import.dtd). In the groovy script, I'm directly specified the path name.</p>
  
  <pre><code>import com.reallysi.rsuite.admin.importer.*
  import com.reallysi.rsuite.client.api.*
  
  def projectDir = new File('D:/homefolder/')
  def doctypesDir = new File(projectDir, "doctypes");
  def srcDir = new File(projectDir, "src");
  </code></pre>
  
  <p>But I need the corresponding doctype folder fetch by using home folder directory path which having the build files. Not like the directly mentioning the path in the script</p>