You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Michael Baessler (JIRA)" <ui...@incubator.apache.org> on 2006/11/30 16:05:21 UTC

[jira] Created: (UIMA-76) add new pear installer API to install a pear file easily out of an application

add new pear installer API to install a pear file easily out of an application
------------------------------------------------------------------------------

                 Key: UIMA-76
                 URL: http://issues.apache.org/jira/browse/UIMA-76
             Project: UIMA
          Issue Type: Improvement
          Components: Core Java Framework
    Affects Versions: 2.1
            Reporter: Michael Baessler
         Assigned To: Michael Baessler
            Priority: Minor
             Fix For: 2.1


add new pear installer API to install a pear file easily out of an application, currently the user must know lots of details and methods to 
install a simple pear file using the API

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (UIMA-76) add new pear installer API to install a pear file easily out of an application

Posted by "Lev Kozakov (JIRA)" <ui...@incubator.apache.org>.
    [ http://issues.apache.org/jira/browse/UIMA-76?page=comments#action_12454737 ] 
            
Lev Kozakov commented on UIMA-76:
---------------------------------

In the last line of the previous comment I meant:
public static boolean verifyInstalledPearPackage( File pearRootDir ); 

> add new pear installer API to install a pear file easily out of an application
> ------------------------------------------------------------------------------
>
>                 Key: UIMA-76
>                 URL: http://issues.apache.org/jira/browse/UIMA-76
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>    Affects Versions: 2.1
>            Reporter: Michael Baessler
>         Assigned To: Michael Baessler
>            Priority: Minor
>             Fix For: 2.1
>
>
> add new pear installer API to install a pear file easily out of an application, currently the user must know lots of details and methods to 
> install a simple pear file using the API

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (UIMA-76) add new pear installer API to install a pear file easily out of an application

Posted by "Lev Kozakov (JIRA)" <ui...@incubator.apache.org>.
    [ http://issues.apache.org/jira/browse/UIMA-76?page=comments#action_12454735 ] 
            
Lev Kozakov commented on UIMA-76:
---------------------------------

I believe, it's a great idea to add convenient PEAR installation and verification API for application developers. I have similar requests from other UIMA customers, as well. 
a) I agree - the methods should be static, but I believe, we need to provide several 'installPearPackage' methods with different arguments (see the details below). 
b) I also believe, we need to provide a convenient method for verifying installed PEARs (see details below).
c) To keep consistency with other class names in this package ('PEAR' is not used in class names) I propose renaming this class into PackageInstaller. 
d) I believe, the PearInstallerException class name is not clear enough - it can be renamed to InstallationException, and we can add another exception - VerificationException.
d) The API of InstallationDescriptor, PackageBrowser, PackageInstaller (replacing PearInstaller) as well as 2 exception classes should be added to UIMA Javadoc. Other classes are used only be UIMA itself.
e) Possible signatures for the 'installPearPackage' method:
installPearPackage( File pearFile ); // installs in current dir;
installPearPackage( File pearFile, String installDirPath ); // having 2 File arguments is confusing;
installPearPackage( File pearFile, String installDirPath, boolean verify ); 
// the 'localInstall' boolean flag is not needed - it's set automatically
// the 'installToRootDir' flag is for special use only - not a regular case
f) Possible signature for the 'verifyInstalledPearPackage' method:
public static boolean verifyInstalledPearPackage( File pearInstallDir );

> add new pear installer API to install a pear file easily out of an application
> ------------------------------------------------------------------------------
>
>                 Key: UIMA-76
>                 URL: http://issues.apache.org/jira/browse/UIMA-76
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>    Affects Versions: 2.1
>            Reporter: Michael Baessler
>         Assigned To: Michael Baessler
>            Priority: Minor
>             Fix For: 2.1
>
>
> add new pear installer API to install a pear file easily out of an application, currently the user must know lots of details and methods to 
> install a simple pear file using the API

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (UIMA-76) add new pear installer API to install a pear file easily out of an application

Posted by "Michael Baessler (JIRA)" <ui...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/UIMA-76?page=all ]

Michael Baessler closed UIMA-76.
--------------------------------

    Resolution: Fixed

> add new pear installer API to install a pear file easily out of an application
> ------------------------------------------------------------------------------
>
>                 Key: UIMA-76
>                 URL: http://issues.apache.org/jira/browse/UIMA-76
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>    Affects Versions: 2.1
>            Reporter: Michael Baessler
>         Assigned To: Michael Baessler
>            Priority: Minor
>             Fix For: 2.1
>
>
> add new pear installer API to install a pear file easily out of an application, currently the user must know lots of details and methods to 
> install a simple pear file using the API

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira