Menu

net.sourceforge.cruisecontrol.BuildInfo.xml

Help
2004-07-23
2004-07-23
  • Jettro Coenradie

    I am running Cruisecontrol 2.1.6 ant ant 1.6. I created the following target for jcsc:
        <taskdef name="jcsc" classname="rj.tools.jcsc.ant.JCSCTask"/>
        <target name="jcsc">
            <jcsc rules="${basedir}/${project.root.dir}/buildenv/adc_checks.jcsc"
                    destdir="${project.root.dir}/${coverage.dir}"
                    worstcount="20"    startdate="2003-01-01 00:00:00"
                    failvalue="0.05"
                    failseverity="5"
                        copyassociatedfiles="true"
                    jcschome="${JCSC_HOME}">
                <fileset dir="${compiler.source.dir}" includes="**/*.java"/>
            </jcsc>
            <copy file="${project.root.dir}/${coverage.dir}/overview.xml" tofile="${project.root.dir}/${logs.dir}/jcsc_${ant.project.name}.xml"/>
        </target>

    Then running ant results in this message:
    C:\views\adc\Coreteam_Prj\2_Streams\Java\JavaProjectStructure\3.Implementation\buildenv\testing-targets.xml:43: java.io.FileNotFoundException: ..\..\..\coverage\net.sourceforge.cruisecontrol.BuildInfo.xml (The system cannot find the path specified)

    I do not understand what this BuildInfo.xml is for and how it should get at the requested location. This is the location the results of jcsc should be copied to.

    Hope someone can help.

     
    • Jettro Coenradie

      Solved that, the root path is from where cruisecontrol is called, not from where the ant script resides. Using the absolute path solved it for me.

      sorry about theat.

       

Log in to post a comment.

MongoDB Logo MongoDB