Tong Fin wrote: > On Wed, Aug 12, 2009 at 4:12 PM, Marshall Schor <m...@schor.com> wrote: > > >> https://issues.apache.org/jira/browse/UIMA-1356 wants to have source >> with jars used in the Eclipse plugins. After fiddling with doing that, >> I got things working up to adding to the "runtime" jars. Then I >> realized, that these jars have other jars inside them... and things were >> already pretty complex. >> >> An alternative would be to have just one jar with all the sources in it, >> and we would get rid of add-sources-to-jar things. Users wanting to have >> Eclipse (and maybe other IDEs?) locate the source would be pointed to >> this jar. Eclipse supports this, AFAIK. >> >> The add-sources-to-jar would be replaced with a script to build all the >> sources into one jar. >> >> Opinions? >> >> -Marshall >> >> >> > Just for info, starting from Eclipse 3.5, the preferred approach is to > create a "source" plugin that will behave and be installed as ordinary > plugin. But, since we are using maven, we may have some difficulty to build > those "source plugins". >
It think it should not be difficult, and I suspect others have done this using the felix bundle builder mechanism. However, I'm too busy with other things to do this (at least for this release). I did create a simple Java program which Jar's together all of the source code in a user's UIMA_HOME source directory structure, including the Eclipse sources. So, unless I hear objections, I'll add that to the set of tooling, and update the docs. -Marshall > (BTW, I never try to create the "source" plugin). > > -- Tong > >