[jira] [Updated] (NUTCH-1566) bin/nutch to allow whitespace in paths
[ https://issues.apache.org/jira/browse/NUTCH-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sebastian Nagel updated NUTCH-1566: --- Attachment: NUTCH-1566-2x.patch NUTCH-1566-v3-trunk.patch * patch updated for current trunk * patch for 2.x: fewer changes required because 2.x uses less paths (basically only JAVA_HOME, NUTCH_HOME and seed dir). > bin/nutch to allow whitespace in paths > -- > > Key: NUTCH-1566 > URL: https://issues.apache.org/jira/browse/NUTCH-1566 > Project: Nutch > Issue Type: Bug >Affects Versions: 1.6, 2.1 >Reporter: Sebastian Nagel >Priority: Minor > Fix For: 2.4 > > Attachments: NUTCH-1566-2x.patch, NUTCH-1566-trunk.patch, > NUTCH-1566-v2-trunk.patch, NUTCH-1566-v3-trunk.patch > > > bin/nutch and bin/crawl choke if a path contains white space, eg, if > JAVA_HOME is "{{C:\Program Files\jdk}}". If you don't have the permission to > change the path it is impossible to run Nutch. This has been reported > frequently > ([1|http://stackoverflow.com/questions/9345629/nutch-cygwin-how-to-set-java-home], > > [2|http://lucene.472066.n3.nabble.com/Problem-running-Nutch-on-Win-7-Cygwin-td3487163.html], > and > [3|http://nutchinstall.blogspot.de/2007/07/setting-up-cygwin-and-nutch.html]), > see also NUTCH-19. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (NUTCH-1566) bin/nutch to allow whitespace in paths
[ https://issues.apache.org/jira/browse/NUTCH-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sebastian Nagel updated NUTCH-1566: --- Attachment: NUTCH-1566-v2-trunk.patch New patch including [~tejas.patil]'s suggestions. Also removed forgotten debug output :) > bin/nutch to allow whitespace in paths > -- > > Key: NUTCH-1566 > URL: https://issues.apache.org/jira/browse/NUTCH-1566 > Project: Nutch > Issue Type: Bug >Affects Versions: 1.6, 2.1 >Reporter: Sebastian Nagel >Priority: Minor > Fix For: 2.4 > > Attachments: NUTCH-1566-trunk.patch, NUTCH-1566-v2-trunk.patch > > > bin/nutch and bin/crawl choke if a path contains white space, eg, if > JAVA_HOME is "{{C:\Program Files\jdk}}". If you don't have the permission to > change the path it is impossible to run Nutch. This has been reported > frequently > ([1|http://stackoverflow.com/questions/9345629/nutch-cygwin-how-to-set-java-home], > > [2|http://lucene.472066.n3.nabble.com/Problem-running-Nutch-on-Win-7-Cygwin-td3487163.html], > and > [3|http://nutchinstall.blogspot.de/2007/07/setting-up-cygwin-and-nutch.html]), > see also NUTCH-19. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (NUTCH-1566) bin/nutch to allow whitespace in paths
[ https://issues.apache.org/jira/browse/NUTCH-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sebastian Nagel updated NUTCH-1566: --- Attachment: NUTCH-1566-trunk.patch Patch that allows white space and other nasty characters in all paths passed from "outside" via environment variables and/or command-line arguments. Java VM args in {{NUTCH_OPTS}} are still split at white space, e.g. {{NUTCH_OPTS=""-Xmx2048m -Xms1024m"}}. > bin/nutch to allow whitespace in paths > -- > > Key: NUTCH-1566 > URL: https://issues.apache.org/jira/browse/NUTCH-1566 > Project: Nutch > Issue Type: Bug >Affects Versions: 1.6, 2.1 >Reporter: Sebastian Nagel >Priority: Minor > Fix For: 1.7, 2.3 > > Attachments: NUTCH-1566-trunk.patch > > > bin/nutch and bin/crawl choke if a path contains white space, eg, if > JAVA_HOME is "{{C:\Program Files\jdk}}". If you don't have the permission to > change the path it is impossible to run Nutch. This has been reported > frequently > ([1|http://stackoverflow.com/questions/9345629/nutch-cygwin-how-to-set-java-home], > > [2|http://lucene.472066.n3.nabble.com/Problem-running-Nutch-on-Win-7-Cygwin-td3487163.html], > and > [3|http://nutchinstall.blogspot.de/2007/07/setting-up-cygwin-and-nutch.html]), > see also NUTCH-19. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira