Here is the error that I get.

 

11/13/2003 10:43:16 PM - Starting Draco.NET

11/13/2003 10:43:26 PM - Golf : Checking module for changes

11/13/2003 10:43:26 PM - Check: 11/13/2003 9:08:18 PM

11/13/2003 10:43:26 PM - Check: 11/13/2003 9:08:18 PM

11/13/2003 10:43:28 PM - Golf : Failed to poll repository for changes because the following exception occurred:

System.NullReferenceException: Object reference not set to an instance of an object.

   at Chive.Draco.Scc.SvnLogParser.Parse()

   at Chive.Draco.Scc.SvnRepository.GetModifications(DateTime sinceDate)

   at Chive.Draco.BuildRunner.GetModifications(DateTime earliestModificationTime)

   at Chive.Draco.BuildRunner.CheckForChanges()

 

 

1.) I have tried Nant version 0.8.01 as well as the build from November 8th, 2003.

2.) I have tried this on Windows 2000, Windows XP, and Windows 2003

3.) I have tried version 1.4 and 1.5 of Draco.Net

4.) I have tried subversion 0.30.0 and 0.32.1.

5.) svn.exe is in my system path

6.) nant.exe is in my system path

7.) My build scripts work fine when called from command line

8.) I can access my subversion repository just fine when accessed from command line

9.) I have tried a domain admin account for the service

10.) I have tried a local admin account for the service

11.) I have kicked my computer across the room in frustration (well… maybe I didn’t do that – yet.)

 

Any help would be appreciated.  I am sure that there is something small that I am missing...  I just cant see it.

 

Thanks,

 

Shane

 

 

 

Here is my Draco.exe.config file:

 

<?xml version="1.0" encoding="utf-8" ?>

<configuration>

 

  <configSections>

    <!--

      Register Draco's custom configuration section.  The configuration parser

      will delegate control to the ConfigurationSection class when it encounters

      the <draco> element

     -->

    <section name="draco" type="Chive.Draco.Config.ConfigurationSection, Draco" />

  </configSections>

 

  <system.diagnostics>

    <switches>

      <!--

        This switch controls general messages. In order to receive general

        trace messages change the value to the appropriate level. "1" gives

        error messages, "2" gives errors and warnings, "3" gives more

        detailed error information, and "4" gives verbose trace information

       -->

      <add name="TraceLevelSwitch" value="4" />

    </switches>

   

    <trace autoflush="true" indentsize="4">

      <listeners>

        <!--

          Logs all output to a file called draco.log that will be created in

          the configuration directory (the directory containing modifications.xsl)

         -->

        <add name="Draco"

             type="Chive.Draco.Util.FileTraceListener, Draco"  />

       

        <!--

          We do not require require the default TraceListener which logs

          output to the console.  This is meaningless since Draco runs

          as a Window Service

         -->

        <remove name="Default"/>

      </listeners>

    </trace>

  </system.diagnostics>

 

  <!-- Configures Draco remoting -->

  <system.runtime.remoting>

    <application>

      <service>

        <!--

          The server-activated, singleton remote object

         -->

        <wellknown mode="Singleton"

                   objectUri="Draco"

                   type="Chive.Draco.DracoRemote, Draco" />

      </service>

     

      <!--

        Register a tcp channel listening on port 8086

       -->

      <channels>

        <channel ref="tcp" port="8086" />

      </channels>

    </application>

   

  </system.runtime.remoting> 

 

  <draco xmlns="http://www.chive.com/draco">

 

    <!--

      The number of seconds between polling a module for changes.

      e.g. a value of 600 means that the module will be checked for

      changes every 10 minutes.

    -->

    <pollperiod>60</pollperiod>

   

    <!--

      The number of seconds the repository must be idle for a build

      to occur.

    -->

    <quietperiod>60</quietperiod>

 

    <!--

      The domain name or IP address of of your SMTP email server.

    -->

    <mailserver>mail</mailserver>

 

    <!--

      The email address that all email notifications are sent from.

    -->

    <fromaddress>[EMAIL PROTECTED]</fromaddress>

 

    <!--

      This element contains a build child element for each module that

      is to be polled and rebuilt whenever a change is detected.

    -->

    <builds>

   

      <!--

        This is the first module that will be monitored and built whenever a change is detected.

      -->

      <build>

     

          <!--

            A unique name for the build (mandatory).  Will appear in log output etc.

          -->

          <name>Golf</name>

         

          <!--

            Optionally override the pollperiod and quietperiod for this build only.

          -->

          <pollperiod>10</pollperiod>

          <quietperiod>30</quietperiod>

         

          <notification>

            <!--

              A directory to write the build results to after each build attempt.

            -->

            <file>

              <dir>C:\DracoWorking\BuildOutput</dir>

            </file>

          </notification>

         

          <!--

            Configuration for the NAnt build tool.

          -->

          <nant>

           

            <!--

              The name and path to the NAnt build file to be executed.  If a path

              is given then it should be relative to the module's root directory.

            -->

            <buildfile>\RootDir\Project\Golf.build</buildfile>

 

            <!--

              One or more explicit targets to execute, seperated by spaces.

              If not specified, the default target will be executed.

            -->

           

            <targets>clean</targets>

           

 

            <!--

              A set of properties that should be passed to the NAnt build file via

              the -D:name=value command line option.

            -->

            <!--<properties>

              <property name="property1" value="value1" />

              <property name="property2" value="value2" />

            </properties>-->

           

          </nant>

         

          <!--

            Configuration for Subversion.

          -->

          <svn>

           

            <!--

              URL to the repository.

            -->

            <url>http://source.acculence/svn/test/trunk</url>

           

            <!--

              Authentication information. If this is omitted, Draco will attempt

              to check out the source anonymously.

            -->           

            <!--<user>johndoe</user>

            <password>password</password>-->

             

          </svn>

 

      </build>

                 

    </builds>

 

  </draco>

 

</configuration>

 


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.537 / Virus Database: 332 - Release Date: 11/6/2003

Reply via email to