Thanks,

I will try this.

It's a little bit annoying to maintain two file containing the environment
variables. The batch file for the users and an xml file for ccnet.

Regards
Romain Blanchais

On Sat, Nov 20, 2010 at 9:55 PM, Ruben Willems <[email protected]>wrote:

> Hi
>
> the exec task can set environment variables
> http://confluence.public.thoughtworks.org/display/CCNET/Executable+Task
>
> environment element
>
> so specify them there, that should do it
>
>
> with kind regards
> Ruben Willems
>
>
>
> On Fri, Nov 19, 2010 at 11:18 AM, romain blanchais <
> [email protected]> wrote:
>
>> Hello
>>
>> I have a problem with multiple project using different environment
>> variables. I would like to know how if is it possible to change environment
>> variables just before starting a devenv task ?
>>
>> First Try:
>> - For each project in the ccnet.config the first task is to launch a Bat
>> file that will change some environment variables. Then there is a devenv
>> task (visual studio)  that will build a project.
>>   => It ddidn't work
>>
>> Does CCnet start a devenv task in the same environment than the ccnet
>> server cmd  ?
>>
>> Second Try:
>>  - I replace all the SetEnv command in the batch file by just set to
>> create local variable.
>>    => It still didn't work
>>
>>
>>
>> King Regards
>> Romain Blanchais
>>
>>
>>
>

Reply via email to