|
|
|
|
File: [OW2-CVS] / howl / howl / logger / Attic / maven.xml
(download)
/
(as text)
Revision: 1.5, Wed May 24 06:57:05 2006 UTC (6 years, 11 months ago) by djencks Branch: MAIN CVS Tags: HEAD Changes since 1.4: +1 -1 lines FILE REMOVED Update maven 2 build to work, remove maven 1 build stuff, and fix ThroughputTest to remove files it creates |
<project default="jar:install" xmlns:j="jelly:core" xmlns:ant="jelly:ant">
<!-- $Id: maven.xml,v 1.5 2006/05/24 07:57:05 djencks dead $ -->
<goal name="default">
<attainGoal name="jar:install"/>
</goal>
<!-- Check if the tests need to run -->
<preGoal name="test:test">
<j:if test="${context.getVariable('maven.test.force') == null}">
<j:if test="${cloveroverride != 'true'}">
<j:set var="uptodatePropName" value="tests.uptodate"/>
<j:remove var="${uptodatePropName}"/>
<ant:mkdir dir="${basedir}/target/test-reports/"/>
<j:set var="uptodateFile" value="${basedir}/target/test-reports/tstamp"/>
<ant:uptodate property="${uptodatePropName}" targetfile="${uptodateFile}">
<ant:srcfiles dir="${basedir}/src/" includes="**/*"/>
</ant:uptodate>
<j:if test="${context.getVariable(uptodatePropName) == 'true'}">
<ant:echo>NOTICE: Skipping tests; they seem to have passed already</ant:echo>
<j:set var="maven.test.skip" value="true"/>
<j:set var="unitTestSourcesPresent" value="false"/>
</j:if>
</j:if>
</j:if>
</preGoal>
<!-- Update the timestamp of the last successful test -->
<postGoal name="test:test">
<j:if test="${context.getVariable('maven.test.failure') == null}">
<ant:touch file="${basedir}/target/test-reports/tstamp"/>
</j:if>
</postGoal>
</project>
| webmaster@ow2.org |
Powered by ViewCVS 0.9.4 |
Back to OW2 Forge