Community
Participate
Working Groups
If a DD file is not in the EGL path of the test server it is normally not added to the server's configuration. It can be added though if a DD that's within the EGL path includes it. (It can also be included if it's the default DD for one of the projects on the EGL path, but in that case everything is fine). The recalculation code is fine, it's just that in this case we haven't determined that we *should* recalculate. Processing all those *.egldd files isn't cheap, so we try to avoid it if the file isn't on the egl path. Since the only way to know that the file is included by a file on the EGL path (or included by a file that is included by a file on the EGL path, etc) would be to parse all those files until we determine yes, this file *is* being used by the server. Given this, it might be that we want to always run the recalculation when a *.egldd file is modified, otherwise we might parse all the files to determine we should recalculate, and then parse them all again to actually gather the information to send to the server. Whatever we decide on, we'll address it after 0.7.0.
Hi Justin, This sounds like a Debugger test server related issue, do you think CDL should fix it? or you will take care of it? Thanks a lot.
I'll take care of this one since I own the code.
Fixed ServicesContribution.java. We already had a list of the test server's DD files, so instead of checking if the changed file was on the EGL path, we just check if it's part of the known list of DDs.
Closing
Actually closing this time...
This change needs to be reverted in 0.8.1. We changed the test server to only include DDs in the EGL path, so now the previous check was correct.
Fix has been reverted.