pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Gordon (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PIG-2800) pig.additional.jars path separator should align with File.pathSeparator instead of being hard-coded to ":"
Date Sat, 07 Jul 2012 01:21:35 GMT

     [ https://issues.apache.org/jira/browse/PIG-2800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

John Gordon updated PIG-2800:
-----------------------------

    Attachment: trunkJarsPatch.patch

Split jars on File.pathSeparator instead of ":" -- test case that covers this is TestPigContext.
 Verified it still passes on Linux, and passes on Windows without Cygwin as well with branch-1-win
and some unrelated test fixes.
                
> pig.additional.jars path separator should align with File.pathSeparator instead of being
hard-coded to ":"
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: PIG-2800
>                 URL: https://issues.apache.org/jira/browse/PIG-2800
>             Project: Pig
>          Issue Type: Sub-task
>            Reporter: John Gordon
>         Attachments: trunkJarsPatch.patch
>
>
> Windows paths use : after the drive letter, so pig currently fails to properly parse
pig.additional.jars because it reads C:\file.txt as the list of jars: ["C", "\file.txt"] on
Windows.  ":" is the right separator for Linux, as it aligns with env variable separators
in PATH very well.  However, on Windows, it should be something that aligns similarly well.

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

        

Mime
View raw message