[ 
https://issues.apache.org/jira/browse/UIMA-2121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13120788#comment-13120788
 ] 

Jens Grivolla commented on UIMA-2121:
-------------------------------------

Regarding documentation, it would probably make sense to add it to the 
PearInstaller section, as it does basically the same thing (i.e. no need to 
explain anything about PEAR installation again, only document the command line 
arguments).

Who would take care of refactoring (namespace), the POM, etc.?  It's quite 
simple and only has a dependency on jOpt which is available on maven central:
  <dependencies>
    <dependency>
      <groupId>org.apache.uima</groupId>
      <artifactId>uimaj-core</artifactId>
      <version>[2.3, 3.0)</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
        <groupId>net.sf.jopt-simple</groupId>
        <artifactId>jopt-simple</artifactId>
        <version>3.2</version>
        <type>jar</type>
        <scope>compile</scope>
    </dependency>
  </dependencies>

I'm not sure about the test case. It would probably be far more complex than 
the program itself, as it would need an actual PEAR file, check the creation of 
the resulting files, etc.  It really just calls 
PackageInstaller.installPackage() which already has its own unit tests, right?
                
> command line PEAR installer
> ---------------------------
>
>                 Key: UIMA-2121
>                 URL: https://issues.apache.org/jira/browse/UIMA-2121
>             Project: UIMA
>          Issue Type: New Feature
>          Components: Tools
>            Reporter: Jens Grivolla
>            Priority: Minor
>         Attachments: PearInstallCLI.java
>
>
> There should be a way to install PEARs without having to use the GUI 
> PearInstaller.  This is especially important when installing all needed PEARs 
> for a project, or doing a clean reinstall.

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

        

Reply via email to