title: Inherit classpath id in master build.xml
body: <p>I have a base build.xml in that contains:</p>
  
  <pre><code>&lt;path id="master-classpath-common-lib" &gt;
      &lt;fileset dir="${master.classpath}/lib"&gt;
          &lt;include name="*.jar"/&gt;
      &lt;/fileset&gt;
  &lt;/path&gt;
  </code></pre>
  
  <p>I want to inherit this path id in all the build.xml as all these dependencies are required for compiling. I tried the below solution, but don't understand how to do it.  Below piece of code should inherit all the id's shouldn't it?</p>
  
  <pre><code>&lt;ant antfile="${st.lib}/build.xml" inheritrefs="true"/&gt;
  </code></pre>
  
  <p>when I put</p>
  
  <pre><code>id = master-classpath-common-lib
  </code></pre>
  
  <p>in </p>
  
  <pre><code>classpathref 
  </code></pre>
  
  <p>of <code>javac</code> task it does not work.</p>
  
  <p>Why it is not working?</p>