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

Multiple source not getting updated in bin #596

Closed
AdhTri001 opened this issue Feb 18, 2022 · 3 comments
Closed

Multiple source not getting updated in bin #596

AdhTri001 opened this issue Feb 18, 2022 · 3 comments
Labels
question Further information is requested

Comments

@AdhTri001
Copy link

AdhTri001 commented Feb 18, 2022

This is rather an issue or I might be doing something wrong. I am facing issue of the sources with resources not getting updated in the bin folder that is generated for launch or debug. I am using the feature introduced by #412 :

"java.project.sourcePaths": [
    "src",
    "resources"
]

I have a resource and a src folder in the project root:
image
I load the fxml with getClass().getResource("fxml/App.fxml") but all the resources are only updated when I first launch the project after reloading vscode. Is this ideal? Or is there any other better way for resource management with this extension.
Thanks for your brilliant work with the extension :)

@AdhTri001
Copy link
Author

@CsCherrYY sorry for mentioning but looks like u r an active maintainer, could you please help?

@jdneo
Copy link
Member

jdneo commented Feb 21, 2022

I did a quick test for this, here is what I've done:

  1. explicitly set the output path to "bin" via the setting java.project.outputPath in WORKSPACE scope.
  2. update a xml file in resource folder
  3. check the content in the bin folder

What I observed is that the xml file in the bin folder is update.

Is there any difference from your case?

BTW, from your screenshot, seems that the output folder is not contained in your workspace, how do you know that it's not update?

@AdhTri001
Copy link
Author

I myself now can't reproduce the problem. I guess what is that the file that I might be editing might be someother file. Sorry for useless issue.

@jdneo jdneo added the question Further information is requested label Feb 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants