Typically, you'll have a source structure like so: "src/package/path/MyClass.java". When you add src to the list of sources, it will include the contents, e.g. package.path.MyClass. That is sensible.
There is a project I'm working on that has a resource folder which I'd like to add directly. E.g. Add the folder itself, not the folder's contents. For example, suppose I have structure: "images/img.png". Currently, if I add images to sources, then img.png gets copied directly to the build directory, instead of images/img.png. As a workaround, I have to rearrange the structure to be something like "src_images/images/img.png", or move into "src/images/img.png". Hope that makes sense.
Typically, you'll have a source structure like so: "src/package/path/MyClass.java". When you add
src
to the list of sources, it will include the contents, e.g.package.path.MyClass
. That is sensible.There is a project I'm working on that has a resource folder which I'd like to add directly. E.g. Add the folder itself, not the folder's contents. For example, suppose I have structure: "images/img.png". Currently, if I add
images
to sources, thenimg.png
gets copied directly to the build directory, instead ofimages/img.png
. As a workaround, I have to rearrange the structure to be something like "src_images/images/img.png", or move into "src/images/img.png". Hope that makes sense.