Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-2986

Cannot build LRA on IBM JDK 8:lra-test: An Ant BuildException has occurred, looking for non-existing bin/jps

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 5.7.2.Final
    • 5.7.2.Final
    • LRA
    • None

    Description

      I would like to build and test Narayana on IBM JDK and it seems the LRA test module is looking for jps that doesn't exist on IBM JDK. There should be some profile/wrapper to skip or port this part so as it works on IBM JDK without an explicit path to bin/jps.

      See maven.log.zip.

      Excerpt

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (stop)
              on project lra-test: An Ant BuildException has occured: Execute failed:
              java.io.IOException: Cannot run program "/qa/tools/opt/x86_64/ibm-java-80/bin/jps"
              (in directory "/opt/workspace/workspace/jws5-narayana-smoke-linux/cb703450/rts/lra/lra-test"):
              error=2, No such file or directory
      [ERROR] around Ant part ...<exec executable="/qa/tools/opt/x86_64/ibm-java-80/bin/jps">...
              @ 4:63 in /opt/workspace/workspace/jws5-narayana-smoke-linux/cb703450/rts/lra/lra-test/target/antrun/build-main.xml
      

      I tried to "workaround" it temporarily with -DskipTests -Dmaven.test.skip=true; no luck.

      WDYT?

      Attachments

        Issue Links

          Activity

            People

              ochaloup@redhat.com Ondrej Chaloupka (Inactive)
              mbabacek1@redhat.com Michal Karm
              Ondrej Kotek Ondrej Kotek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: