Trouble with resources not being copied correctly into output folder
Hello,
I am having a problem with my resources not ending up in the correct directory when i run/compile a project.
i have java/application/resources folder marked as resources. It has a couple of .properties files, .txt files and fxml files.
when i run the application, the output of my java files are sent to my Output folder as:
Output/production/ProjectName/application/
But there is no resource folder, despite the other folders for my java files being in their correct
The strange part is, the resources are still transferred to my Output folder! They are just sent to:
Output/production/ProjectName/
instead of:
Output/production/ProjectName/application/resources
If i create the folder resources as above, and copy and paste the resources to that location, the application functions. Otherwise, the application fails due to not finding resources.
It seems like i need to change the output of just the resources folder.
Can somebody explain to me how i would change the output of ONLY the resource folder? (I know how to change the output of the output path, but that doesn't help since only some files are not sent to the correct location)
If there are any other suggestions, i would be happy to hear them. Thank you
Please sign in to leave a comment.
Is it possible to provide a sample project and steps to reproduce the issue? There are a lot of details here and one project could cover them all.
You can use JetBrains FTP share:
ftp://ftp.intellij.net/.uploads/ (anonymous login, .uploads directory has no permissions to list/download files, only for upload, so that other users will not be able to download your project).
Hello Konstantine, it appears the link you provided was broken. Could you provide it to me again?
Thank you
@Danielsoto03
Try also ftp://ftp.labs.intellij.net/.uploads
@Konstantin , I'm sorry i appear to have trouble connecting to the server to transfer. I'm uncertain if i am doing it incorrectly.
I am using FileZilla to connect to ftp://ftp.intellij.net/ But i keep getting a 550 PWD: Permission denied Response, followed by Failed to retrieve Directory listing Error.
Could you provide me with the correct way to connect to upload a zipped file of my project?
Also, based on this link:
https://intellij-support.jetbrains.com/hc/en-us/articles/206869619-Uploading-Large-Files-for-JetBrains-Support-Team
I could send them the JetBrains email address. My project is about a 1 MB (everything under the project name, in the ideasProjects folder. Let me know if i should send it through this method instead.
Thank you
@Danielsoto03,
Please use "HTTP" method from the article and send the file by opening "https://uploads.services.jetbrains.com/ " page in a browser.
Let me know the file name afterward.
I included my .idea folder, src folder, pom.xml, and a ReadMe.txt with some details to the project. they are in a zip file labelled dan_application.zip I uploaded it to the link you provided me.
Let me know if there is anything else you require.
Any assistance would be greatly appreciated. Thank you
Please change the path in the module's settings:
https://i.imgur.com/FU6AQOM.png
Here you could find more information regarding the feature:
https://www.jetbrains.com/help/idea/paths-tab.html#5f3769ea