History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-13376
Type: Usability Problem Usability Problem
Status: Open Open
Priority: Normal Normal
Assignee: Eugene Zhuravlev
Reporter: Tim Wundke
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Copy user-defined individual resource files

Created: 18 Dec 06 05:43   Updated: 18 Jan 07 13:23
Component/s: Compiling Project
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 6,107
Severity: Low


 Description  « Hide
Currently (as far as I can tell) it's only possible to copy resource files to the compiler output directory using resource patterns. However, I often find myself needing to include files with no extension, usually for inclusion in the META-INF directory.

For example, in Java 6, scripting engines are found using a file called javax.script.ScriptEngineFactory in the META-INF/services directory. As far as I can tell, the only way to include this in the output directory is to add the filename (or some wildcard-matched portion) as a resource pattern. This just feels clunky to me. It's also made worse by having to use a single textfield, where all of the *, ? and ; characters make things difficult to easily read.

I'd like to have a list, similar to the "Exclude from Compile" list, in which individual files, or patterns, can be added.

As an added bonus, having a button that shows you all of the current files that would be included would be handy, but that's a separate issue really.



 All   Comments   Work Log   Change History      Sort Order:
Eugene Zhuravlev - 17 Jan 07 19:29
So the request is to merely change the UI, right? The needed functionality can be achieved now just be enumerating the needed files in "Resource patterns" text field

Tim Wundke - 18 Jan 07 04:07
Yep. It's purely a usability issue at the moment. The text field works, but it's quite hard to determine what's being included. Using the term "pattern" also feels a bit misleading when I simply want to include a single file.

Eugene Zhuravlev - 18 Jan 07 13:22
Ok, understood, thanks