You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by d2r <gi...@git.apache.org> on 2014/05/02 16:58:40 UTC

[GitHub] incubator-storm pull request: STORM-232 ship JNI dependencies with...

Github user d2r commented on a diff in the pull request:

    https://github.com/apache/incubator-storm/pull/28#discussion_r12232227
  
    --- Diff: storm-core/src/clj/backtype/storm/daemon/supervisor.clj ---
    @@ -438,6 +438,13 @@
           (FileUtils/moveDirectory (File. tmproot) (File. stormroot))
           ))
     
    +(defn jlp [stormroot conf]
    +  (let [resource-root (str stormroot "/" RESOURCES-SUBDIR)
    +        os (clojure.string/replace (System/getProperty "os.name") #"\s+" "_")
    +        arch (System/getProperty "os.arch")
    +        arch-resource-root (str resource-root "/" os "-" arch)]
    +    (str arch-resource-root ":" resource-root ":" (conf JAVA-LIBRARY-PATH)))) 
    --- End diff --
    
    Would this fail on Windows because of the `/`?


---
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.
---