You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4php-dev@logging.apache.org by ch...@apache.org on 2009/10/21 00:49:43 UTC

svn commit: r827827 - /incubator/log4php/trunk/pom.xml

Author: chammers
Date: Tue Oct 20 22:49:43 2009
New Revision: 827827

URL: http://svn.apache.org/viewvc?rev=827827&view=rev
Log:
In the antrun:run{phplint} Maven task I replaced the <for> by <apply> and which
not only is shorter but also allowes us to get rid of the ant-contrib dependency
which caused build problems as it has a dependency on ant-1.6.x.

Modified:
    incubator/log4php/trunk/pom.xml

Modified: incubator/log4php/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/log4php/trunk/pom.xml?rev=827827&r1=827826&r2=827827&view=diff
==============================================================================
--- incubator/log4php/trunk/pom.xml (original)
+++ incubator/log4php/trunk/pom.xml Tue Oct 20 22:49:43 2009
@@ -140,11 +140,6 @@
 						<artifactId>saxon</artifactId>
 						<version>8.7</version>
 					</dependency>
-					<dependency>  
-					    <groupId>ant-contrib</groupId>
-					    <artifactId>ant-contrib</artifactId>
-					    <version>1.0b3</version>
-					 </dependency> 
 				</dependencies>
 				<executions>
                     <execution>
@@ -155,18 +150,10 @@
                         </goals>
                         <configuration>
                             <tasks>
-                                <taskdef name="for" classname="net.sf.antcontrib.logic.ForTask" />
-                                <for param="src.php">  <!-- parallel="false" threadCount="10" -->
-                                    <path>
-                                        <fileset dir="." includes="src/main/php/**/*.php"/>
-                                    </path>
-                                    <sequential>  
-                                        <exec executable="php" failonerror="true">
-                                            <arg value="-l"/>
-                                            <arg value="@{src.php}"/>
-                                        </exec>
-                                    </sequential>  
-                                </for>  
+                                <apply executable="php">
+                                    <arg value="-l" />
+                                    <fileset dir="." includes="src/main/php/**/*.php"/>
+                                </apply>
                             </tasks>        
                         </configuration>
                     </execution>