Re: Regarding Config.xml (Access name of recently generated xml log file)

Ian McKenna <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <069EEF2785C3F6429AD06400126202B718AFF9A412@exchange12.cobhamtl.local>
the logfile should be called

log${cctimestamp}L${label}.xml


Ian McKenna
Software Co-Op
Cobham Surveillance
T:+1 902 468 3007
F:+1 902 468 3009

Please consider the environment before printing this email

This email and any attachments may contain EXPORT-CONTROLLED technical data that is subject to the International Traffic In Arms Regulations (ITAR), or the Export Administration Regulations (EAR). Export of this material is restricted by the Controlled Goods Regulations and may not be transferred by any means to a foreign person, outside the US or Canada, without prior written approval from International Trade Canada or the U.S. Government. If you are not the intended recipient of this email, please notify the sender immediately.

From: Amit Kumar [mailto:[email protected]]
Sent: Wednesday, April 01, 2009 9:07 AM
To: [email protected]
Subject: [Cruisecontrol-user] Regarding Config.xml (Access name of recently generated xml log file)

Hi,

Below is my config.xml, after call to <ant> xml log is generated,
is there a way to get name of that xml log.

<cruisecontrol>
   <property environment="env" toupper="true"/>
   <project name="project_compile" buildafterfailed="false">

       <property name="ccviewroot"           value="X:"/>
       <property name="cchome"               value="C:\CruiseControl"/>
       <property name="tomcathome"           value="C:\Progra~1\Apache~1\apache-tomcat-6.0.14"/>
       <property name="cclogdir"             value="${cchome}/logs"/>
       <property name="artifactdir"          value="${cchome}/artifacts"/>
       <property name="cc.scripts.home"      value="${ccviewroot}/tools_vs/build/cruisecontrol"/>
       <property name="xmllogdir.name<http://xmllogdir.name>"       value="xmllogs"/>

       <listeners>
           <currentbuildstatuslistener file="${cclogdir}/${project.name<http://project.name>}/status.txt"/>
       </listeners>

       <log dir="${cclogdir}/${project.name<http://project.name>}">
           <merge dir="${cclogdir}/${project.name<http://project.name>}/${xmllogdir.name<http://xmllogdir.name>}" pattern="*.xml"/>
           <merge file="${cchome}/config-log_params_project.xml"/>
           <!-- merge dir="${ccviewroot}/Windchill/buildlogs/test_reports" pattern="*.xml"/ -->
       </log>

       <modificationset quietperiod="10">
           <alwaysbuild/>
       </modificationset>

       <schedule interval="20">
            <composite>
              <ant anthome="${ccviewroot}/tools_vs/ant"
                   buildfile="${ccviewroot}/Windchill/src/buildtools/projectbuild/integ.x-12/compile.xml"
                   uselogger="true"
                   usequiet="true">
                 <property name="cclogdir" value="${cclogdir}"/>
                 <property name="use.ptc.xml.logger" value="true"/>
              </ant>
              <exec workingdir="${cchome}/lib" command="java"
                args="-jar saxon8.jar -o error_warn.html log20090329193750.xml reports.xsl"/>
           </composite>
       </schedule>
.
.
.
</cruisecontrol>


thanks
-Amit

--
SAVE Paper and Trees : Please do not print e-mail unless it is absolutely necessary.

This email was scanned by Postini, the leading provider in Managed Email Security.  For more information visit
www.groveis.com

------------------------------------------------------------------------------

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