The following comment has been added to this issue:

     Author: dion gillard
    Created: Sun, 18 Jul 2004 10:38 PM
       Body:
AFAIK, this isn't a typo.

>From the docs:
Use this property to specify that JUnit should search the test classes directory 
rather than the source directory. This allows for test cases to be written in other 
languages such as Groovy which generate bytecode that can then be used by this plugin. 
Sample :

maven.test.search.classdir=true

I agree the code doesn't make much sense though, why is the searchdir being set to 
${maven.test.dest} and then in almost all cases, being overwritten to 
${pom.build.unitTestSourceDirectory}
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPTEST-38?page=comments#action_21916

---------------------------------------------------------------------
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: Sun, 18 Jul 2004 10:38 PM

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