You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by be...@apache.org on 2008/03/21 16:47:29 UTC
svn commit: r639680 -
/maven/plugins/trunk/maven-ant-plugin/src/main/java/org/apache/maven/plugin/ant/AntBuildWriter.java
Author: bentmann
Date: Fri Mar 21 08:47:27 2008
New Revision: 639680
URL: http://svn.apache.org/viewvc?rev=639680&view=rev
Log:
[MANT-37] Wrong path to test resources in maven-build.xml
Modified:
maven/plugins/trunk/maven-ant-plugin/src/main/java/org/apache/maven/plugin/ant/AntBuildWriter.java
Modified: maven/plugins/trunk/maven-ant-plugin/src/main/java/org/apache/maven/plugin/ant/AntBuildWriter.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-ant-plugin/src/main/java/org/apache/maven/plugin/ant/AntBuildWriter.java?rev=639680&r1=639679&r2=639680&view=diff
==============================================================================
--- maven/plugins/trunk/maven-ant-plugin/src/main/java/org/apache/maven/plugin/ant/AntBuildWriter.java (original)
+++ maven/plugins/trunk/maven-ant-plugin/src/main/java/org/apache/maven/plugin/ant/AntBuildWriter.java Fri Mar 21 08:47:27 2008
@@ -390,7 +390,7 @@
// TODO: optional in m1
// TODO: USD properties
- AntBuildWriterUtil.writeCommentText( writer, "Build environnement properties", 1 );
+ AntBuildWriterUtil.writeCommentText( writer, "Build environment properties", 1 );
// ----------------------------------------------------------------------
// File properties to override local properties
@@ -470,9 +470,9 @@
}
}
- if ( project.getBuild().getResources() != null )
+ if ( project.getBuild().getTestResources() != null )
{
- Resource[] array = (Resource[]) project.getBuild().getResources().toArray( new Resource[0] );
+ Resource[] array = (Resource[]) project.getBuild().getTestResources().toArray( new Resource[0] );
for ( int i = 0; i < array.length; i++ )
{
writer.startElement( "property" );