• 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

    Newest cvs doesn't compile

    Modbus4J general discussion
    2
    4
    3.1k
    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.
    • P
      pentavalle
      last edited by

      Hi, I tried to compile latest cvs code but I have this error:

      C:\eclipse-workspace\Modbus4J>ant
      Buildfile: C:\eclipse-workspace\Modbus4J\build.xml

      clean:
      [delete] Deleting directory C:\eclipse-workspace\Modbus4J\target

      compile:
      [mkdir] Created dir: C:\eclipse-workspace\Modbus4J\target
      [javac] C:\eclipse-workspace\Modbus4J\build.xml:17: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
      [javac] Compiling 104 source files to C:\eclipse-workspace\Modbus4J\target
      [javac] C:\eclipse-workspace\Modbus4J\src\com\serotonin\modbus4j\ModbusMaster.java:261: cannot find symbol
      [javac] symbol : method setDiscardDataDelay(int)
      [javac] location: class com.serotonin.messaging.MessageControl
      [javac] conn.setDiscardDataDelay(getDiscardDataDelay());
      [javac] ^
      [javac] 1 error

      BUILD FAILED
      C:\eclipse-workspace\Modbus4J\build.xml:17: Compile failed; see the compiler error output for details.

      Total time: 1 second

      C:\eclipse-workspace\Modbus4J>

      Looks like seroUtils.jar was updated in cvs, but not in synch with Modbus4J code :-)

      1 Reply Last reply Reply Quote 0
      • M
        mlohbihler
        last edited by

        Oops. Bad reference in the classes file. The seroUtils.jar file has been updated. Please checkout and try compiling again.

        Best regards,
        Matthew

        1 Reply Last reply Reply Quote 0
        • P
          pentavalle
          last edited by

          All OK now, thank you!

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