[ 
http://jira.codehaus.org/browse/MOJO-1486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Tran closed MOJO-1486.
--------------------------

    Resolution: Fixed
      Assignee: Dan Tran

fixed at

Revision: 11558
Author: dantran
Date: 5:36:56 PM, Saturday, January 02, 2010
Message:
[MOJO-1476] use DirectoryScanner default exclusion list
----
Modified : 
/trunk/mojo/maven-native/maven-native-api/src/main/java/org/codehaus/mojo/natives/NativeSources.java



> VCS-internal files/directories aren't excluded by default
> ---------------------------------------------------------
>
>                 Key: MOJO-1486
>                 URL: http://jira.codehaus.org/browse/MOJO-1486
>             Project: Mojo
>          Issue Type: Improvement
>          Components: native
>            Reporter: Barnabas Bodnar
>            Assignee: Dan Tran
>            Priority: Minor
>
> A filter-based source-definition without explicit inclusions considers also 
> the VCS-internal files (in directories like ".svn" or "CVS") unless they are 
> excluded explicitly. 
> For example,
> <pre>
> <plugins>
>     <plugin>
>         <groupId>org.codehaus.mojo</groupId>
>         <artifactId>native-maven-plugin</artifactId>
>         <configuration>
>             <sources>
>                 <source>
>                     <directory>src/main/native</directory>
>                 </source>
>             </sources>
>         </configuration>
>     </plugin>
> </plugins>
> </pre>
> leads to attempting to compile files in the directory .svn and 
> subdirectories, if the project-files are part of a SVN local copy. Although 
> this can be avoided through an explicit exclusion like
> <pre>
> <plugins>
>     <plugin>
>         <groupId>org.codehaus.mojo</groupId>
>         <artifactId>native-maven-plugin</artifactId>
>         <configuration>
>             <sources>
>                 <source>
>                     <directory>src/main/native</directory>
>                     <excludes>
>                         <exclude>**/.svn/**/*</exclude>
>                     </excludes>
>                 </source>
>             </sources>
>         </configuration>
>     </plugin>
> </plugins>
> </pre>
> it would find to be reasonable to exclude such directories automatically.

-- 
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

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to