[Anthill-pro] How can I Override Environment Properties?

Eric Minick etm at urbancode.com
Sun Oct 11 09:07:57 CDT 2009


Right, in order for Ant to become aware of any properties within Anthill,
you need to pass them in. So if you have the agent variable:

myPath=/path/to/widget

And then in the Ant step's properties tab you have

my.path=${myPath}

Then the command we pass to the Ant script will include:

-Dmy.path=/path/to/widget

Does that makes sense?

-- Eric

On Fri, Oct 9, 2009 at 5:06 PM, oakridge <cerebro70 at yahoo.com> wrote:

>
> Let me add to my last thought.  Are you suggesting that I declare the
> variable name and value, and then reference that variable in the job step
> configuration screen rather than in the actual Ant script on the remote
> machine?  If so, do I then reference that variable in the properties tab of
> my ant builder step configuration?
>
> Thanks again.
> --
> View this message in context:
> http://n2.nabble.com/How-can-I-Override-Environment-Properties-tp3797306p3797735.html
> Sent from the Anthill-Pro mailing list archive at Nabble.com.
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill-pro/attachments/20091011/f7f58ddd/attachment.htm


More information about the Anthill-pro mailing list