title: Set target or property to a sub project with Ant/Eclipse on Android
body: <p>I need to switch to Ant, I managed to compile and install the Android apk file but I didn't manage to transmit the property or a specific target to the referenced library.</p>
  
  <p>My code on the build.xml in the referenced library :</p>
  
  <pre><code>&lt;echo message="Property value is '${foo.dist}'" /&gt;
  
  &lt;target name="AfficherVersionAnt"&gt;
    &lt;echo message="Version d'Ant utilisée : ${ant.version}"/&gt;
  &lt;/target&gt;
  </code></pre>
  
  <p>The same code is functional when I put it in the starting package.</p>
  
  <pre><code>&lt;property name="foo.dist" value="true"/&gt;
  </code></pre>
  
  <p>(and for the target, if I launch with the target)</p>
  
  <p>My ant configuration was generated with :</p>
  
  <pre><code>"C:\Program Files (x86)\Android\android-sdk\tools\android" update project -p "D:\project"
  </code></pre>
  
  <p>And I don't see where I could set a link</p>
  
  <p>Can someone help me ? I would need global variables or something like this</p>