- This topic has 7 replies, 3 voices, and was last updated 14 years, 1 month ago by
jkennedy.
-
AuthorPosts
-
PeterMemberThis message has not been recovered.
davemeurerMemberThis message has not been recovered.
PeterMemberHi,
Yes after i made my manual changes to the AServiceImp class by adding Runnable or even any import statements, i use the Spring DSL Service Editor to add a variable which removes the imports and Runnable interface from the class!
Any help will be much appreciatted as I don’t know how i can continue using it if it keeps changins my implementation classes.
davemeurerMemberHello,
Unfortunately, I can’t reproduce. One question I do have is if you are using 8.6.1? We did fix a couple bugs in the DSL generation.
If you are using 8.6.1, here are the steps I’m taking to try and reproduce. Please let me know if these are correct:
1. Enabled DSL in a new Web Project
2. Scaffolded Spring MVC CRUD on a table
3. Opened the Service Impl file and added Runnable to the implements line – fixed the errors by adding the imports and the implemented methods
4. Opened the Spring DSL Service editor, and added a variable (String).
5. Checked the code again and Runnable still exists.Kind regards,
Dave
PeterMemberHi Dave,
Yes i am running 8.6.1 and yes those are the steps that result in runnable being removed as well some import statements. Sorry for the late reply.
Not sure where to go from here?
Kind Regards,
Peter
jkennedyMemberPeter,
Did you find a resolution to this issue yet?
If not, would you be able to send a copy of your project (or a smaller example of the issue) to [email protected]We have recently taken steps to include several Code Assistants which give you the ability to quickly configure your code directly rather than using a DSL to back the editors. While we have not replicated all of the DSL Editor capabilities, we have added code assistants for many of the common annotations and configurations, etc.
Take a look and let us know your thoughts.
http://www.myeclipseide.com/me4s/features/code-assistants.php
Thanks,
Jack
PeterMemberHi Jack/Dave,
Thanks for your help!
I have come to realise that the issue may be from getting DSL to generate to multiple projects. I have it generating each layer to a seperate project, which I believe is what is causing the overwriting of the the implementation files. I copied everything into the one project and have found it running perfectly fine. Even when i make a change to the code and build the project it is reflected in the DSL which i did not know was even possible. Is there a way to get DSL working properly with multiple projects?
Thanks guys
Peter
jkennedyMemberPeter,
Good catch, thank you for the clarification it helps tremendously. I will add a jira regarding the issue with the reverse engineering builder handling code changes from a multi-project scenario. I don’t know which release it will make it into yet, we will need to research the root cause.Thanks,
Jack -
AuthorPosts