Duplication of code in the repository / how to work as developer
-
Hello geeks,
I am still completely new to NetXMS... Tho' I have the Eclipse/RAP environment up and running, all works as I imported existing projects from trunk/webui/webapp into workspace. It is fine. And now trying to prototype a bit...
I noticed a duplication of source code in the repository.
For example content of:
./webui/webapp/ObjectView/src/org/netxms/ui/eclipse/objectview/objecttabs/helpers/
is duplicated with
./src/java/netxms-eclipse/ObjectView/src/org/netxms/ui/eclipse/objectview/objecttabs/helpers/
Why is that duplication and what is the developement workflow I should follow?
I added a brand new "tab" to src/java/netxms-eclipse/ObjectView/src/org/netxms/ui/eclipse/objectview/objecttabs. It compiles from the command line, however, I cannot see that file in my eclipse nor I can debug it. As I said above, I am confused about the code duplication and how should I work as a potential developer when extending the existing code...
Thank you for your time and advices.
Yarda.
-
Hello!
Eclipse RAP and Eclipse RCP are not 100% compatible on source code level. Although most of the RCP code can be compiled for RAP without changes, there are always some code that has to be changes in RAP version. It is theoretically possible to move code which is different in RCP and RAP to plugin fragments and keep single core codebase. But I decide that it is much easier to have separate source trees for RCP and RAP version of the console, and merge them as necessary. My usual development pattern is to make changes in RCP version and then merge these changes into RAP version (usually with svn merge). I also have two different Eclipse instances for RCP and RAP development. And we are still using Eclipse Indigo for RCP version.
Best regards,
Victor -
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login