[
https://issues.apache.org/jira/browse/MESOS-87?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13237671#comment-13237671
]
[email protected] commented on MESOS-87:
----------------------------------------------------
bq. On 2012-03-24 20:44:31, Benjamin Hindman wrote:
bq. > src/examples/java/test-exception-framework.in, line 9
bq. > <https://reviews.apache.org/r/4439/diff/1/?file=94333#file94333line9>
bq. >
bq. > Is using the '-' semantics standard Bourne Shell or does this
require BASH?
It's standard.
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06_02
bq. On 2012-03-24 20:44:31, Benjamin Hindman wrote:
bq. > src/examples/java/test-exception-framework.in, line 37
bq. > <https://reviews.apache.org/r/4439/diff/1/?file=94333#file94333line37>
bq. >
bq. > Here and everywhere else: s/$JAVA/${JAVA}
Done.
- Charles
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/4439/#review6328
-----------------------------------------------------------
On 2012-03-24 21:02:30, Charles Reiss wrote:
bq.
bq. -----------------------------------------------------------
bq. This is an automatically generated e-mail. To reply, visit:
bq. https://reviews.apache.org/r/4439/
bq. -----------------------------------------------------------
bq.
bq. (Updated 2012-03-24 21:02:30)
bq.
bq.
bq. Review request for mesos and Benjamin Hindman.
bq.
bq.
bq. Summary
bq. -------
bq.
bq. 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).
bq.
bq.
bq. This addresses bug MESOS-87.
bq. https://issues.apache.org/jira/browse/MESOS-87
bq.
bq.
bq. Diffs
bq. -----
bq.
bq. src/examples/java/test-exception-framework.in 415d355
bq. src/examples/java/test-executor.in 4e8daf6
bq. src/examples/java/test-framework.in 2c12953
bq. src/examples/java/test-multiple-executors-framework.in 04c0d5b
bq.
bq. Diff: https://reviews.apache.org/r/4439/diff
bq.
bq.
bq. Testing
bq. -------
bq.
bq.
bq. Thanks,
bq.
bq. Charles
bq.
bq.
> 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