• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Issues Setting up Mango 2.7.x in Eclipse

    Development general discussion
    2
    5
    1.8k
    Loading More Posts
    • 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.
    • R
      rhurley
      last edited by rhurley

      Hello - I looked into the documentation and have followed the instructions (https://help.infiniteautomation.com/setting-up-eclipse-for-the-first-time) for setting up Mango 2.7.x in eclipse - I have tried multiple times but after following the instructions explicitly when I get up to debugging / running step I get fatal errors.

      Environment Context: JDK 1.8, JRE 8, maven 3.5.2.

      When I go to debug (using the debug config given in the video) I keep getting this error output.

      0_1513610450456_mango-error.png

      I think the issue here is that there is a dependency inconsistency (should be getting different ver of dwr?) and so the mango code is trying to access dwr classes incorrectly?

      I also realize that 2.7.x is no longer the current build but I need to work with 2.7 as I need to edit modules made with 2.7 core.

      1 Reply Last reply Reply Quote 0
      • phildunlapP
        phildunlap
        last edited by

        Hi rhurley,

        It's been a while since I've built in the 2.7 branch. My first guess is that you need to run mvn install in your ma-core-public directory.

        1 Reply Last reply Reply Quote 0
        • phildunlapP
          phildunlap
          last edited by phildunlap

          That video is not very relevant any longer.

          For a clean clone of 2.7, you need to define the environment variable

          core.project.home
          to
          /path/to/ma-core-public/Core

          Run a mvn install in ma-core-public/

          Then set the ant runtime variable coreHome to ${core.project.home} on the JSP-compile target for the ma-core-public/Core/build.xml file, which you can then run as an ant build (assuming your Java setup went smoothly).

          1 Reply Last reply Reply Quote 0
          • R
            rhurley
            last edited by

            As I have said I followed the instructions expliciity - I have done all of those things - they were described in the video - but it just does not work. Could you replicate your own instructions and see if they still work and if not give me an update on what is missing?

            1 Reply Last reply Reply Quote 0
            • R
              rhurley
              last edited by

              Actually I have found out that I can use up to version 3.1 - but I can't seem to find any instructions for the later versions?

              1 Reply Last reply Reply Quote 0
              • First post
                Last post