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

webClassPathEntries can't be cleared #5

Closed
liangyi-xu opened this issue Sep 2, 2016 · 6 comments
Closed

webClassPathEntries can't be cleared #5

liangyi-xu opened this issue Sep 2, 2016 · 6 comments
Labels

Comments

@liangyi-xu
Copy link

liangyi-xu commented Sep 2, 2016

WebClassPathEntries will not be cleared even though Tomcat project be restarted in a DevLoader uncheck all state.

tomcatplugin v9.1.0

@markuskeunecke
Copy link
Member

@DAC-liangyi can you please elaborate a bit more on your issue? I did not gather any experience using the DevLoader and stuff since I adopted the maintenance of the Eclipse Tomcat Plugin.

@liangyi-xu
Copy link
Author

My description is too simple,sorry.

Steps to reproduce the problem as follows:

1.Tomcat project -> properties->Tomcat->DevLoader classpath
a.Activate devloader checkon
b.checkon more than one webClassPathEntry
2.Start tomcat by tomcat plugin
3.And than,the file named of .#webclasspath will be created automatically.
The content of the .#webclasspath file is the list of webClassPathEntries which has been selected by me.
4.Stop the tomcat.
5.Tomcat project -> properties->Tomcat->DevLoader classpath
a.Keep Activate devloader checkon
b.Make all the webClassPathEntries unchecked
6.Restart tomcat by tomcat plugin
And than the content of .#webclasspath file is the same as the first time.

Previously,I used tomcat plugin v331,when I done the steps as described above,.#webclasspath was going to be cleared.

@markuskeunecke
Copy link
Member

Okay, thank you for your detailed description. I will have a try on reproducing the issue.

@markuskeunecke
Copy link
Member

Seems you have found a long existing bug. I fixed it by always deleting the file on tomcat start. The fix will go live with the next release.

@markuskeunecke
Copy link
Member

Release has been pushed to update site.

@liangyi-xu
Copy link
Author

Thank you for your modification.
I verified version V9.1.2. And the problem has been resolved.

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

No branches or pull requests

2 participants