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

Model not triggering regeneration if placed outside template dir #24

Closed
aratare-jp opened this issue Mar 3, 2021 · 0 comments · Fixed by #25
Closed

Model not triggering regeneration if placed outside template dir #24

aratare-jp opened this issue Mar 3, 2021 · 0 comments · Fixed by #25
Assignees
Labels
bug Something isn't working
Projects

Comments

@aratare-jp
Copy link
Owner

aratare-jp commented Mar 3, 2021

Symptoms

When changing XML model used for generation, this will not trigger regeneration.

Complication

Apparently when watching a file, not directory, on Windows, it will throw an exception:

java.nio.file.NotDirectoryException: ...\library.xml"
sun.nio.fs.WindowsWatchService$Poller.implRegister  WindowsWatchService.java: 378
         sun.nio.fs.AbstractPoller.processRequests       AbstractPoller.java: 260
         sun.nio.fs.WindowsWatchService$Poller.run  WindowsWatchService.java: 595
                              java.lang.Thread.run               Thread.java: 748

So this feature will be disabled for Windows, i.e. model changes will not trigger a regeneration. Until a proper fix is found, this is the best approach I feel.

@aratare-jp aratare-jp added the bug Something isn't working label Mar 3, 2021
@aratare-jp aratare-jp self-assigned this Mar 3, 2021
@aratare-jp aratare-jp added this to To do in main via automation Mar 3, 2021
main automation moved this from To do to Done Mar 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
main
Done
Development

Successfully merging a pull request may close this issue.

1 participant