I am currently evaluating VP Suite for modelling in a mixed environment of C++ and Java code. There are a few issues and questions I have come across while experimenting with SDE Professional:
I started by reverse engineering some java code and creating some diagrams. This all worked well, and was intuitive to use.
I wanted to test the roundrip development stuff, so I added an operation to one of the classes in my model and did an “update to code”. This also worked well.
I then modified the return type of the operation in the model and did “update to code” again. This didn’t work - the code retained its original return type. I tried this a few times with different return types, and it still wouldn’t work.
I then created a new class in my SDE model and updated this in the code. It would be nice if it could use the Intelli-J templates when creating new code files, to get the default javadoc comments, etc.
The generated code sometimes imports unnecessary packages like java.lang.*, or imports the same package that the class is in.
It would be nice if “force update to code” was on the context sensitive menus so that we can do it on a single class instead of on the whole model.
Does the product support loops in sequence diagrams?
Thank you for your post. Let me answer your questions one by one.
1 and 3) I am sorry, but we cannot repeat this problem. Could you provide the steps? We would be grateful if you can send me the .vpp file as well. For privacy concern, you can send to me email address:
2 and 4) I will forward your suggestion to our developers. Thanks for your suggestion.
- Yes, we support Loops in Sequence Diagram. Please watch the following movie that shows you how to create loop in Sequence Diagram.
Have a nice weekend!
I’m not sure what happened last time with the code generation when I modified the return type of a method. I have attempted to reproduce the problem today, and couldn’t.
I will let you know if I can obtain a consistently reproducible test scenario.
The problem of producing unnecessary import statements through code update is fixed in Service Pack 2, and deployed as a hotfix. Since I guess that you are using Service Pack 1, please follow the steps below to install the hotfix:
- Close SDE and the IDE if they are running
- Run the updater inside $vp-suite-install-dir/bin to advance to Service Pack 2
- Replace $vp-suite-install-dir/lib/vpplatform.jar with the downloaded jar file
I will post again when a complete release is ready.
I would like to inform you that a complete build is released for VP Suite 2.3 Service Pack 2. Since you were asked to use a hotfix release, please run the updater inside $vp-suite-install-dir/bin to advance to the complete build (with fix included).