You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Karl Heinz Marbaise (JIRA)" <ji...@apache.org> on 2008/03/27 13:29:24 UTC

[jira] Created: (TIKA-135) The command line files (tika.bat, tika.sh) are not usable

The command line files (tika.bat, tika.sh) are not usable
---------------------------------------------------------

                 Key: TIKA-135
                 URL: https://issues.apache.org/jira/browse/TIKA-135
             Project: Tika
          Issue Type: Bug
    Affects Versions: 0.2-incubating
         Environment: Windows XP; Java 1.5
            Reporter: Karl Heinz Marbaise


The bat/sh file do not include the correct path to the jar's nor to the classpath where all other files can be found.

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


[jira] Updated: (TIKA-135) The command line files (tika.bat, tika.sh) are not usable

Posted by "Chris A. Mattmann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TIKA-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris A. Mattmann updated TIKA-135:
-----------------------------------

    Fix Version/s: 0.2-incubating

> The command line files (tika.bat, tika.sh) are not usable
> ---------------------------------------------------------
>
>                 Key: TIKA-135
>                 URL: https://issues.apache.org/jira/browse/TIKA-135
>             Project: Tika
>          Issue Type: Bug
>          Components: cli
>    Affects Versions: 0.2-incubating
>         Environment: Windows XP; Java 1.5
>            Reporter: Karl Heinz Marbaise
>            Assignee: Chris A. Mattmann
>             Fix For: 0.2-incubating
>
>         Attachments: batsh-patch1.diff
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> The bat/sh file do not include the correct path to the jar's nor to the classpath where all other files can be found.

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


[jira] Updated: (TIKA-135) The command line files (tika.bat, tika.sh) are not usable

Posted by "Karl Heinz Marbaise (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TIKA-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karl Heinz Marbaise updated TIKA-135:
-------------------------------------

    Attachment: batsh-patch1.diff

This patch should solve the problem in that way that you only need to put the bin directory into the path environment and just call tika.bat or tika.sh independed where you are. The scripts evaluate the position of the lib directory them selfs and create the needed classpath as needed.

> The command line files (tika.bat, tika.sh) are not usable
> ---------------------------------------------------------
>
>                 Key: TIKA-135
>                 URL: https://issues.apache.org/jira/browse/TIKA-135
>             Project: Tika
>          Issue Type: Bug
>    Affects Versions: 0.2-incubating
>         Environment: Windows XP; Java 1.5
>            Reporter: Karl Heinz Marbaise
>         Attachments: batsh-patch1.diff
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> The bat/sh file do not include the correct path to the jar's nor to the classpath where all other files can be found.

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


[jira] Updated: (TIKA-135) The command line files (tika.bat, tika.sh) are not usable

Posted by "Chris A. Mattmann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TIKA-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris A. Mattmann updated TIKA-135:
-----------------------------------

    Component/s: cli

> The command line files (tika.bat, tika.sh) are not usable
> ---------------------------------------------------------
>
>                 Key: TIKA-135
>                 URL: https://issues.apache.org/jira/browse/TIKA-135
>             Project: Tika
>          Issue Type: Bug
>          Components: cli
>    Affects Versions: 0.2-incubating
>         Environment: Windows XP; Java 1.5
>            Reporter: Karl Heinz Marbaise
>            Assignee: Chris A. Mattmann
>         Attachments: batsh-patch1.diff
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> The bat/sh file do not include the correct path to the jar's nor to the classpath where all other files can be found.

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


[jira] Updated: (TIKA-135) The command line files (tika.bat, tika.sh) are not usable

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TIKA-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting updated TIKA-135:
-------------------------------

    Fix Version/s:     (was: 0.2-incubating)

> The command line files (tika.bat, tika.sh) are not usable
> ---------------------------------------------------------
>
>                 Key: TIKA-135
>                 URL: https://issues.apache.org/jira/browse/TIKA-135
>             Project: Tika
>          Issue Type: Bug
>          Components: cli
>    Affects Versions: 0.2-incubating
>         Environment: Windows XP; Java 1.5
>            Reporter: Karl Heinz Marbaise
>            Assignee: Chris A. Mattmann
>         Attachments: batsh-patch1.diff
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> The bat/sh file do not include the correct path to the jar's nor to the classpath where all other files can be found.

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


[jira] Commented: (TIKA-135) The command line files (tika.bat, tika.sh) are not usable

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TIKA-135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12583183#action_12583183 ] 

Jukka Zitting commented on TIKA-135:
------------------------------------

The command files expect that you run them as bin/tika or bin\tika.bat, i.e. that the lib directory is a directly below the current working directory. To properly solve this issue we should add some code that determines the bin directory path from $0 and uses that to generate the lib path.

The more I think about this, the more it seems like a good idea to reopen TIKA-115 and instead implement it simply as a runnable tika.jar that bundles all the required dependencies.

PS. See http://markmail.org/message/aajf2ttv573dqdhe for Karl's proposed patch.

> The command line files (tika.bat, tika.sh) are not usable
> ---------------------------------------------------------
>
>                 Key: TIKA-135
>                 URL: https://issues.apache.org/jira/browse/TIKA-135
>             Project: Tika
>          Issue Type: Bug
>    Affects Versions: 0.2-incubating
>         Environment: Windows XP; Java 1.5
>            Reporter: Karl Heinz Marbaise
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> The bat/sh file do not include the correct path to the jar's nor to the classpath where all other files can be found.

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


[jira] Resolved: (TIKA-135) The command line files (tika.bat, tika.sh) are not usable

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TIKA-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting resolved TIKA-135.
--------------------------------

    Resolution: Invalid

Resolving as Invalid now that I replaced the bin package with a standalone runnable jar. We no longer need the startup scripts.

> The command line files (tika.bat, tika.sh) are not usable
> ---------------------------------------------------------
>
>                 Key: TIKA-135
>                 URL: https://issues.apache.org/jira/browse/TIKA-135
>             Project: Tika
>          Issue Type: Bug
>          Components: cli
>    Affects Versions: 0.2-incubating
>         Environment: Windows XP; Java 1.5
>            Reporter: Karl Heinz Marbaise
>            Assignee: Chris A. Mattmann
>             Fix For: 0.2-incubating
>
>         Attachments: batsh-patch1.diff
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> The bat/sh file do not include the correct path to the jar's nor to the classpath where all other files can be found.

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


[jira] Assigned: (TIKA-135) The command line files (tika.bat, tika.sh) are not usable

Posted by "Chris A. Mattmann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TIKA-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris A. Mattmann reassigned TIKA-135:
--------------------------------------

    Assignee: Chris A. Mattmann

> The command line files (tika.bat, tika.sh) are not usable
> ---------------------------------------------------------
>
>                 Key: TIKA-135
>                 URL: https://issues.apache.org/jira/browse/TIKA-135
>             Project: Tika
>          Issue Type: Bug
>          Components: cli
>    Affects Versions: 0.2-incubating
>         Environment: Windows XP; Java 1.5
>            Reporter: Karl Heinz Marbaise
>            Assignee: Chris A. Mattmann
>         Attachments: batsh-patch1.diff
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> The bat/sh file do not include the correct path to the jar's nor to the classpath where all other files can be found.

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