[Anthill-pro] Environment variables

Maciej Zawadzki mbz at urbancode.com
Tue Aug 29 13:02:02 CDT 2006


Patrick,

Unlike AnthillPro 2.6, Anthill3 does not pass in any implicit parameters
to your build script -- there were too many problems with that in terms
of matching parameter names, etc.

Instead, in Anthill3, you can still pass in build properties and set
environment variables, but you have to do so explicitly.  You can set
the value of a property using a script in the format ${<type>:<script>}

To set a build property whose value is the value of an environment
variable on the Agent on which the build is executing, you would have
something like:
-D<my-prop>=${agent:env/<var-name>}

You can view the list of environment variables on an Agent if you go to
the System tab, then to the Agents section, then view the agent in
question, then go to the Variables tab.

Let me know if that does not help.

Regards,

--Maciej




Curley, Patrick wrote:
> We are using Anthill3 preview11.  Where can I find a list of
> environmental variables?  Anthill pro 2.5 has a list called Existing
> Build Properties, are these the same in Anthill3?  I need to pass a few
> things to my ant script.
> 
> 
> 
> Thanks,
> 
> Pat Curley


More information about the Anthill-pro mailing list