Problem configuring log directory with CruiseControl 2.8.2

"Aquil H. Abdullah" <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
Hello All,

I downloaded and installed the 2.8.2 CruiseControl binrary. I then setup a
project and created a config file, however no matter what I try the log
directory is mis-configured.  I've tried setting the log element of the xml
file to:


<log logdir="/home/aha/devel/builds/cruisecontrol-bin-2.8.2/logs/${
project.name}" />
<log logDir="/home/aha/devel/builds/cruisecontrol-bin-2.8.2/logs/${
project.name}" />

and I still get the following error in my cruisecontrol.log file.

2009-06-02 02:37:50,756 [Thread-25] INFO  ScriptRunner     - BUILD SUCCEEDED
2009-06-02 02:37:50,756 [Thread-25] INFO  ScriptRunner     -
2009-06-02 02:37:50,757 [Thread-25] INFO  ScriptRunner     - Total time: 0.2
seconds.
2009-06-02 02:37:50,757 [Thread-25] INFO  ScriptRunner     -
2009-06-02 02:37:50,894 [Thread-21] INFO  Project          - Project Hello:
idle
2009-06-02 02:37:50,895 [Thread-21] INFO  ProjectController - Hello
Controller: build progress event: idle
2009-06-02 02:37:50,896 [Thread-21] ERROR Project          - exception
attempting build in project Hello
net.sourceforge.cruisecontrol.CruiseControlException: NAnt logfile
/home/aha/devel/builds/cruisecontrol-bin-2.8.2/log.xml does not exist.
        at
net.sourceforge.cruisecontrol.builders.NantBuilder.getNantLogAsElement(NantBuilder.java:253)
        at
net.sourceforge.cruisecontrol.builders.NantBuilder.build(NantBuilder.java:119)
        at net.sourceforge.cruisecontrol.Schedule.build(Schedule.java:169)
        at net.sourceforge.cruisecontrol.Project.build(Project.java:226)
        at net.sourceforge.cruisecontrol.Project.execute(Project.java:147)
        at
net.sourceforge.cruisecontrol.ProjectConfig.execute(ProjectConfig.java:402)
        at
net.sourceforge.cruisecontrol.ProjectWrapper.run(ProjectWrapper.java:69)

The log.xml file in question apears to be in ${CCDIR}/project/${project.name
}

Here is my config file:
<cruisecontrol>
  <!-- <property name="logDir" value="${env.CCDIR}/logs" /> -->
  <project name="Hello">
    <listeners>
      <currentbuildstatuslistener file="logs/${project.name}/status.txt"/>
    </listeners>
    <bootstrappers>
      <svnbootstrapper localWorkingCopy="projects/${project.name}" />

    </bootstrappers>
    <modificationset quietperiod="30">
      <svn RepositoryLocation="file:///home/aha/devel/builds/svn/Hello"/>
    </modificationset>
    <schedule interval="300">
      <nant buildfile="projects/${project.name}/Hello.build"/>
    </schedule>
    <log logdir="/home/aha/devel/builds/cruisecontrol-bin-2.8.2/logs/${
project.name}" />
      <!-- <merge dir="projects/${project.name}/tests/test-results"/>

    </log> -->
    <publishers>
      <onsuccess>
        <artifactspublisher dest="artifacts/${project.name}"
                            file="projects/${project.name}/bin/${
project.name}.exe"/>
      </onsuccess>
    </publishers>
  </project>
</cruisecontrol>

Any help would be appreciated.
Thanks.
-- 
Aquil H. Abdullah
[email protected]

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get

_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.