geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r519256 - /geronimo/server/branches/1.1/etc/maven.xml
Date Sat, 17 Mar 2007 07:35:11 GMT
Author: jdillon
Date: Sat Mar 17 00:35:11 2007
New Revision: 519256

URL: http://svn.apache.org/viewvc?view=rev&rev=519256
Log:
Only do this silly uptodate check if src/ exists

Modified:
    geronimo/server/branches/1.1/etc/maven.xml

Modified: geronimo/server/branches/1.1/etc/maven.xml
URL: http://svn.apache.org/viewvc/geronimo/server/branches/1.1/etc/maven.xml?view=diff&rev=519256&r1=519255&r2=519256
==============================================================================
--- geronimo/server/branches/1.1/etc/maven.xml (original)
+++ geronimo/server/branches/1.1/etc/maven.xml Sat Mar 17 00:35:11 2007
@@ -213,11 +213,13 @@
         <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>
-
+        
+        <u:available file="${basedir}/src">
+            <ant:uptodate property="${uptodatePropName}" targetfile="${uptodateFile}">
+              <ant:srcfiles dir="${basedir}/src/" includes="**/*"/>
+            </ant:uptodate>
+        </u:available>
+        
         <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"/>



Mime
View raw message