[Anthill-pro] Environment variables

Varban vvv at urbancode.com
Tue Aug 29 17:20:10 CDT 2006


Pat,

you should place the -Dversion=${bsh:WorkspaceVersion.get()} in the command 
line properties box under the properties tab, not in the environment 
variables box. This way the version will be passed to your ant script as the 
version variable.

Regards,
Varban

On Tuesday 29 August 2006 17:47, Curley, Patrick wrote:
> Eric,
>
> I tried this but it didn't work.
>
> I have a job config called Fred-Job with a builder called nibejb, I
> placed "-Dversion=${bsh:WorkspaceVersion.get()}" in the Environment
> variable text box without the quotes.  In my ant script I have
> ver=${env.-Dversion}.
>
> Am I totally missing the boat here?
>
> Pat
>
>
>
> -----Original Message-----
> From: anthill-pro-bounces at caladin.urbancode.com
> [mailto:anthill-pro-bounces at caladin.urbancode.com] On Behalf Of Eric
> Minick
> Sent: Tuesday, August 29, 2006 2:31 PM
> To: anthill-pro at caladin.urbancode.com
> Subject: Re: [Anthill-pro] Environment variables
>
> Patrick,
>
> This should work:
> -Dversion=${bsh:WorkspaceVersion.get()}
>
> -- Eric
>
> Curley, Patrick wrote:
> >I have a stamp set up using the default stamping template, I would like
> >to pass this value to my ant script, how would I go about this?
> >
> >
> >Thanks,
> >Pat
> >
> >-----Original Message-----
> >From: anthill-pro-bounces at caladin.urbancode.com
> >[mailto:anthill-pro-bounces at caladin.urbancode.com] On Behalf Of Eric
> >Minick
> >Sent: Tuesday, August 29, 2006 1:06 PM
> >To: anthill-pro at caladin.urbancode.com
> >Subject: Re: [Anthill-pro] Environment variables
> >
> >Patrick,
> >
> >The list in Anthill Pro was a bit arbitrary. We essentially dropped it
> >in favor of a more flexible approach where you get the values from some
> >
> >helpers or a custom script. We'll have a list of examples available
> >fairly soon, but in the meantime if there's something you'd like to
>
> pass
>
> >but don't know how, ask on the list and we'll try to show you how that
> >is done.
> >
> >Regards,
> >Eric
> >
> >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
> >>
> >>----------------------------------------------------------------------
>
> -
>
> >-
> >
> >>_______________________________________________
> >>Anthill-pro mailing list
> >>Anthill-pro at lists.urbancode.com
> >>http://lists.urbancode.com/mailman/listinfo/anthill-pro
> >
> >_______________________________________________
> >Anthill-pro mailing list
> >Anthill-pro at lists.urbancode.com
> >http://lists.urbancode.com/mailman/listinfo/anthill-pro
> >_______________________________________________
> >Anthill-pro mailing list
> >Anthill-pro at lists.urbancode.com
> >http://lists.urbancode.com/mailman/listinfo/anthill-pro
>
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro


More information about the Anthill-pro mailing list