Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a source folder directly, rather than its contents #776

Open
Azmisov opened this issue Jul 13, 2023 · 2 comments
Open

Adding a source folder directly, rather than its contents #776

Azmisov opened this issue Jul 13, 2023 · 2 comments

Comments

@Azmisov
Copy link

Azmisov commented Jul 13, 2023

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.

@jdneo
Copy link
Member

jdneo commented Jul 13, 2023

So it's an unmanaged folder project right?

@Azmisov
Copy link
Author

Azmisov commented Jul 13, 2023

Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants