[JBoss JIRA] (JBTM-2986) Cannot build LRA on IBM JDK 8:lra-test: An Ant BuildException has occurred, looking for non-existing bin/jps
by Ondra Chaloupka (JIRA)
[ https://issues.jboss.org/browse/JBTM-2986?page=com.atlassian.jira.plugin.... ]
Ondra Chaloupka updated JBTM-2986:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Cannot build LRA on IBM JDK 8:lra-test: An Ant BuildException has occurred, looking for non-existing bin/jps
> ------------------------------------------------------------------------------------------------------------
>
> Key: JBTM-2986
> URL: https://issues.jboss.org/browse/JBTM-2986
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Components: LRA
> Affects Versions: 5.7.2.Final
> Environment: IBM JDK 8
> Reporter: Michal Karm Babacek
> Assignee: Ondra Chaloupka
> Fix For: 5.7.2.Final
>
> Attachments: maven.log.zip
>
>
> 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].
> h3. Excerpt
> {noformat}
> [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
> {noformat}
> I tried to "workaround" it temporarily with {{-DskipTests -Dmaven.test.skip=true}}; no luck.
> WDYT?
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)