title: How do you store a block of XML in ANT?
body: <p>I'm very new to ANT and have started using it in a Flash Builder project.</p>
  
  <p>When I run the compiler I need to pass in some library paths. The whole thing looks like this:</p>
  
  <pre><code>&lt;mxmlc 
      file="${SOURCE_DIR}/com/${PACKAGE_NAME}/Main.as"
      output="${RELEASE_DIR}/assets/swf/${IDENTIFIER}/main.swf"
      locale="${LOCALE}"
      static-rsls="false"
      accessible="true"
  &gt;
      &lt;compiler.debug&gt;false&lt;/compiler.debug&gt;
      &lt;load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/&gt;
      &lt;source-path path-element="${SOURCE_DIR}"/&gt;
      &lt;external-library-path file="${FLEX_HOME}/frameworks/libs/player/10.0/playerglobal.swc" append="true"/&gt;
      &lt;library-path file="${FLEX_HOME}/frameworks/libs/flash-integration.swc" append="true"/&gt;
      &lt;library-path file="${FLEX_HOME}/frameworks/libs/flex.swc" append="true"/&gt;
      &lt;library-path file="${FLEX_HOME}/frameworks/libs/utilities.swc" append="true"/&gt;
      &lt;library-path dir="${basedir}/libs" includes="*" append="true"/&gt;
  
  &lt;/mxmlc&gt;
  </code></pre>
  
  <p>Basically everything after the output= part could be stored in some fashion and reused for all the other compilations. Is there some way to store a big block of xml in ANT and just call it through a variable reference or something..?</p>
  
  <p>Thank you!</p>