![]() |
Telelogic SYNERGY (steve huntington) | ![]() |
Topic Title: Creating objects in eclipse Topic Summary: Creating objects instead of adding files by reconcile Created On: 20-Feb-2007 08:29 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hello,
beause some projects already do, we plan to use eclipse / WSAD as new standard IDE for all of our projects. We use source templates and keyword expansion for new objects as some kind of code framework. But as far as I can see there is no way to do a "create object" from inside the eclipse integration or am I missing something? I feel very uncomfortably to tell our developers that they have to use the Synergy GUI to create new objects if they only have to use eclipse for all other steps. Even some code snippet to create a appropriate eclipse plugin with (only) this functionality would be appreciated. But I think there is no (public) java API for Synergy/CM!? Are there any thoughts at Telelogic to create such an API? regards, Sven Edited: 20-Feb-2007 at 13:26 by Sven Fröhlich |
|
![]() |
|
![]() |
|
Sven,
Assuming that you have opened your project in Eclipse from the Telelogic Perspective SYNERGY/CM Repository View, you can create a new controlled object within your project from within Eclipse, without having to start a separate Synergy client. Create the object in Eclipse as normal and then choose Team/Add Uncontrolled Files and that should do the trick. The type of the new object will be determined by its file suffix and the Synergy migration rules. Stuart |
|
![]() |
|
![]() |
|
Hello Stuart,
I did'nt expect an answer any more. So I haven't had a look to this forum for a time. Thanks for your answer, but this is the way things do not work like we want to. When you add any uncontrolled files in CM/Synergy you have no keyword replacement. If you create new objects you have. And excactly this is what we wanna do in eclipse. But it seems to be impossible. :-( regards, Sven But I |
|
![]() |
|
![]() |
|
I use the option in the Eclipse/Synergy integration where it prompts if you want to add. I then create the new Java class in Eclipse and the class template in Eclipse has Synergy keywords. So what I see happen is that I create the new class, the file is created and displayed in Eclipse, it asks if it should be added to the Synergy project, and when I say "yes" the keywords are expanded and updated as displayed in Eclipse.
regards, David. |
|
![]() |
Telelogic SYNERGY
» SYNERGY/CM
»
Creating objects in eclipse
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.