Author: bentmann
Date: Thu Sep 25 15:01:41 2008
New Revision: 699112
URL: http://svn.apache.org/viewvc?rev=699112&view=rev
Log:
o Fixed test for basedir alignment (File.getPath() doesn't use slashes on a
Windows host, so the test would have never failed here)
Modified:
maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-touch/src/main/java/org/apache/maven/plugin/coreit/CoreItMojo.java
Modified:
maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-touch/src/main/java/org/apache/maven/plugin/coreit/CoreItMojo.java
URL:
http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-touch/src/main/java/org/apache/maven/plugin/coreit/CoreItMojo.java?rev=699112&r1=699111&r2=699112&view=diff
==============================================================================
---
maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-touch/src/main/java/org/apache/maven/plugin/coreit/CoreItMojo.java
(original)
+++
maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-touch/src/main/java/org/apache/maven/plugin/coreit/CoreItMojo.java
Thu Sep 25 15:01:41 2008
@@ -94,7 +94,7 @@
// This parameter should be aligned to the basedir as the parameter
type is specified
// as java.io.File
- if ( basedirAlignmentDirectory.getPath().equals(
"target/test-basedir-alignment" ) )
+ if ( !basedirAlignmentDirectory.isAbsolute() )
{
throw new MojoExecutionException( "basedirAlignmentDirectory not
aligned" );
}