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. Error while building the console

Error while building the console

Scheduled Pinned Locked Moved Development
3 Posts 2 Posters 33.3k 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.
  • S
    S
    Sch.Donat
    wrote on last edited by
    #1

    Hello!

    I'm trying to build the console (3.4.310 version, so a bit outdated), and like a week, or two ago it work fine, but now it seems like that the org.netxms.gef4.zest.core dependency cannot be found.
    Full error message:

    [INFO] --- tycho-p2-repository-plugin:1.4.0:assemble-repository (default-assemble-repository) @ org.netxms.ui.eclipse.product ---
    [WARNING] Mirror tool: Problems resolving provisioning plan.: [Unable to satisfy dependency from org.netxms.ui.eclipse.console.product 3.4.0 to org.eclipse.equinox.p2.iu; org.netxms.gef4.zest.core [2.0.8,2.0.8].; Unable to satisfy dependency from org.netxms.ui.eclipse.console.product 3.4.0 to org.eclipse.equinox.p2.iu; org.netxms.gef4.zest.jface [2.0.8,2.0.8].; Unable to satisfy dependency from org.netxms.ui.eclipse.console.product 3.4.0 to org.eclipse.equinox.p2.iu; org.netxms.gef4.zest.layouts [2.0.8,2.0.8].]
    [WARNING] More information on the preceding warning(s) can be found here:
    [WARNING] - http://wiki.eclipse.org/Tycho_Messages_Explained#Mirror_tool
    [WARNING] Mirror tool: Problems resolving provisioning plan.: [Unable to satisfy dependency from org.netxms.ui.eclipse.console.product 3.4.0 to org.eclipse.equinox.p2.iu; org.netxms.gef4.zest.core [2.0.8,2.0.8].; Unable to satisfy dependency from org.netxms.ui.eclipse.console.product 3.4.0 to org.eclipse.equinox.p2.iu; org.netxms.gef4.zest.jface [2.0.8,2.0.8].; Unable to satisfy dependency from org.netxms.ui.eclipse.console.product 3.4.0 to org.eclipse.equinox.p2.iu; org.netxms.gef4.zest.layouts [2.0.8,2.0.8].]
    [WARNING] More information on the preceding warning(s) can be found here:
    [WARNING] - http://wiki.eclipse.org/Tycho_Messages_Explained#Mirror_tool
    [WARNING] Mirror tool: Problems resolving provisioning plan.: [Unable to satisfy dependency from org.netxms.ui.eclipse.console.product 3.4.0 to org.eclipse.equinox.p2.iu; org.netxms.gef4.zest.core [2.0.8,2.0.8].; Unable to satisfy dependency from org.netxms.ui.eclipse.console.product 3.4.0 to org.eclipse.equinox.p2.iu; org.netxms.gef4.zest.jface [2.0.8,2.0.8].; Unable to satisfy dependency from org.netxms.ui.eclipse.console.product 3.4.0 to org.eclipse.equinox.p2.iu; org.netxms.gef4.zest.layouts [2.0.8,2.0.8].]
    [WARNING] More information on the preceding warning(s) can be found here:
    [WARNING] - http://wiki.eclipse.org/Tycho_Messages_Explained#Mirror_tool
    [INFO]
    [INFO] --- tycho-p2-repository-plugin:1.4.0:archive-repository (default-archive-repository) @ org.netxms.ui.eclipse.product ---
    [INFO] Building zip: /home/schdwlk/Projects/netxms/src/java/netxms-eclipse/Product/target/org.netxms.ui.eclipse.product-3.4.0.zip
    [INFO]
    [INFO] --- tycho-p2-director-plugin:1.4.0:materialize-products (create-product-distributions) @ org.netxms.ui.eclipse.product ---
    [INFO] Installing product org.netxms.ui.eclipse.console.product for environment linux/gtk/x86_64 to /home/schdwlk/Projects/netxms/src/java/netxms-eclipse/Product/target/products/org.netxms.ui.eclipse.console.product/linux/gtk/x86_64
    Installing org.netxms.ui.eclipse.console.product 3.4.0.
    Installation failed.
    Cannot complete the install because one or more required items could not be found.
            Software being installed: org.netxms.ui.eclipse.console.product 3.4.0
            Missing requirement: org.netxms.ui.eclipse.console.product 3.4.0 requires 'org.eclipse.equinox.p2.iu; org.netxms.gef4.zest.core [2.0.8,2.0.8]' but it could not be found
    There were errors. See log file: /home/schdwlk/Projects/netxms/workspace/.metadata/.log
    

    So, my question is: if I work with a more updated version (preferably which still support java 8 ), it would build successfully, or is this a problem with the infrastructure that provides this package?

    Best regards

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

      Hello!

      We have updated repository with forked Zest version and it seems to break build of older versions. To fix it you should hard set versions of Zest plugins in product file. The following patch should fix it:

      diff --git a/src/java/netxms-eclipse/Product/nxmc.product b/src/java/netxms-eclipse/Product/nxmc.product
      index 2cdd05dee0..79a110983b 100644
      --- a/src/java/netxms-eclipse/Product/nxmc.product
      +++ b/src/java/netxms-eclipse/Product/nxmc.product
      @@ -597,9 +597,9 @@ Copyright (c) 2003-2020 Raden Solutions
             <plugin id="org.eclipse.ui.workbench.texteditor.nl_pt_BR" fragment="true"/>
             <plugin id="org.eclipse.ui.workbench.texteditor.nl_ru" fragment="true"/>
             <plugin id="org.mozilla.javascript"/>
      -      <plugin id="org.netxms.gef4.zest.core"/>
      -      <plugin id="org.netxms.gef4.zest.jface"/>
      -      <plugin id="org.netxms.gef4.zest.layouts"/>
      +      <plugin id="org.netxms.gef4.zest.core" version="2.0.6"/>
      +      <plugin id="org.netxms.gef4.zest.jface" version="2.0.6"/>
      +      <plugin id="org.netxms.gef4.zest.layouts" version="2.0.6"/>
             <plugin id="org.netxms.ui.base"/>
             <plugin id="org.netxms.ui.eclipse.actionmanager"/>
             <plugin id="org.netxms.ui.eclipse.agentmanager"/>
      

      Best regards,
      Victor

      1 Reply Last reply
      0
      • S
        S
        Sch.Donat
        wrote on last edited by
        #3

        Thank you Viktor!

        After applying it, the build was successful.

        Best regards

        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