title: Aggregating built artifacts in Teamcity to a single zip
body: <p>Aim: Set up an ant/cmd script that will package the artifacts from several builds into a single zip. I plan to do this by setting up a final build configuration that will have a dependency on those several projects.</p>
  
  <p>So all my build configurations build successfully and produce build artifacts on the Build Server @.BuildServer\system\artifacts{PROJECT}{several configurations}.. In my "Artifact Aggregating" configuration, I need to be able to reference what and where those artifacts are using variables that can be used in my ant/cmd script. i.e. I have Project A with configurations w, x, and y; how would I define/construct I variables of these configurations(w,x,y) that can be referenced by build configuration z. I looked at current Teamcity documentation i.e. <a href="http://www.jetbrains.net/confluence/display/TCD3/System+Properties+of+a+Build+Configuration#SystemPropertiesofaBuildConfiguration-ref" rel="nofollow noreferrer">http://www.jetbrains.net/confluence/display/TCD3/System+Properties+of+a+Build+Configuration#SystemPropertiesofaBuildConfiguration-ref</a>; but I find this doesn't resolve my query. </p>
  
  <p>Is there a way I can set up my artifact paths for configurations w, x and y to make the final task easier?</p>
  
  <p>What would be the best way to accomplish this task? Any ideas are welcome.</p>