[ 
https://issues.apache.org/jira/browse/OODT-847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14717395#comment-14717395
 ] 

Chris A. Mattmann commented on OODT-847:
----------------------------------------

Hmm, I think it's the naming pattern for your Java file which is included by 
the surefire-test plugin. What if you called the class 
FileAttributesExtractorTest.java?


> New FilemgrMetExtractor to extract File System Attributes
> ---------------------------------------------------------
>
>                 Key: OODT-847
>                 URL: https://issues.apache.org/jira/browse/OODT-847
>             Project: OODT
>          Issue Type: New Feature
>          Components: file manager
>    Affects Versions: 0.8.1
>            Reporter: Rishi Verma
>            Assignee: Rishi Verma
>            Priority: Minor
>             Fix For: 0.11
>
>         Attachments: FileAttributesExtractor.java
>
>
> It's sometimes useful to extract File System metadata from files that people 
> often see when browsing a file on an operating system.
> Examples:
> * POSIX permissions
> * Datetime stamps, including: lastModified, creationTime, lastAccessTime
> * Is a symbolic file?
> * Is a directory?
> * File owner
> * Is hidden file?
> etc.
> Java 7's Files.getAttributes [1] does this in a platform-generic way. We 
> should leverage this and add an extractor for the benefit of the community.
> [1] http://docs.oracle.com/javase/tutorial/essential/io/fileAttr.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to