Hi,
I jst tried this piece of code u had given and the output is shown below

Jst getting some errors



NAnt 0.85 (Build 0.85.2478.0; release; 10/14/2006)
Copyright (C) 2001-2006 Gerry Shaw
http://nant.sourceforge.net
Buildfile: file:///C:/BRM/nant.build
Target framework: Microsoft .NET Framework 2.0
Target(s) specified: build

build:

BUILD FAILED
C:\BRM\nant.build(8,4):
External Program Failed: D:\WindRiver\wrenv.exe (return code was -1)
Total time: 0.3 seconds.
Thanks
Maddy

On Fri, Apr 3, 2009 at 1:56 PM, Ruben Willems <[email protected]>wrote:

> Hi
>
> exe.bat is
>
> D:\WindRiver\wrenv.exe -p vxworks653-2.2.3 run
>
>
> where is the run in your nant exe?
>
>
> can you try this :
>  <exec program="D:\WindRiver\wrenv.exe">
>       <arg value="-p"/>
>       <arg value="vxworks653-2.2.3"/>
>       <arg value="run"/>
>  </exec>
>
>
>
> with kind regards
> Ruben Willems
>
>
>   On Fri, Apr 3, 2009 at 10:14 AM, madhu nambiar 
> <[email protected]>wrote:
>
>> yes his nant script is the latest i had used with some slight
>> modification,but the nant is hanging and its not completing the execution.
>>
>> my VB is shown below
>>
>>
>> hi my nant is now invoking the VB which is shown below
>>
>> <target name="build" description="compiles the source code">
>>     <exec program="WScript.exe" failonerror="false" >
>>         <arg value="C:\ThreePartition\RunExe.vbs"/>
>>     </exec></target>
>>
>> RunExe.vbs is shown below
>>
>> Set WshShell = WScript.CreateObject("WScript.Shell") WshShell.Run "test.bat"
>>
>> test.bat is shown below
>>
>> CALL C:\ThreePartition\exe.bat
>> PAUSE
>>
>> exe.bat is shown below
>>
>> D:\WindRiver\wrenv.exe -p vxworks653-2.2.3 run
>> PAUSE
>>
>> I had called exe.bat through test.bat since when i had called the exe.bat
>> directly in my VB it is invoking the IDE but after execution my IDE jst
>> dissappears.I want my IDE to stay so that i could have a look at my results.
>>
>> Thanks Maddy
>>
>>
>>   On Fri, Apr 3, 2009 at 1:10 PM, Ruben Willems 
>> <[email protected]>wrote:
>>
>>> Hi
>>>
>>> ok, this nant script is different than the last one
>>>
>>> <arg value="vxworks653-2.2.3"/>
>>>     iso
>>> <arg path="vxworks653-2.2.3"/>
>>>
>>>
>>> how did you call this via those vbscript files?
>>> did you do something with process or environment variables or so?
>>>
>>>
>>> with kind regards
>>> Ruben Willems
>>>
>>>   On Fri, Apr 3, 2009 at 9:22 AM, madhu nambiar <[email protected]
>>> > wrote:
>>>
>>>> Hi ruben,
>>>>               When i execute D:\WindRiver\wrenv.exe -p vxworks653-2.2.3
>>>> from START->run,i am able to open my IDE and i had tried another one which
>>>> is shown below
>>>>
>>>>             <exec program="D:\WindRiver\wrenv.exe">
>>>>       <arg value="-p"/>
>>>>       <arg value="vxworks653-2.2.3"/>
>>>>
>>>>     </exec>
>>>> when i execute just the nant in the command line,i dont get any errors
>>>> but  it jst gets stuck up and does nothing ahead.shown below
>>>> NAnt 0.85 (Build 0.85.2478.0; release; 10/14/2006)
>>>> Copyright (C) 2001-2006 Gerry Shaw
>>>> http://nant.sourceforge.net
>>>> Buildfile: file:///C:/BRM/nant.build
>>>> Target framework: Microsoft .NET Framework 2.0
>>>> Target(s) specified: build
>>>>
>>>> build:
>>>>      [exec] Microsoft Windows XP [Version 5.1.2600]
>>>>      [exec] (C) Copyright 1985-2001 Microsoft Corp.
>>>>
>>>>
>>>>
>>>>
>>>> Thanks
>>>> Maddy
>>>>
>>>>   On Fri, Apr 3, 2009 at 12:39 PM, Ruben Willems <
>>>> [email protected]> wrote:
>>>>
>>>>> Hi
>>>>>
>>>>>
>>>>> I do not know what the 'vxworks653-2.2.3' is, but you did not specify
>>>>> it's path
>>>>> -->maybe replace it with 'd:\windriver\vxworks653-2.2.3'
>>>>>
>>>>> with kind regards
>>>>> Ruben Willems
>>>>>
>>>>>
>>>>>   On Fri, Apr 3, 2009 at 8:42 AM, madhu nambiar <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> hi ruben,
>>>>>> my nant script which i had tried earlier is shown below
>>>>>>
>>>>>>
>>>>>>   <target name="vxworks">
>>>>>>
>>>>>>     <exec program="D:\WindRiver\wrenv.exe">
>>>>>>       <arg value="-p"/>
>>>>>>       <arg path="vxworks653-2.2.3"/>
>>>>>>     </exec>
>>>>>>
>>>>>>   </target>
>>>>>>
>>>>>>
>>>>>> when i execute my nant script through the command line directly the
>>>>>> error is shown below:
>>>>>>
>>>>>> build:
>>>>>>      [exec] D:\WindRiver\wrenv.exe: package
>>>>>> "D:\WindRiver\vxworks653-2.2.3" not
>>>>>> found
>>>>>> BUILD FAILED - 0 non-fatal error(s), 1 warning(s)
>>>>>> C:\BRM\nant.build(9,6):
>>>>>> External Program Failed: D:\WindRiver\wrenv.exe (return code was 1)
>>>>>> Total time: 0.2 seconds
>>>>>>
>>>>>> Can u plz correct me if i am wrong??
>>>>>>
>>>>>> Thanks
>>>>>> Maddy
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Fri, Apr 3, 2009 at 12:06 PM, Ruben Willems <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>> Hi
>>>>>>>
>>>>>>> can you post your nant script?
>>>>>>> or at least the part (nant target) that should execute the vxworks
>>>>>>> executable?
>>>>>>>
>>>>>>>
>>>>>>> with kind regards
>>>>>>> Ruben Willems
>>>>>>>
>>>>>>>
>>>>>>> On Fri, Apr 3, 2009 at 7:01 AM, Maddy <[email protected]>wrote:
>>>>>>>
>>>>>>>>
>>>>>>>>  Hi,
>>>>>>>> I have an IDE named VxWorks 653 2.2.3 Development shell which needed
>>>>>>>> to be invoked all the time when i notice any change in my source
>>>>>>>> files.So i had invoked this shell through a VB scripts which invokes
>>>>>>>> two more .bat(Batch files) to get this shell popped up for
>>>>>>>> execution.Now i feel that since my IDE can be invoked by command
>>>>>>>> line,it can also be invoked through nant scripts using the statement
>>>>>>>> like
>>>>>>>>
>>>>>>>> D:\WindRiver\wrenv.exe -p vxworks653-2.2.3 But what i see is that
>>>>>>>> its
>>>>>>>> not at all invoking.I had tried all different ways but all turned
>>>>>>>> out
>>>>>>>> to be in vain. Can anyone pls suggest me any way either in nant
>>>>>>>> scripts or in cruise control by which my IDE can be invoked.Now at
>>>>>>>> present i am using VB scripts which is a very long proceess.
>>>>>>>>
>>>>>>>> Thanks and regards
>>>>>>>> Maddy
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>

Reply via email to