[ 
http://jira.codehaus.org/browse/MECLIPSE-679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=255359#action_255359
 ] 

Sean Flanigan commented on MECLIPSE-679:
----------------------------------------

That should say "you can't exclude {{\*\*/\*.java}} from a class folder".

> Test directories should not be exported to other projects/modules
> -----------------------------------------------------------------
>
>                 Key: MECLIPSE-679
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-679
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>          Components: Core : Dependencies resolution and build path 
> (.classpath)
>            Reporter: Sean Flanigan
>
> For consistency with Maven dependency rules, the contents of src/test/java 
> and src/test/resources should not be exported to the classpath of dependent 
> projects.  (This is handy for files like log4j.xml where a particularly 
> verbose configuration might only make sense when testing the project itself.)
> In Eclipse, it's probably not possible to achieve this for a source folder 
> like src/test/java (source folders are always exported), but at least 
> src/test/resources could be added to the classpath as a class folder, rather 
> than a source folder. 
> It's probably best if this is optional, because you can't exclude **/*.java 
> from a class folder, as you can for a source folder.  It must be rare to put 
> .java files in src/test/resources, but I'm sure they're out there!

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to