Hi Ruben Willems,
Thanks for your reply.
When I rewrite my config file to start and exec task, the environment
variable shows up as expected, albeit lowercase, but that is not the
problem here.
The problem is that the envrionment variable does not get set when
using a devenv task.
I suppose it is a bug. Is this newsgroup a good place to report bugs?
Kind regards,
Paul
On Feb 7, 9:05 pm, Ruben Willems <[email protected]> wrote:
> Hi
>
> I just took the following exec task :
>
> <exec>
> <environment>
> <variable name="LibDir" value="C:\CruiseControl\Release\" />
> </environment>
> <executable>in.bat</executable>
> <baseDirectory>D:\</baseDirectory>
> <buildTimeoutSeconds>4000</buildTimeoutSeconds>
> </exec>
>
> the in.bat file is just the following :
> set >d:\info.txt
>
> and when I build this project, I see the libdir variable in info.txt :
> libdir=C:\CruiseControl\Release\
>
> What I do notice is that it is lower cased, so maybe you should adjust
> echo LibDir is $(LibDir)
> to
> echo LibDir is $(libdir)
>
> with kind regards
> Ruben Willems
>