Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Fixed #487: added MLCP_HOME/bin to PATH #529

Merged
merged 1 commit into from
Jan 30, 2016

Conversation

grtjn
Copy link
Contributor

@grtjn grtjn commented Sep 22, 2015

#487

Anyone around that can run a quick test on Windows? Runs fine on Mac..

@grtjn grtjn added this to the 1.7.3 milestone Sep 22, 2015
@patrickmcelwee
Copy link

Geert,

I suggest setting HADOOP_HOME too. That was an issue I ran into while working through #542 . I was not able to run a completely successful test on Windows, since I ran into another problem with mlcp 1.3-3 on Windows 10 (again, see #542 ) - but I think that problem was unrelated to this.

Here is how my code looked:

    env_variables = {"PATH" => "#{ENV['PATH']};#{mlcp_home}\bin", 
                                "HADOOP_HOME" => mlcp_home}
    system(env_variables, runme)

@grtjn
Copy link
Contributor Author

grtjn commented Jan 28, 2016

I've added HADOOP_HOME too. Could you run a quick test with this to see if this works on Windows? (i.e. doesn't miserably fail when executing ml.bat local mlcp)

@patrickmcelwee
Copy link

Yep, an import of an XML doc worked for me. Though, it also worked against the current Roxy master. Not sure what that means. Possibly it is working just because I am using the most recent version of mlcp (8.0-4)

@grtjn
Copy link
Contributor Author

grtjn commented Jan 29, 2016

If the change didn't help, then it didn't harm either. I think we can safely merge this..

@patrickmcelwee
Copy link

agreed

grtjn added a commit that referenced this pull request Jan 30, 2016
Fixed #487: added MLCP_HOME/bin to PATH
@grtjn grtjn merged commit c3cf1c9 into marklogic-community:dev Jan 30, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants