Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-18

Unable to build C++ client in DR1 to execute tests

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • JDG 7.0.0 DR2
    • JDG 7.0.0 DR1
    • HotRod C++ client
    • None

      In RHEL 7 when I try to build the test code using the prebuilt C++ client libraries from DR1, the JNI part of the build fails because of a missing maven-settings.xml:

      [ERROR] The specified user settings file does not exist: /root/jdg-cpp-client/build/jni/maven-settings.xml
      

      I can copy the maven-settings.xml from the jdg repo to the build/jni directory, but the build still fails because the jni/pom.xml file at the 8.3.0.DR1 tag refers to a SNAPSHOT version instead of the version included in DR1. I also fixed this, and then I still get a compilation error:

      [ERROR] /root/jdg-cpp-client/build/jni/src/test/java/org/infinispan/client/jni/hotrod/CrossLanguageHotRodTest.java:[23,36] cannot find symbol
        symbol:   class TestHelper
        location: package org.infinispan.client.hotrod
      

              vdedik Vaclav Dedik (Inactive)
              rhn-support-afield Alan Field
              Alan Field Alan Field
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: