Cruisecontrol log files

"Haiko Schettgen" <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
Hello Nathan,

 

Thank you for your Post, but I think you mean other log-files which I
mean.

I mean the Logs that will be created if the build failed.

 

 

For example:

Path: C:\Programme\CruiseControl\logs\CCTest (Install Directory)

File Name: log20101012082713.xml

Content of the File: 

 

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

<cruisecontrol>

  <modifications>

    <modification type="always">

      <file action="change">

        <filename>time build</filename>

        <project>time build</project>

      </file>

      <date>2010-10-12T12:59:13</date>

      <user>XXXXXXX</user>

      <comment />

    </modification>

    <modification type="svn">

      <file action="modified">

        <revision>99</revision>

        <filename>/CCTest/trunk/src/Hallo.java</filename>

      </file>

      <date>2010-10-06T08:06:04</date>

      <user>XXXXXXX</user>

      <comment><![CDATA[new]]></comment>

      <revision>99</revision>

    </modification>

    <modification type="svn">

      <file action="modified">

        <revision>100</revision>

        <filename>/CCTest/trunk/src/Hallo.java</filename>

      </file>

      <date>2010-10-12T06:20:18</date>

      <user>XXXXXXXXXXX</user>

      <comment><![CDATA[asfd]]></comment>

      <revision>100</revision>

    </modification>

  </modifications>

  <info>

    <property name="projectname" value="CCTest" />

    <property name="lastbuild" value="20101006000000" />

    <property name="lastsuccessfulbuild" value="20101006000000" />

    <property name="builddate" value="2010-10-12T06:27:13" />

    <property name="cctimestamp" value="20101012082713" />

    <property name="label" value="build.1" />

    <property name="interval" value="10" />

    <property name="lastbuildsuccessful" value="false" />

    <property name="logdir"
value="C:\Programme\CruiseControl\logs\CCTest" />

    <property name="logfile" value="log20101012082713.xml" />

  </info>

  <build error="C:\Programme\CruiseControl\projects\CCTest\build.xml:8:
Compile failed; see the compiler error output for details." time="0
seconds">

    <message priority="debug"><![CDATA[Adding reference:
ant.PropertyHelper]]></message>

    ... 

    <message priority="debug"><![CDATA[Detected Java version: 1.6 in:
C:\Programme\Java\jdk1.6.0_21\jre]]></message>

    <target name="build" time="0 seconds">

      <task
location="C:\Programme\CruiseControl\projects\CCTest\build.xml:8: "
name="javac" time="0 seconds">

        <message priority="debug"><![CDATA[Hallo.java added as
Hallo.class doesn't exist.]]></message>

        <message priority="info"><![CDATA[Compiling 1 source file to
C:\Programme\CruiseControl\projects\CCTest\bin]]></message>

        <message priority="debug"><![CDATA[Using modern
compiler]]></message>

        <message priority="debug"><![CDATA[Compilation arguments:

                        ......

                        ...

not part of the command.]]></message>

        <message priority="debug"><![CDATA[File to be compiled:

 
C:\Programme\CruiseControl\projects\CCTest\src\Hallo.java]]></message>

        <message
priority="warn"><![CDATA[C:\Programme\CruiseControl\projects\CCTest\src\
Hallo.java:1: '{' expected]]></message>

        <message priority="warn"><![CDATA[public class
Hallo()]]></message>

        <message priority="warn"><![CDATA[
^]]></message>

        <message
priority="warn"><![CDATA[C:\Programme\CruiseControl\projects\CCTest\src\
Hallo.java:6: not a statement]]></message>

        <message priority="warn"><![CDATA[adsf]]></message>

        <message priority="warn"><![CDATA[^]]></message>

        <message
priority="warn"><![CDATA[C:\Programme\CruiseControl\projects\CCTest\src\
Hallo.java:6: ';' expected]]></message>

        <message priority="warn"><![CDATA[adsf]]></message>

        <message priority="warn"><![CDATA[    ^]]></message>

        <message priority="warn"><![CDATA[3 errors]]></message>

      </task>

    </target>

 
<stacktrace><![CDATA[C:\Programme\CruiseControl\projects\CCTest\build.xm
l:8: Compile failed; see the compiler error output for details.

      at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:999)

      ...

      at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

]]></stacktrace>

  </build>

</cruisecontrol>

 

 

 

 

 

 

 

 

 

 

 

 

And here is my config-file has I maybe a mistake write into the <delete>
or < deleteartifacts > tag?

 

 

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

<cruisecontrol>

    <project name="CCTest">

      <listeners>

        <currentbuildstatuslistener
file="logs/${project.name}/cur_status.txt"/>

        </listeners>

 

 

      <modificationset quietperiod="10">

 

        <timebuild username="XXXXXXXXX" time="1459" property="-Server-
AutoBuild "/>

        <svn .../>

    

      </modificationset>

 

      

      <schedule interval="10">

        <ant

          anthome="${ant.home}"

          buildfile="projects/${project.name}/build.xml"

          target="build"/>

      </schedule>

 

      <log>

          <merge dir="projects/${project.name}/target/test-results"/>

        <gzip every="1" unit="DAY" />

        <delete every="2" unit="DAY" />

        <deleteartifacts every="2" unit="DAY" />

 

      </log>

      

      

    <publishers>

        <onsuccess>

            <antpublisher anthome="${ant.home}"

                buildfile="projects/${project.name}/build.xml"

                target="publish"/>

        </onsuccess>

 

      </publishers>

     

    </project>

</cruisecontrol>

 

 

 

 

 

So now could you see all Settings I have in my CFG, but at the moment it
doesn't work... :( 

 

Do you have an other idea or maybe the solution of my problem? 

That would be so great!!!                                

 

 

Best wishes Haiko

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev

_______________________________________________
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.