Hello Ruben,
   My plan was to call this nant script using cruise control but I am
trying to make it work using nant for now.
It you see my output. I ran Nant -buildfile:BES.build.
Also i have added the complete script in my original post.

Thanks you for looking,.

-Udit

On Oct 20, 9:53 am, "Ruben Willems" <[EMAIL PROTECTED]> wrote:
> Hi
>
> can you post your ccnet.config for this project?
>
> with kind regards
> Ruben Willems
>
> On Mon, Oct 20, 2008 at 3:35 PM, Udit <[EMAIL PROTECTED]> wrote:
>
> > I need some serious help friends.. I am not sure whats wrong here.
> > My Nant script doesnt call a executable using exec..
> > I even tried calling a batch file. I can execute this batch script
> > absolutely fine using command prompt.
> > I am trying to create a target inside my build file to compile a
> > ASP.NET application using devenv.com (Microsoft Visual Studio 2008).
> > Any other suggestions are also welcome.. please help..
>
> > This is the script:
> > <?xml version="1.0"?>
> > <project name="BES" default="build" basedir="D:\Temp\BESLog">
> > <property name="batch" value="D:\Program Files\CruiseControl.NET\server
> > \BES-QA"/>
> >        <target name="build">
> >               <exec basedir="${batch}" program="besbuild.bat">
> >               </exec>
> >        </target>
> > </project>
>
> > Error Message:
> > D:\temp>nant -buildfile:BES.build
> > NAnt 0.86 (Build 0.86.2898.0; beta1; 12/8/2007)
> > Copyright (C) 2001-2007 Gerry Shaw
> >http://nant.sourceforge.net
> > Buildfile: file:///D:/temp/BES.build
> > Target framework: Microsoft .NET Framework 3.5
> > Target(s) specified: build
> > build:
> > BUILD FAILED
> > D:\temp\BES.build(15,3):
> > 'D:\Program Files\CruiseControl.NET\server\BES-QA\besbuild.bat' failed
> > to start.
> >    The directory name is invalid
> > Total time: 0.2 seconds.

Reply via email to