Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. Duplication of code in the repository / how to work as developer

Duplication of code in the repository / how to work as developer

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 17.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y
    Y
    Yarda
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • Y
        Y
        Yarda
        wrote on last edited by
        #3

        Thank you Victor. The development setup is a bit clumsy (I am saying that without knowing details, just the first impression), however, all works just fine and its sufficient for my evaluation task. Regards, Yarda.

        1 Reply Last reply
        0

        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
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        Powered by NodeBB Contributors
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups