Return-Path: X-Original-To: apmail-incubator-mesos-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-mesos-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 30F9592F5 for ; Sat, 24 Mar 2012 21:04:51 +0000 (UTC) Received: (qmail 87921 invoked by uid 500); 24 Mar 2012 21:04:51 -0000 Delivered-To: apmail-incubator-mesos-dev-archive@incubator.apache.org Received: (qmail 87887 invoked by uid 500); 24 Mar 2012 21:04:51 -0000 Mailing-List: contact mesos-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mesos-dev@incubator.apache.org Delivered-To: mailing list mesos-dev@incubator.apache.org Received: (qmail 87877 invoked by uid 99); 24 Mar 2012 21:04:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Mar 2012 21:04:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Mar 2012 21:04:48 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id CDDAB344A7D for ; Sat, 24 Mar 2012 21:04:27 +0000 (UTC) Date: Sat, 24 Mar 2012 21:04:27 +0000 (UTC) From: "jiraposter@reviews.apache.org (Commented) (JIRA)" To: mesos-dev@incubator.apache.org Message-ID: <788187666.13425.1332623067844.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <977714515.35572.1321465551603.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (MESOS-87) Java framework test doesn't use JAVA_HOME MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MESOS-87?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13237672#comment-13237672 ] jiraposter@reviews.apache.org commented on MESOS-87: ---------------------------------------------------- ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/4439/ ----------------------------------------------------------- (Updated 2012-03-24 21:02:30.234499) Review request for mesos and Benjamin Hindman. Summary ------- Use JAVA_HOME to run java for the Java example frameworks. This should allow tests to pass if JAVA_HOME specified at configure-time is incompatible with the java on the path. (e.g. $JAVA_HOME/bin/javac is Java 7, but the 'java' on the PATH is Java 6). This addresses bug MESOS-87. https://issues.apache.org/jira/browse/MESOS-87 Diffs (updated) ----- src/examples/java/test-exception-framework.in 415d355 src/examples/java/test-executor.in 4e8daf6 src/examples/java/test-framework.in 2c12953 src/examples/java/test-multiple-executors-framework.in 04c0d5b Diff: https://reviews.apache.org/r/4439/diff Testing ------- Thanks, Charles > Java framework test doesn't use JAVA_HOME > ----------------------------------------- > > Key: MESOS-87 > URL: https://issues.apache.org/jira/browse/MESOS-87 > Project: Mesos > Issue Type: Bug > Components: java-api, test > Reporter: Charles Reiss > Assignee: Charles Reiss > Priority: Minor > > The Java example frameworks (and the tests which use them) execute 'java' rather than using JAVA_HOME to find the correct version of Java to run for the test. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira