geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pra...@apache.org
Subject svn commit: r488026 - /geronimo/server/trunk/maven-plugins/testsuite-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/testsuite/SurefireXMLGeneratorMojo.java
Date Sun, 17 Dec 2006 19:16:06 GMT
Author: prasad
Date: Sun Dec 17 11:16:05 2006
New Revision: 488026

URL: http://svn.apache.org/viewvc?view=rev&rev=488026
Log:
* use getBasedir()/target instead of getBuild().getDirectory()

Modified:
    geronimo/server/trunk/maven-plugins/testsuite-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/testsuite/SurefireXMLGeneratorMojo.java

Modified: geronimo/server/trunk/maven-plugins/testsuite-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/testsuite/SurefireXMLGeneratorMojo.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/maven-plugins/testsuite-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/testsuite/SurefireXMLGeneratorMojo.java?view=diff&rev=488026&r1=488025&r2=488026
==============================================================================
--- geronimo/server/trunk/maven-plugins/testsuite-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/testsuite/SurefireXMLGeneratorMojo.java
(original)
+++ geronimo/server/trunk/maven-plugins/testsuite-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/testsuite/SurefireXMLGeneratorMojo.java
Sun Dec 17 11:16:05 2006
@@ -109,7 +109,8 @@
 
         currentReportsDirectory = new File(currentBuildDirectory, "surefire-reports");
         if (grandParent) {
-            parentBuildDirectory = new File(project.getParent().getParent().getBuild().getDirectory());
+            log.debug(getProject().getParent().getParent().getArtifactId() + " -- " + getProject().getParent().getParent().getBasedir().getAbsolutePath());
+            parentBuildDirectory = new File(getProject().getParent().getParent().getBasedir(),
"target");
         }
         parentReportsDirectory = new File(parentBuildDirectory, "surefire-reports");
         log.info("Updating directory: " + parentReportsDirectory.getAbsolutePath() );



Mime
View raw message