Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » resource comprising empty directories not copied to bin/resources?
resource comprising empty directories not copied to bin/resources? [message #1719580] Sat, 09 January 2016 04:24 Go to next message
Eclipse UserFriend
I have a resources folder that consists of a tree of folders, one for each year of interest, and in turn those folders each have a folder for each month, and some of the month folders have files...and some don't. It seems that only the folders that have actual files are copied to bin/resources for use by my Junit tests. For example, if test/resource/data/2015/12 is empty, then is is not copied to bin. Whereas if I add foobar.txt file to test/resource/data/2015/12, then it is copied (including the file, of course). Is there some eclipse configuration flag that will allow even empty folders to be copied?
Re: resource comprising empty directories not copied to bin/resources? [message #1719719 is a reply to message #1719580] Mon, 11 January 2016 11:35 Go to previous message
Eclipse UserFriend
Not that I know of; when I've occasionally needed something like this I've just put empty .keepme files (or some other easily ignorable/filterable name) to force the empty directories to be non-empty.
Previous Topic:project specific formatter prefs and formatter profile
Next Topic:Update marker attributes while file being edited
Goto Forum:
  


Current Time: Mon Aug 18 02:35:52 EDT 2025

Powered by FUDForum. Page generated in 0.11716 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top