Hi

to inform if the compilation is ok, you should check the return value

to test, create a batch file with the following :
myIDECallingstuff myneededparameters for an ok build
echo %errorlevel%
pause

when the IDE is closed, you should see a number on the screen


myIDECallingstuff myneededparameters for an not ok build
echo %errorlevel%
pause


when this number is different from the first, you can determine for an ok
build or not
the exec task allows to set different ok return codes,

http://confluence.public.thoughtworks.org/display/CCNET/Executable+Task




with kind regards
Ruben Willems

On Wed, Apr 8, 2009 at 12:43 PM, madhu nambiar <[email protected]>wrote:

> Yes ruben,i would like to know if the compilation is ok or nor.If any
> errors found i need to integrate with my ccnet and send the due notification
> to the development team.So I dont see any log files created when the
> compilation is over.We need to look at the IDE to see for any errors which
> is not much of a user friendly way as the IDE runs on the server machine.So
> jst want the developer to get notified which is possible only when i am able
> to transfer the IDE contents to a text file and then i can go ahead
> integrating it with ccnet and notify them.
>
> I hope i am clear enough??Plz let me know if u want any more imformation
>
> Thanks
> Maddy
>
> On Wed, Apr 8, 2009 at 3:58 PM, Ruben Willems <[email protected]>wrote:
>
>> Hi
>>
>>
>> what would you like to know :
>> ° was the compile successfull or not?
>> ° the compile was ok, but these are the warnings ...
>> ° ...
>>
>>
>> with kind regards
>> Ruben Willems
>>
>>
>>
>> On Wed, Apr 8, 2009 at 11:55 AM, Maddy <[email protected]> wrote:
>>
>>>
>>> Hi,
>>>       This is a doubt regading the usage of  cruise control.NET which
>>> is invoking my IDE for execution.After the execution,i am unable to
>>> getthe data present in my IDE to some text file.Is there any way that
>>> i can do it so that if i could get the text file or log files,i could
>>> then integrate with my ccnet and in turn notify the developers
>>> regarding the status of the build being compiled whether its passing
>>> or failing.
>>>
>>> Is there any batch files need to be written??
>>>
>>> With kind regards
>>> Maddy
>>
>>
>>
>

Reply via email to