uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marshall Schor <...@schor.com>
Subject Re: Documentation formatting and examples
Date Tue, 20 Nov 2012 15:10:31 GMT

Regarding the xml formatting - I haven't found (yet) a nice editor for that - so
I just use a plain text editor.  My fingers have gotten quite speedy over the
years at touch-typing those pesky < and />  things.

Re: putting example projects - I've seen two approaches used.  You can certainly
put sample things in other top level directories (other than src/main/java,
src/test/java).  Many of the addons /sandbox projects do that.  And, to state
the obvious (sorry :-) ), when checking into SVN, it is usual to include the
source while excluding things which are "built".
You can add to the POM whatever build steps might be needed for these other
things (if any).

The other approach is to have a separate project, with a POM for maven, and
whatever "build" might make sense for people that check out and might use maven
to build it.  This is what the main UIMA SDK does- it has a project
uimaj-examples, set up in this way.


If you have a lot
On 11/20/2012 9:20 AM, Peter Kl├╝gl wrote:
> Hi,
> I have two simple questions about writing documentation:
> 1. Are there any best practices of formatting the docbook documentation. The
> XML-formatting in Eclipse is quite annoying. Do you use an external editor?
> 2. Is it OK to put example projects in the same place in the SVN as the java
> implementation. The example projects for TextMarker are of course TextMarker
> projects, which are not built with maven. Is a new folder in the TextMarker
> folder appropriate?
> Best,
> Peter

View raw message