Community
Participate
Working Groups
I'm in a situation where Java classes can change in a given environment. I'm calling : queryEnvironment.registerServicePackage(clazz); to register a new service class. When the Java class gets recompiled I'm calling it again with the new version of the class though even if AQL register it the "old version" always seems to be called. I would have expected that the subsequent one would "replace" the first one. I'd like to avoid rebuilding a new query environment as this also involves re-registering the EPackages, briefly looking at the AQL code I don't see anything which should prevent this. What do you think ?
I think we should add QueryEnvironment.removeServicePackage with a Class as parameter. May be also add one with the instance itself as parameter. This will prevent a complexe semantic for registerServicePackage(). it could be used like this: Class<?> classv1 = ... env.registerServicePackage(classv1); ... Class<?> classv2 = ... env.removeServicePackage(classv1); env.registerServicePackage(classv2); ... Does it fit your needs ?
Indeed, that would be better as then I would not have the possibility of having around a Service we did register before which should not be there anymore.
New Gerrit change created: https://git.eclipse.org/r/44251 WARNING: this patchset contains 1316 new lines of code and may require a Contribution Questionnaire (CQ) if the author is not a committer on the project. Please see:https://wiki.eclipse.org/Project_Management_Infrastructure/Creating_A_Contribution_Questionnaire
WARNING: this patchset contains 1310 new lines of code and may require a Contribution Questionnaire (CQ) if the author is not a committer on the project. Please see:https://wiki.eclipse.org/Project_Management_Infrastructure/Creating_A_Contribution_Questionnaire
Gerrit change https://git.eclipse.org/r/44251 was merged to [master]. Commit: http://git.eclipse.org/c/acceleo/org.eclipse.acceleo.git/commit/?id=7d31037bb69f3191ce852a079be3da9fa1046000 WARNING: this patchset contains 1310 new lines of code and may require a Contribution Questionnaire (CQ) if the author is not a committer on the project. Please see:https://wiki.eclipse.org/Project_Management_Infrastructure/Creating_A_Contribution_Questionnaire
The API is working as intended when used in the Sirius bridge.
Nothing to add for the moment.