facebook

Service Implentations removes changes

  1. MyEclipse IDE
  2.  > 
  3. Spring Development
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #312965 Reply

    Peter
    Member

    This message has not been recovered.

    #312995 Reply

    davemeurer
    Member

    This message has not been recovered.

    #313086 Reply

    Peter
    Member

    Hi,

    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.

    #313127 Reply

    davemeurer
    Member

    Hello,

    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

    #313481 Reply

    Peter
    Member

    Hi 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

    #313665 Reply

    jkennedy
    Member

    Peter,
    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

    #313734 Reply

    Peter
    Member

    Hi 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

    #313753 Reply

    jkennedy
    Member

    Peter,
    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

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Service Implentations removes changes

You must be logged in to post in the forum log in