You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by Marshall Schor <ms...@schor.com> on 2008/02/21 21:41:33 UTC
packaging log4j and uimaj-ep-runtime
uimaj-ep-runtime includes uimaj-core. This project includes the
Log4jLogger_impl class, which imports "org.apache.log4j. ... " package.
I updated the uimaj-ep-runtime plugin so that it "imports" this
package. However, that didn't quite work - Eclipse said it could not
find any bundle that exported that package.
I fixed that (workaround) by going to
http://download.eclipse.org/tools/orbit/downloads/drops/S20080209163815/
and dlownloading org.apache.log4j_1.2.8. That allows now, the
uimaj-ep-runtime to compile.
I would prefer some mechanism for log4j support which didn't require it
to be present.
Maybe there is a way to specify this in the OSGi manifest....
-Marshall
Re: packaging log4j and uimaj-ep-runtime
Posted by Marshall Schor <ms...@schor.com>.
Tong Fin suggested marking the import as "optional". I tried that, and
it seems to work.
So users won't need to get log4j as a bundle :-)
-Marshall
Marshall Schor wrote:
> uimaj-ep-runtime includes uimaj-core. This project includes the
> Log4jLogger_impl class, which imports "org.apache.log4j. ... " package.
> I updated the uimaj-ep-runtime plugin so that it "imports" this
> package. However, that didn't quite work - Eclipse said it could not
> find any bundle that exported that package.
>
> I fixed that (workaround) by going to
> http://download.eclipse.org/tools/orbit/downloads/drops/S20080209163815/
> and dlownloading org.apache.log4j_1.2.8. That allows now, the
> uimaj-ep-runtime to compile.
>
> I would prefer some mechanism for log4j support which didn't require
> it to be present.
> Maybe there is a way to specify this in the OSGi manifest....
>
> -Marshall
>
>