The following comment has been added to this issue:

     Author: Jerome Lacoste
    Created: Mon, 19 Jul 2004 8:25 AM
       Body:
All in all, I still don't understand why the run tests are found in the tests sources. 
Why don't one use the compiled classes as input?
What are the drawbacks of doing so?

Whatever the answer to that question, with the current implementation, I think that 
the doc should be improved to say at least in the sourceModifications doc to look at 
this maven.test.search.classdir property.

Or maybe this should be added as a FAQ in the wiki. The problem is that if you use 
sourceModifications, then you may end up with some classes not being compiled, and 
running the tests based on the test source directory becomes a bad idea.

And the documentation of the maven.test.search.classdir property should perhaps also 
mention the sourceModifications change that could result in the need for using that 
property. (which is to me a more frequent reason that using Groovy)

---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPTEST-38?page=comments#action_21937

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPTEST-38

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPTEST-38
    Summary: variable name typo breaks test plugin
       Type: Improvement

     Status: Open
   Priority: Critical

 Original Estimate: 1 minute
 Time Spent: Unknown
  Remaining: 1 minute

    Project: maven-test-plugin

   Assignee: Jason van Zyl
   Reporter: Jerome Lacoste

    Created: Thu, 15 Jul 2004 7:30 PM
    Updated: Mon, 19 Jul 2004 8:25 AM

Description:
<j:set var="maven.test.searchdir" value="${maven.test.dest}"/>
<j:if test="${context.getVariable('maven.test.search.classdir') == null}">
                                                    ^^^^^
  <j:set var="maven.test.searchdir" value="${pom.build.unitTestSourceDirectory}"/>
</j:if>






---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to