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. Development
  3. Compilation of a NetXMS console in Eclipse

Compilation of a NetXMS console in Eclipse

Scheduled Pinned Locked Moved Development
windows
2 Posts 1 Posters 31.6k 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.
  • B
    B
    Beda
    wrote on last edited by
    #1

    Hi,
    I would want to ask you, how to compile a NetXMS Management Console in Eclipse Indigo under Windows7. I've tried to experiment with Eclipse (it is a new IDE for me), but I didn't succeed. I tried to set the Eclipse Indigo according to
    https://www.netxms.org/forum/installation/eclipse-junos-rcp-compile-problems-netxms-console/msg9001/#msg9001
    but I couldn't run the console because of missing packages (org.netxms.api..., org.netxms.client...).
    Please, could you give me a hint how to get sources of the console into the Eclipse and compile it?
    Is "Import / Existing Projects into Workspace" a good way?

    1 Reply Last reply
    0
    • B
      B
      Beda
      wrote on last edited by
      #2

      Finally, I found out how to compile the NetXMS 1.2.6 desktop console and here is a guide for compiling it on Windows7:

      • Download NetXMS sources from SVN
        • Source package in "Download" section of an official site does not contain sources of the console, so use the SVN (for more info see https://www.netxms.org/forum/general/management-console-sources/)
        • SVN repository address: https://svn.netxms.org/public/netxms/tags/version-1.2.6
        • For example Tortoise (http://tortoisesvn.net/) can be used for downloading these sources
      • Install Maven
        • Download Maven from http://maven.apache.org/download.cgi
        • Insttall Maven according to README.txt (extract downloaded archive, set environment variables PATH and JAVA_HOME)
        • Run "mvn --version" to verify that Maven is correctly installed
      • Run version-1.2.6/src/java/package.cmd
        • For more info see https://www.netxms.org/forum/general-support/how-can-i-rebuild-the-new-java-console-from-scratchby-the-java-source-code/msg5207/#msg5207
      • Install and configure Eclipse
        • Download Eclipse Indigo 3.7 (this version is recommended at https://www.netxms.org/forum/installation/eclipse-junos-rcp-compile-problems-netxms-console/msg9001/#msg9001) for RCP and RAP Developers from http://www.eclipse.org/downloads/packages/release/indigo/sr2
        • Install plugins enumerated in a file version-1.2.6/src/java/eclipse_addons.txt. These plugins must be installed using a wizard in "Help->Install New Software" (see https://www.netxms.org/forum/windows/compilation-error-with-java-manage-console/msg9513/#msg9513)
      • Import projects from following folders to Eclipse using a wizard "File->Import->General->Existing Projects into Workspace":
        • version-1.2.6/src/java/netxms-eclipse
        • src/java/nebula/org.netxms.nebula.widgets.gallery (see https://www.netxms.org/forum/general/compiling-problem(missing-jar)/msg5261/#msg5261)
      • Run console directly from Eclipse (for quick testing)
        • Right-click on nxmc.product under nxmc-core project and select "Run As->Eclipse Application"
      • Create executable binary
        • Right-click on nxmc.product under nxmc-core project and select "Export"
        • In an export dialog, select "Eclipse product", press Next, and follow the wizard
        • for more see https://www.netxms.org/forum/general-support/how-can-i-rebuild-the-new-java-console-from-scratchby-the-java-source-code/msg5207/#msg5207
      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