uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marshall Schor (JIRA)" <...@uima.apache.org>
Subject [jira] [Reopened] (UIMA-3133) Eclipse launcher plugin fails if uimaj-core not on project classpath
Date Thu, 01 Aug 2013 14:41:50 GMT

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

Marshall Schor reopened UIMA-3133:
----------------------------------


search for uimaj-core jar fails in case where this is launched in "development mode" - need
recursive looking in that case
                
> Eclipse launcher plugin fails if uimaj-core not on project classpath
> --------------------------------------------------------------------
>
>                 Key: UIMA-3133
>                 URL: https://issues.apache.org/jira/browse/UIMA-3133
>             Project: UIMA
>          Issue Type: Bug
>          Components: Eclipse plugins
>    Affects Versions: 2.4.1SDK
>            Reporter: Marshall Schor
>            Assignee: Marshall Schor
>             Fix For: 2.4.2SDK
>
>
> The Launcher launches a small Java class which needs the uimaj-core classes to run. 
The Launcher includes the project's classpath, so if uimaj-core is on that classpath, all
is well.  But there's no requirement that uimaj-core be on the project's classpath (for example,
imagine a project for an aggregate, that just contains xml descriptors, etc.).  In that case,
the failure happens.
> The launcher is attempting to handle this by suffixing the uimaj-ep-runtime jar to the
launched classpath.  That worked in 2.4.0 and earlier, because that plugin jar had all the
uimaj-core classes.  However, as of 2.4.1, we changed the packaging of this, and the uimaj-ep-runtime
is now set up to have embedded jar files, with an OSGi Bundle-Classpath which identifies these
Jars.  That doesn't help this Jar's usage as just a plain (non-OSGi) Jar.  
> Reported by Peter Kl├╝gl who also discovered the fix in project Ruta.  The fix here is
slightly faster - only the uimaj-core jar is included (that's all the launcher class needs).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message