Re: conditional global variables?

2010-09-26 Thread David Weintraub
There are several ways this can be done: One is to use multiple tasks: In the example you gave, you could simply set the property "type" to either "dev" or "release": You can also use separate XML property files: Or, you can use the antcontrib library wh

Re: conditional global variables?

2010-09-26 Thread Matt Benson
On Sep 26, 2010, at 8:23 AM, Marina wrote: > Hello! > In essence, I would like to know how to define a global property > conditionally, > and then have it available to all build files via . > Um, use the task? -Matt > Now the details: > I have a build.common.xml file with all global proper

Re: missing ant-starteam.jar

2010-09-26 Thread David Weintraub
First, you have to get ant-starteam.jar which may require that you build it. You might be able to get it from StarTeam itself since they'd be most interested in maintaining this. They may have even defined their own ant tasks which probably work better than the standard ones. Then, you can put thi

conditional global variables?

2010-09-26 Thread Marina
Hello! In essence, I would like to know how to define a global property conditionally, and then have it available to all build files via . Now the details: I have a build.common.xml file with all global properties and paths defined. I import it into my main build and component build files via ,