You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (JIRA)" <ui...@incubator.apache.org> on 2009/08/29 15:19:32 UTC

[jira] Updated: (UIMA-1291) FileNotFoundException with addSourceToJars under Windows when UIMA_HOME contains whitespace

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

Marshall Schor updated UIMA-1291:
---------------------------------

    Fix Version/s: 2.3

> FileNotFoundException with addSourceToJars under Windows when UIMA_HOME contains whitespace
> -------------------------------------------------------------------------------------------
>
>                 Key: UIMA-1291
>                 URL: https://issues.apache.org/jira/browse/UIMA-1291
>             Project: UIMA
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 2.2.2
>         Environment: Windowx XP
>            Reporter: Kai Schlamp
>            Priority: Trivial
>             Fix For: 2.3
>
>
> When executing addSourceToJars MS-DOS batch file under Windows and the UIMA_HOME variable has whitespace in it (like C:\Program Files\apache-uima), then one gets errors of the following type:
> C:\..........\uimaj-2.2.2-incubating\jVinci\src\main\java>jar -uvf C:\Program Files\apache-uima\lib\jVinci.jar *
> java.io.FileNotFoundException: C:\Program (The system cannot find the file specified)
> A solution is to simply surround the %UIMA_HOME% strings in addSourceToJars with quotations, for example:
> jar -uvf "%UIMA_HOME%\lib\jVinci.jar" *

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.