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

Amit Kumar <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
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"       value="xmllogs"/>

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

       <log dir="${cclogdir}/${project.name}">
           <merge dir="${cclogdir}/${project.name}/${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.

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

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