uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marshall Schor (JIRA)" <uima-...@incubator.apache.org>
Subject [jira] Commented: (UIMA-857) Change startup of framework to support versioned Jars and simplified classpath
Date Fri, 20 Feb 2009 18:25:02 GMT

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

Marshall Schor commented on UIMA-857:
-------------------------------------

Here's another way to start things with long classpaths, some of which you want to be directories
of jars, etc.  Use Ant and its mechanisms to specify classpaths; see http://ant.apache.org/manual/using.html#path
, and then use ant to call java either in the same process or in a new one.

We could add a sample uima-launch XML file that would show how to do this.  

> Change startup of framework to support versioned Jars and simplified classpath
> ------------------------------------------------------------------------------
>
>                 Key: UIMA-857
>                 URL: https://issues.apache.org/jira/browse/UIMA-857
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Build, Packaging and Test
>            Reporter: Marshall Schor
>            Priority: Minor
>
> Our approach to the framework classpath is to (a) strip version info from our Jar names,
and (b) have a setUimaClassPath script that adds lots of these (unversioned) jars to the classpath.
> Other systems use a different approach - usually putting all the jars that should be
in the classpath into a directory, and then having a small wrapper jar (with an unversioned
name) that adds all the jars it finds in this dir to the classpath.  (See for instance, ActiveMQ
startup, or the way things like Tomcat work).    Change UIMA to use this approach.   (Not
for 2.2.2, but for following release, perhaps).

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


Mime
View raw message