Seems like it is having a problem finding the nant executible on the
build box.
Are you specifying an nant.exe to use? You should specify one or put one
in the draco.net bin directory on the server.  Try that.



This is the revelant code you are running into from the NAntBuildTool.cs
class.

The thing is, this code should probably be changed any to also catch the
case if nantexe is available in the current path.  I suspect maybe you
are dropping through without a nant build file set then it gets to the
startInfo part without throwing the FileNotFoundException.


            // Default to the nant.exe available in the Draco.NET bin
directory
            string nantexe = "nant.exe";

            if(build.nant.program != null &&
!build.nant.program.Equals(string.Empty)) {
                // Get the path of the file, relative to the working
directory
                // An absolute filename here will override the working
directory (ie: C:\nant\nant.exe)
                string path =
Path.GetFullPath(Path.Combine(workingDirectory, build.nant.program));
                // Check to see if the file exists at the new location
                if(File.Exists(path))
                    nantexe = path;

                if (!File.Exists(nantexe)) {
                    throw new
FileNotFoundException(Draco.Formatter.Format("SpecifiedNAntNotFound",
build.nant.program), nantexe);
                }
            }

            StartInfo startInfo = new StartInfo(nantexe,
MakeArguments(), workingDirectory);
            startInfo.BubbleExceptions = true;
            processRunner.Run(startInfo);
            output = processRunner.LastOutput;



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
SCHLOTFELDT Travis
Sent: Wednesday, March 10, 2004 14:24
To: [EMAIL PROTECTED]
Subject: [Draconet-users] installation/config question


I am having problems getting v1.5-rc1 to build my files.  I ran the
.msi, changed the config file, and started the service.  Every time I
ran the client app to force a build, it failed.  

Failed to process build 'HelloWorld'.  The following exception occurred:
System.ComponentModel.Win32Exception: The system cannot find the file
specified
   at Chive.Draco.Util.InterruptibleProcess.Start()
   at Chive.Draco.Util.ProcessRunner.Run(StartInfo startInfo, String
output)
   at Chive.Draco.Tool.NAntBuildTool.Execute(String workingDirectory)
   at Chive.Draco.BuildRunner.BuildModule(Modification[] mods)

I decided to run the source code in a development environment to debug
what was going on.  From there, everything worked as expected.  I'm
using the same config file in both places (just copied from release
location to debug location).  Am I missing something?

Thanks,
T



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=ick
_______________________________________________
Draconet-users mailing list [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/draconet-users



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Draconet-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/draconet-users

Reply via email to