brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ahgittin <...@git.apache.org>
Subject [GitHub] incubator-brooklyn pull request: Fix NodeJsWebAppFixtureIntegratio...
Date Mon, 29 Jun 2015 10:08:47 GMT
Github user ahgittin commented on a diff in the pull request:

    https://github.com/apache/incubator-brooklyn/pull/722#discussion_r33450066
  
    --- Diff: software/base/src/main/java/brooklyn/entity/java/JavaSoftwareProcessSshDriver.java
---
    @@ -336,7 +336,7 @@ protected int tryJavaInstall(String version, String command) {
             log.debug("Checking Java version at {}@{}", getEntity(), getLocation());
             // sed gets stdin like 'java version "1.7.0_45"'
             ProcessTaskWrapper<Integer> versionCommand = Entities.submit(getEntity(),
SshTasks.newSshExecTaskFactory(
    -                getLocation(), "java -version 2>&1 | grep \"java version\" | sed
's/.*\"\\(.*\\).*\"/\\1/'"));
    +                getLocation(), "java -version 2>&1 | grep \" version\" | sed 's/.*\"\\(.*\\).*\"/\\1/'"));
    --- End diff --
    
    worth a comment on the reason for this change -- presumably some java gives different
output?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message