Florian
12-02-2004, 09:14 AM
Hi,
I try to performe a search of string into some files in a remote process for a reporting into the Visual build console. This step is write like this :
<step action='Run Program' type='0'>
<command><![CDATA[psexec \\%NG_MACHINE_CIBLE% -u %NG_USER_SESSION_PSEXEC% -p %NG_PWD_SESSION_PSEXEC% -e bash -c "cd %NG_PROJET%;echo ""---- Erreurs de compilation ----"";find . -name \*Debug.err -exec grep -c -H -e ""[[1-9]][[0-9]]*\ error\(s\)"" {} \; 2> /dev/null"]]></command>
<condcompareto>YES</condcompareto>
<condcomparison type='3'>3</condcomparison>
<condexpr>%NG_COMPILE_DEBUG%</condexpr>
<indent type='3'>1</indent>
<name>Verification de la compilation DEBUG</name>
<outputfrom type='3'>1</outputfrom>
</step>
the command works if i use it in a console like cmd.exe but doesn't work if i use it in a step. The output of this step is only : ---- Erreurs de compilation ---- ..... I try lot of solution but nothing works !
Could u help me ?
Thks for all comments :)
Delom Florian
I try to performe a search of string into some files in a remote process for a reporting into the Visual build console. This step is write like this :
<step action='Run Program' type='0'>
<command><![CDATA[psexec \\%NG_MACHINE_CIBLE% -u %NG_USER_SESSION_PSEXEC% -p %NG_PWD_SESSION_PSEXEC% -e bash -c "cd %NG_PROJET%;echo ""---- Erreurs de compilation ----"";find . -name \*Debug.err -exec grep -c -H -e ""[[1-9]][[0-9]]*\ error\(s\)"" {} \; 2> /dev/null"]]></command>
<condcompareto>YES</condcompareto>
<condcomparison type='3'>3</condcomparison>
<condexpr>%NG_COMPILE_DEBUG%</condexpr>
<indent type='3'>1</indent>
<name>Verification de la compilation DEBUG</name>
<outputfrom type='3'>1</outputfrom>
</step>
the command works if i use it in a console like cmd.exe but doesn't work if i use it in a step. The output of this step is only : ---- Erreurs de compilation ---- ..... I try lot of solution but nothing works !
Could u help me ?
Thks for all comments :)
Delom Florian