Re: Refactoring: org.apache.uima.cas.impl.ArrayFSImpl

2009-07-08 Thread Marshall Schor
+1 to remove it, from me, but Thilo could take a look too... I commented it out to test removing it, and didn't see any compile errors. (didn't commit) -Marshall Jörn Kottmann wrote: > Hi, > > the class has private constructor which is never used. > Is there a reason for it ? > > Otherwise I wou

Re: Refactoring: org.apache.uima.cas.impl.ArrayFSImpl

2009-07-08 Thread Marshall Schor
+1 -Marshall Jörn Kottmann wrote: > Marshall Schor wrote: >> +1 to remove it, from me, but Thilo could take a look too... >> >> I commented it out to test removing it, and didn't see any compile >> errors. (didn't commit) >> > Actually I starte

Re: maven build problem

2009-07-09 Thread Marshall Schor
we list that jar in the POM as a dependency, if someone has put that jar into the maven repo? - Marshall > > Jörn > > On Jul 4, 2009, at 8:19 PM, Marshall Schor wrote: > >> left-over thing: in the repository spec for "CentralEclipse" - I had >> temporarily c

Re: PearPackagingMavenPlugin not compiling

2009-07-12 Thread Marshall Schor
The exception you encountered occurs when an ant script tries to execute In your case the message indicates that ${tmp.dir}/fop.zip is /Users/bouba/Documents/workspace_uima/PearPackagingMavenPlugin/target/temp/fop.zip The message about a "negative seek" would seem to be caused by some corru

Re: PearPackagingMavenPlugin not compiling

2009-07-12 Thread Marshall Schor
Baptiste Gaillard wrote: > > > > > > Hi, > > I'm trying to compile the last version of the PearPackagingMavenPlugin, but > it seems there is a problem on PDF generation... > > Here is the exception I've encountered: > [ERROR] BUILD ERROR > [INFO] > -

Error building the Sandbox project WhitespaceTokenizer due to wrong dependency in the POM?

2009-07-21 Thread Marshall Schor
The POM for this specifies org.apache.uima PearPackagingMavenPlugin 2.2.2-incubating provided Because I blew away my local maven repo at some point and rebuilt it - it rebuilt with version 2.3.0-incubating-SANDBOX There are lots o

Re: Sandbox build issues

2009-07-22 Thread Marshall Schor
Thilo Goetz wrote: > Hi all, > > I was trying to build the sandbox today and noticed several > issues (see also Marshall's earlier note). > > 1. The sandbox build is not documented, or at least I > couldn't find anything. There's a short bit under > "creating a distribution", but there's nothing

changing CharArrayString hashCode

2009-07-23 Thread Marshall Schor
While doing some generics work in uimaj-core, I came across the hashCode impl in this class; it has one possible problem in that it uses Math.abs in an attempt to return just non-negative ints. This is required in other places, where the hash code is used to create indexes using hashCode % some-si

generics cleanup - avoiding modifying public APIs?

2009-07-23 Thread Marshall Schor
When adding generic type info to UIMA core, if there is a method which is declared to return a List, and we change it to return a List, and the method is part of the UIMA public API - does that "break" the public API? Or will code that is already written to use it continue to work? I think the co

Re: Sandbox build issues

2009-07-23 Thread Marshall Schor
Thilo Goetz wrote: > Marshall Schor wrote: > >> Thilo Goetz wrote: >> >>> Hi all, >>> >>> I was trying to build the sandbox today and noticed several >>> issues (see also Marshall's earlier note). >>> >>> 1.

Re: More sandbox build woes

2009-07-24 Thread Marshall Schor
no objections - sounds good. +1 to graduate it from sandbox and publish to incubator repo. in next release. -Marshall Thilo Goetz wrote: > Jörn Kottmann wrote: > >> Thilo Goetz wrote: >> >>> - the pear packaging maven plugin project must be built first >>> and manually if it's not in t

Re: generics cleanup - avoiding modifying public APIs?

2009-07-24 Thread Marshall Schor
ist|", you will be locked into that decision This is because it's binary compatible to go from --no generic info-- to some-generic-info, but it is not binary compatible to change the generic-info once it is there. -Marshall Jörn Kottmann wrote: > Marshall Schor wrote: >> Is this

Re: generics cleanup - avoiding modifying public APIs?

2009-07-24 Thread Marshall Schor
Jörn Kottmann wrote: > Marshall Schor wrote: >> When adding generic type info to UIMA core, if there is a method which >> is declared to return a List, and we change it to return a >> List, and the method is part of the UIMA public API - does >> that "break"

Re: generics cleanup - avoiding modifying public APIs?

2009-07-24 Thread Marshall Schor
Jörn Kottmann wrote: > Marshall Schor wrote: >> Jörn Kottmann wrote: >> >>> Marshall Schor wrote: >>> >>>> When adding generic type info to UIMA core, if there is a method which >>>> is declared to return a List, and we change it

Re: generics cleanup - avoiding modifying public APIs?

2009-07-24 Thread Marshall Schor
Marshall Schor wrote: > Jörn Kottmann wrote: > >> Marshall Schor wrote: >> >>> Jörn Kottmann wrote: >>> >>> >>>> Marshall Schor wrote: >>>> >>>> >>>>> When adding gener

Re: [jira] Closed: (UIMA-1352) java.lang.ClassCastException using find() with a SET index

2009-07-25 Thread Marshall Schor
I think this fix gives rise to another test case failure. I backed out this fix, and the (I think new) test in IteratorTest - testIterator fails on line 357. With this fix restored, there is a failure on IteratorTest - testDelete, line 662. Thilo - I think you are the best person to investigate

Re: [jira] Closed: (UIMA-1352) java.lang.ClassCastException using find() with a SET index

2009-07-26 Thread Marshall Schor
ion "1.6.0_11" Java(TM) SE Runtime Environment (build 1.6.0_11-b03) Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode, sharing) -Marshall Thilo Goetz wrote: > Marshall Schor wrote: > >> I think this fix gives rise to another test case failure. I backed out >>

Re: [jira] Closed: (UIMA-1352) java.lang.ClassCastException using find() with a SET index

2009-07-26 Thread Marshall Schor
Just FYI - On my setup & system, it fails both in mvn and Eclipse. Note that I started with a brand new extract of SVN done on Saturday. Looking forward to unraveling this mystery :-) -Marshall Thilo Goetz wrote: > Marshall Schor wrote: > >> Interesting... >> >&

Re: [jira] Closed: (UIMA-1352) java.lang.ClassCastException using find() with a SET index

2009-07-26 Thread Marshall Schor
mented better. And what if no sorting order was defined for the set index? -Marshall Marshall Schor wrote: > I think this fix gives rise to another test case failure. I backed out > this fix, and the (I think new) test in IteratorTest - testIterator > fails on line 357. > &

Re: [jira] Closed: (UIMA-1352) java.lang.ClassCastException using find() with a SET index

2009-07-27 Thread Marshall Schor
Thilo Goetz wrote: > See the Jira issue for the cause of the problem. More > comments below. > > Marshall Schor wrote: > >> So, there may be 2 things to look at here - the actual error, described >> above, and the more philosophical question on the behavior o

Re: [jira] Closed: (UIMA-1352) java.lang.ClassCastException using find() with a SET index

2009-07-27 Thread Marshall Schor
Thilo Goetz wrote: > Marshall Schor wrote: > >> Thilo Goetz wrote: >> >>> See the Jira issue for the cause of the problem. More >>> comments below. >>> >>> Marshall Schor wrote: >>> >>> >>>>

Re: [jira] Closed: (UIMA-1352) java.lang.ClassCastException using find() with a SET index

2009-07-27 Thread Marshall Schor
Thilo Goetz wrote: > Marshall Schor wrote: > >> Thilo Goetz wrote: >> >>> Marshall Schor wrote: >>> >>> >>>> Thilo Goetz wrote: >>>> >>>> >>>>> See the Jira

Re: generics cleanup - avoiding modifying public APIs?

2009-07-27 Thread Marshall Schor
4, 2009, at 10:42 PM, Marshall Schor wrote: > >> >> >> Jörn Kottmann wrote: >>> Marshall Schor wrote: >>>> Jörn Kottmann wrote: >>>> >>>>> Marshall Schor wrote: >>>>> >>>>>> When adding generic t

Re: [jira] Commented: (UIMA-1257) Type System Merging Should Produce Consistent Ordering of Types

2009-07-28 Thread Marshall Schor
+1 -Marshall Thilo Goetz (JIRA) wrote: > [ > https://issues.apache.org/jira/browse/UIMA-1257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12735944#action_12735944 > ] > > Thilo Goetz commented on UIMA-1257: > --- > >

next release plan - sandbox - which components?

2009-07-28 Thread Marshall Schor
Let's get a list of sandbox projects we plan to include in the 2.3.0-incubating release. The reason for doing this is to better update the version info for the sandbox. For uimaj we use maven properties and have the version info in just one place for all the projects. We could do that too, for

Re: next release plan - sandbox - which components?

2009-07-28 Thread Marshall Schor
Marshall Schor wrote: > Let's get a list of sandbox projects we plan to include in the > 2.3.0-incubating release. > > The reason for doing this is to better update the version info for the > sandbox. For uimaj we use maven properties and have the version info in > jus

right way to fix a bug caused by null being passed as value of additionalParameters in produceResource

2009-07-28 Thread Marshall Schor
While fixing up the sandbox build I ran across what looks like a bug - the PearAnalysisEngineWrapper is throwing a NPE because it is being passed in "null" for the map of additional parameters in its "initialize" method, and it's not expecting that. Here's one such path where null is passed in: U

Re: right way to fix a bug caused by null being passed as value of additionalParameters in produceResource

2009-07-28 Thread Marshall Schor
ues in the PearAnalysisEngineWrapper -Marshall Marshall Schor wrote: > While fixing up the sandbox build I ran across what looks like a bug - > the PearAnalysisEngineWrapper is throwing a NPE because it is being > passed in "null" for the map of additional parameters in its > "initialize

Re: svn commit: r798672 - /incubator/uima/sandbox/trunk/WhitespaceTokenizer/pom.xml

2009-07-29 Thread Marshall Schor
I can see Michael's point to have sandbox things depend on released components, but only for those sandbox things not being released. When we get to release time, for the ones being released, the released components (if it follows all of our other conventions, and maven conventions) in the tag wil

Re: next release plan - sandbox - which components?

2009-07-29 Thread Marshall Schor
Thilo Goetz wrote: > Marshall Schor wrote: > >> Let's get a list of sandbox projects we plan to include in the >> 2.3.0-incubating release. >> >> The reason for doing this is to better update the version info for the >> sandbox. For uimaj we use mave

license issues for included Jars

2009-07-29 Thread Marshall Schor
Some of our sandbox project include jars such as jsr173_1.0_api, in a lib/ directory, as part of our distribution. Some of our projects indicate, for included jars like this, what the license is, in the NOTICE file (e.g. the RegularExpressionAnnotator). Others are silent (e.g. the SimpleServer).

Re: [jira] Commented: (UIMA-1465) running a pearSpecifier as a top level component fails with NullPointerException

2009-07-29 Thread Marshall Schor
: UIMA-1465 >> URL: https://issues.apache.org/jira/browse/UIMA-1465 >> Project: UIMA >> Issue Type: Bug >> Components: Core Java Framework >>Affects Versions: 2.2.2 >>Reporter: Marshall Schor >>

Re: [jira] Commented: (UIMA-1465) running a pearSpecifier as a top level component fails with NullPointerException

2009-07-30 Thread Marshall Schor
if we're doing the same thing, then it should have been failing for your situations. Do you have a sample / test case or whatever I could try? I'll back out the change and test why it *isn't* failing. That should shed some light on my understanding in this area :-) -Marshall &g

state of http://issues.apache.org/jira/browse/UIMA-1021

2009-07-30 Thread Marshall Schor
It's been left open. Should this be closed? -Marshall

Re: [jira] Commented: (UIMA-1465) running a pearSpecifier as a top level component fails with NullPointerException

2009-07-30 Thread Marshall Schor
Thilo Goetz wrote: > Marshall Schor wrote: > >> Thilo Goetz wrote: >> >>> It's probably not important, but I don't understand what the >>> difference is between "creating a top level pearSpecifier kind >>> of AE" (your wo

Re: [jira] Commented: (UIMA-1465) running a pearSpecifier as a top level component fails with NullPointerException

2009-07-31 Thread Marshall Schor
Thilo Goetz wrote: > Marshall Schor wrote: > >> Thilo Goetz wrote: >> >>> Marshall Schor wrote: >>> >>> >>>> Thilo Goetz wrote: >>>> >>>> >>>>> It's prob

[VOTE] graduate UIMA-AS from sandbox

2009-07-31 Thread Marshall Schor
I would like to propose graduating UIMA-AS from the sandbox, making it a separately downloadable "add-on" to base UIMA. It has been extensively used in several projects and has undergone (as a result) a lot of bug-fixing and hardening. With the upcoming release, I think it would make sense to grad

[VOTE][RESULT] graduate UIMA-AS from sandbox

2009-08-06 Thread Marshall Schor
The vote has been open for about a week, and we have +1 Marshall Schor +1 Eddie Epstein +1 Jaroslaw Cwiklik +1 Tong Fin +1 Jochen Leidner +1 Jörn Kottman +1 Thommaso Teofili +1 Burn Lewis +1 Adam Lally There were no 0 or -1 votes. The vote passes. Thanks to everyone for voting! -Marshall

Re: Release: no progress

2009-08-06 Thread Marshall Schor
Thilo Goetz wrote: > Eddie Epstein wrote: > >> Let's pick a date for a first release candidate, say August 28, >> and get different people to take responsibility for various packages >> to be ready. Then we do a status check on that date to see what >> goes forward? >> > > I'm sorry to say

moving uima-as out of the sandbox in SVN

2009-08-06 Thread Marshall Schor
I plan to move uima-as out of the sandbox sometime this weekend. Those of you who may have it checked out will need to "switch" your checked-out version to the new position. Here are the details: Current (old) position: ... incubator uima sandbox trunk uima-as

Re: [jira] Commented: (UIMA-1479) Move UIMA-AS out of sandbox, change to an "add-on" packaging style to the core

2009-08-06 Thread Marshall Schor
e/UIMA-1479 >> Project: UIMA >> Issue Type: Task >> Components: Async Scaleout >>Reporter: Marshall Schor >>Assignee: Marshall Schor >> >> UIMA-AS was voted to graduate from the sandbox. Make the need

Re: [jira] Commented: (UIMA-1479) Move UIMA-AS out of sandbox, change to an "add-on" packaging style to the core

2009-08-06 Thread Marshall Schor
Jörn Kottmann (JIRA) wrote: > [ > https://issues.apache.org/jira/browse/UIMA-1479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12740135#action_12740135 > ] > > Jörn Kottmann commented on UIMA-1479: > - > > I woul

Re: next release plan - sandbox - which components?

2009-08-06 Thread Marshall Schor
Hi Rico - thanks for the reminder :-) I'll add it... -Marshall Rico Landefeld wrote: > hi there, > > Lucas should be part of the upcomming 2.3.0 release. > > rico > > > On Thu, Jul 30, 2009 at 12:56 AM, Tong Fin wrote: > Is the SimpleUimaAsService ready for prime time? I don't recal

Re: [jira] Closed: (UIMA-1352) java.lang.ClassCastException using find() with a SET index

2009-08-06 Thread Marshall Schor
Thilo Goetz wrote: > Thilo Goetz wrote: > >> Marshall Schor wrote: >> >>> Thilo Goetz wrote: >>> >>>> Marshall Schor wrote: >>>> >>>> >>>>> Thilo Goetz wrote: >>>>&g

Is the generification supertype of AnnotationIndex.iterator() correct?

2009-08-07 Thread Marshall Schor
AnnotationIndex interface extends FSIndex extends Iterable. Iterable interface defines one method, iterator where T is AnnotationFS (in this case). AnnotationIndexImpl implements AnnotationIndex. Therefore, it has a method, iterator, whose return value is FSIterator. --- The hi

AnnotationIndex generification

2009-08-07 Thread Marshall Schor
A user had written this: public static Iterator annotationsIterator( JCas aJCas, int type) { return aJCas.getAnnotationIndex(type).iterator(); // fails, cannot convert from FSIterator to Iterator } This compile-time error can be eliminated by changing the generification of Annotat

Re: Is the generification supertype of AnnotationIndex.iterator() correct?

2009-08-07 Thread Marshall Schor
Jörn Kottmann wrote: > >> The current choice in generification doesn't support this; a fix would >> be to change AnnotationIndex generification from >> public interface AnnotationIndex extends FSIndex to >> public interface AnnotationIndex extends FSIndex >> >> Is this correct? >> > The reas

Re: AnnotationIndex generification

2009-08-07 Thread Marshall Schor
Jörn Kottmann wrote: > Marshall Schor wrote: >> A user had written this: >> >> public static Iterator annotationsIterator( >> JCas aJCas, int type) { >> return aJCas.getAnnotationIndex(type).iterator(); // fails, cannot >> convert from F

generics: createFilteredIterator

2009-08-07 Thread Marshall Schor
The createFilteredIterator method in CASImpl takes an FSIterator and an FSMatchConstraint, and returns another iterator. The generification of this is: public FSIterator createFilteredIterator(FSIterator it, FSMatchConstraint cons) { return new FilteredIterator(it, cons);} This means that t

generics: getViewIterator

2009-08-07 Thread Marshall Schor
getViewIterator in CASImpl is written with the signature: Iterator getViewIterator() If you are working with things needing CASImpl objects, you would write: Iterator s = aCas.getViewIterator(); while (s.hasNext()) { CASImpl ci = (CASImpl) s.next(); ... code using ci... } If we

release 2.3.0 plan

2009-08-07 Thread Marshall Schor
I'd like to freeze in 3 weeks, if that is reasonable. For all of you with code that you want to have in the release, is 3 weeks (Aug 28 - a Friday) too soon to freeze (stop developing, and see if we can cut a release candidate)? This means: coding of any new things is done, tests written, and e

Re: generics: getViewIterator

2009-08-08 Thread Marshall Schor
Jörn Kottmann wrote: > > On Aug 7, 2009, at 8:57 PM, Marshall Schor wrote: > >> getViewIterator in CASImpl is written with the signature: >> Iterator getViewIterator() >> >> If you are working with things needing CASImpl objects, you would write: >>

Re: generics: getViewIterator

2009-08-08 Thread Marshall Schor
Jukka Zitting wrote: > Hi, > > On Fri, Aug 7, 2009 at 8:57 PM, Marshall Schor wrote: > >> Would it be better to have that form of the signature? >> > > I don't know much about UIMA patterns, but in general something like > that seems a bit questiona

Re: generics: getViewIterator

2009-08-10 Thread Marshall Schor
Adam Lally wrote: > On Sat, Aug 8, 2009 at 4:57 PM, Marshall Schor wrote: > >> Jörn Kottmann wrote: >> >>> On Aug 7, 2009, at 8:57 PM, Marshall Schor wrote: >>> >>> >>>> getViewIterator in CASImpl is written with the signatu

Re: generics: getViewIterator

2009-08-10 Thread Marshall Schor
Jörn Kottmann wrote: > Marshall Schor wrote: >> Adam Lally wrote: >> >>> On Sat, Aug 8, 2009 at 4:57 PM, Marshall Schor wrote: >>> >>>> Jörn Kottmann wrote: >>>> >>>>> On Aug 7, 2009, at 8:57 PM, Marshall

Re: generics: getViewIterator

2009-08-10 Thread Marshall Schor
Jörn Kottmann wrote: > >> Here's another (probably weak) use case for returning > AbstractCas> kinds of things: If you have part of the code which >> collects views and some of these views use one form of the AbstractCas >> (e.g. CASImpl) and others use the JCas form, it would be nice to be able >

Re: Document collections [was: Re: Building the eclipse update site]

2009-08-10 Thread Marshall Schor
Jörn Kottmann wrote: > Jörn Kottmann wrote: >> The proposed changes would move the project model out >> of the Cas Editor into a new project with the advantage that >> it can be used by other tooling too. Like an analysis engine launcher >> which needs a document collection to run the AE or a PEA

Re: generics: getViewIterator

2009-08-10 Thread Marshall Schor
Jukka Zitting wrote: > Hi, > > On Mon, Aug 10, 2009 at 11:44 AM, Jörn Kottmann wrote: > >>> On a related note, have you considered using Iterables instead of >>> Iterators? They make the looping constructs much nicer. >>> >> Its not possible to use Iterables instead of Itertors because >>

Re: generics: getViewIterator

2009-08-10 Thread Marshall Schor
Adam Lally wrote: > On Mon, Aug 10, 2009 at 10:10 AM, Marshall Schor wrote: > >> So, we're back to just the issue (unless another use case can be >> conceived) of how to iterate, where the uses of the iterator want to use >> methods from CASImpl. Is the concensus

Re: generics: getViewIterator

2009-08-10 Thread Marshall Schor
Adam Lally wrote: >> Same issue with using Iterator >> Two quick fixes: casting: >> Iterator s = (Iterator) aCas.getViewIterator(); >> and >> Iterator s = aCas.getViewIterator(); >> >> > > Right.. I think it needs to be like this: > > > T getViewIterator() > I tried this, and get for :

Re: generics: getViewIterator

2009-08-10 Thread Marshall Schor
Adam Lally wrote: > On Mon, Aug 10, 2009 at 12:28 PM, Marshall Schor wrote: > >> Adam Lally wrote: >> >>>> Same issue with using Iterator >>>> Two quick fixes: casting: >>>> Iterator s = (Iterator) aCas.getViewItera

Generification of FSIndex

2009-08-10 Thread Marshall Schor
The generification of FSIndex currently specifies one type, that is the type of item being returned. The contains and find methods have arguments of type FeatureStructure. These could be changed to take type "T". I think the current implementation has maybe a bug - if you use contains or find

Re: Generification of FSIndex

2009-08-10 Thread Marshall Schor
Adam Lally wrote: > On Mon, Aug 10, 2009 at 4:07 PM, Jörn Kottmann wrote: > >> Marshall Schor wrote: >> >>> The generification of FSIndex currently specifies one type, >> FeatureStructure> that is the type of item being returned. >>> >>

Re: Generification of FSIndex

2009-08-10 Thread Marshall Schor
Marshall Schor wrote: > Adam Lally wrote: > >> On Mon, Aug 10, 2009 at 4:07 PM, Jörn Kottmann wrote: >> >> >>> Marshall Schor wrote: >>> >>> >>>> The generification of FSIndex currently specifies one type

clarifying a generics issue

2009-08-10 Thread Marshall Schor
Here's a new thread to discuss just one particular issue - a generics tradeoff. In other posts, people have expressed misgivings about letting users "downcast" List to List, if it cannot be *guaranteed* at compile time that this is valid. Here's a simple example, for instance, using two built-in

Re: Generification of FSIndex

2009-08-11 Thread Marshall Schor
Thilo Goetz wrote: > Adam Lally wrote: > >> On Mon, Aug 10, 2009 at 5:32 PM, Marshall Schor wrote: >> >>> Adam Lally wrote: >>> >>>> On Mon, Aug 10, 2009 at 4:07 PM, Jörn Kottmann wrote: >>>> >>>>

Re: Generification of FSIndex

2009-08-11 Thread Marshall Schor
Thilo Goetz wrote: > Marshall Schor wrote: > >> Thilo Goetz wrote: >> >>> Adam Lally wrote: >>> >>> >>>> On Mon, Aug 10, 2009 at 5:32 PM, Marshall Schor wrote: >>>> >>>> >>>

Re: clarifying a generics issue

2009-08-11 Thread Marshall Schor
K List sln2 = sbox.getL(): // fails, no fix available } } -Marshall Marshall Schor wrote: > Here's a new thread to discuss just one particular issue - a generics > tradeoff. > > In other posts, people have expressed misgivings about letting users > "down

Re: Generification of FSIndex

2009-08-11 Thread Marshall Schor
Thilo Goetz wrote: > Marshall Schor wrote: > >> Thilo Goetz wrote: >> >>> Marshall Schor wrote: >>> >>> >>>> Thilo Goetz wrote: >>>> >>>> >>>>> Adam Lally wrote: >

[VOTE] generics: have methods returning objects infer the type from the receiving variable type (was: clarifying a generics issue)

2009-08-11 Thread Marshall Schor
I can see Adam's point. If there was some way to do an explicit cast that worked for collections, then I would be happy with that. In other words, if we had something of type List and I knew the list really contained only Integers, if there was a way to cast this: List i_know_what_i_m_doing =

ACTION NEEDED: uima-as moved in SVN - switch to new location if you have projects in uima-as checked out

2009-08-11 Thread Marshall Schor
The affected projects are: uima-as-distr uima-as-docbooks uimaj-as uimaj-as-activemq uimaj-as-camel uimaj-as-core uimaj-as-jms uimaj-as-osgi-runtime uimaj-eclipse-feature-deployeditor uimaj-ep-deployeditor uimaj-ep-runtime-deployeditor -Marshall

Re: generics: createFilteredIterator

2009-08-12 Thread Marshall Schor
Jörn Kottmann wrote: > Adam Lally wrote: >> On Wed, Aug 12, 2009 at 5:54 AM, Jörn Kottmann >> wrote: >> >>> Yes, but if someone writes it intentional he would get the same >>> exception during class casting. That means not doing it would only help >>> someone who picks the wrong type for the vari

Re: generics: FSIndexRepository

2009-08-12 Thread Marshall Schor
Jörn Kottmann wrote: > Hi, > > after all the discussion we had I think thats the correct > way to generify FSIndexRepository: > > interface FSIndexRepository { > FSIndex getIndex(String label); > FSIterator getAllIndexedFS(Type aType); > ... > } > +1 Marshall > Jörn > >

issue with adding source to jars

2009-08-12 Thread Marshall Schor
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 compl

Re: generics: FSIndexRepository

2009-08-13 Thread Marshall Schor
Thilo Goetz wrote: > Jörn Kottmann wrote: > >> Jörn Kottmann wrote: >> >>> Jörn Kottmann wrote: >>> Jörn Kottmann wrote: > Hi, > > after all the discussion we had I think thats the correct > way to generify FSIndexRepository: > > interface

Re: generics: FSIndexRepository

2009-08-13 Thread Marshall Schor
Thilo Goetz wrote: > Jörn Kottmann wrote: > >> Thilo Goetz wrote: >> >>> Jörn Kottmann wrote: >>> >>> Jörn Kottmann wrote: > Jörn Kottmann wrote: > > >> Jörn Kottmann wrote: >> >> >>> Hi,

Re: generics: FSIndexRepository

2009-08-13 Thread Marshall Schor
Jörn Kottmann wrote: > Jörn Kottmann wrote: >> Jörn Kottmann wrote: >>> Jörn Kottmann wrote: Hi, after all the discussion we had I think thats the correct way to generify FSIndexRepository: interface FSIndexRepository { FSIndex getIndex(String label); FSIte

Re: issue with adding source to jars

2009-08-13 Thread Marshall Schor
Tong Fin wrote: > On Wed, Aug 12, 2009 at 4:12 PM, Marshall Schor 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

can we drop .bz2 formats of our binary distribution?

2009-08-17 Thread Marshall Schor
This format takes a long time to generate, and seems on marginally more compressed than the tar.gz formats. We've never generated it for the uima-as distr; I'd like to update our build to drop it from the uima base and sandbox distrs too. Any objections? -Marshall

Re: Ontology Annotator to the sandbox

2009-08-17 Thread Marshall Schor
Sounds interesting. If possible, can you post some links to more information about what it is? -Marshall Ahmed Abdeen Hamed wrote: > Hello UIMA developers and engineers, > I have been developing an Ontology-Based Annotator UIMA component for over a > year now. The Annotator is based on the Conce

Re: can we drop .bz2 formats of our binary distribution?

2009-08-17 Thread Marshall Schor
Eddie Epstein wrote: > +1 > > On the other hand, aren't people on uima-users more likely to care? > OK, I'll ask there too... no need to respond there if you've already done so here -Marshall > Eddie > > On Mon, Aug 17, 2009 at 3:22 PM, Marshall Schor wro

Re: generics: additionalParams

2009-08-18 Thread Marshall Schor
Jörn Kottmann wrote: > The additionalParams Map has a String key and can contains > all kinds of Objects, so the correct generification would be > Map. > > In the uima code base I found one invocation where a Properties object > was > passed as additionalParams. Properties is a Map which > will cau

ACTION NEEDED: PearPackagingMavenPlugin moved in SVN per Jira UIMA-1497

2009-08-18 Thread Marshall Schor
If you have it checked out, please switch to the new location: https://svn.apache.org/repos/asf/incubator/uima/uimaj/trunk/PearPackagingMavenPlugin -Marshall

Re: generics: additionalParams

2009-08-18 Thread Marshall Schor
Jörn Kottmann wrote: > Marshall Schor wrote: >> Jörn Kottmann wrote: >> >>> The additionalParams Map has a String key and can contains >>> all kinds of Objects, so the correct generification would be >>> Map. >>> >>> In the uim

pear packaging maven plugin documentation question

2009-08-18 Thread Marshall Schor
The current docs for the pear packaging maven plugin say that you need to make your project depend on the plugin, by adding it to the dependency set of your project that is using it. I don't think this is correct. I think that the maven plugin tools are specified separately from the project depen

Re: pear packaging maven plugin documentation question

2009-08-19 Thread Marshall Schor
Marshall Schor wrote: > The current docs for the pear packaging maven plugin say that you need > to make your project depend on the plugin, by adding it to the > dependency set of your project that is using it. > > I don't think this is correct. I think that the ma

Re: generics: additionalParams

2009-08-19 Thread Marshall Schor
+1 Marshall Jörn Kottmann wrote: > Jörn Kottmann wrote: >> Marshall Schor wrote: >>> Jörn Kottmann wrote: >>> >>>> The additionalParams Map has a String key and can contains >>>> all kinds of Objects, so the correct generification would be &g

Re: release 2.3.0 plan

2009-08-19 Thread Marshall Schor
> to move our release a few days and use the time to convert existing > code outside of the core. That could be done after the code freeze. > > Jörn > > Marshall Schor wrote: >> I'd like to freeze in 3 weeks, if that is reasonable. For all of you >> with code that yo

possibly including the BSFAnnotator in the sandbox release 2.3.0

2009-08-19 Thread Marshall Schor
While working on including the BSFAnnotator in the sandbox release, I noticed it has 6 jar files in its "lib" directory. The NOTICE file says that the project includes some components under MPL and SPL; however, the information needed to associate each of this included 3rd-party jar files with the

Re: generics: AnalysisComponent.getRequiredCasInterface();

2009-08-19 Thread Marshall Schor
Jörn Kottmann wrote: > Is that the correct generification? > Class getRequiredCasInterface(); > > Implementing classes can then specify the concrete return > type. > > For example: > Class JCasAnnotator_ImplBase.getRequiredCasInterface() > Class CasAnnotator_ImplBase.getRequiredCasInterface() I t

Re: possibly including the BSFAnnotator in the sandbox release 2.3.0

2009-08-20 Thread Marshall Schor
Olivier Terrier wrote: > Hi Marshall > > When I donated the BSFAnnotator about two years ago I was not very > familiar with the maven-based Apache UIMA build process... And I'm > afraid I'm still not be. > > >> While working on including the BSFAnnotator in the sandbox release, I >> noticed it

Re: possibly including the BSFAnnotator in the sandbox release 2.3.0

2009-08-20 Thread Marshall Schor
Hi Olivier - I updated the project: removed the bsf-bsh.jar updated the bsh.jar to bsh-1.3.0.jar I changed the POM so it didn't depend on the bsf-bsh.jar and changed the dependency of the bsh.jar to bsh-1.3.0.jar. When I tried to build it, it failed when running the testAnnotatorAggregated.

RegularExpressionAnnotator has 1 test that refs org.apache.commons.io.FileUtils.forceDelete

2009-08-21 Thread Marshall Schor
org.apache.commons.io.FileUtils is not listed in the dependencies, so this is an unresolved reference. I'm not sure how it worked before. Is the right fix to just add a dependency on org.apache.commons.io? If we do that, I'm guessing we don't have to distribute it, because maven will fetch it whe

Re: generics: CasManager.getCasInterface

2009-08-22 Thread Marshall Schor
Adam Lally wrote: > On Fri, Aug 21, 2009 at 7:48 AM, Jörn Kottmann wrote: > >> Jörn Kottmann wrote: >> >>> Right now its declared as >>> >>> AbstractCas getCasInterface(CAS cas, Class >>> requiredInterface); >>> >>> but I think it should be >>> >>> T getCasInterface(CAS cas, Class>> Abst

Re: [jira] Updated: (UIMA-1506) update Bean Scripting Framework Annotator with info about licenses and documentation

2009-08-22 Thread Marshall Schor
Olivier Terrier (JIRA) wrote: > [ > https://issues.apache.org/jira/browse/UIMA-1506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel > ] > > Olivier Terrier updated UIMA-1506: > -- > > Attachment: BSFAnnotator.zip > > Marshall: I did a q

Re: [jira] Updated: (UIMA-1506) update Bean Scripting Framework Annotator with info about licenses and documentation

2009-08-22 Thread Marshall Schor
Marshall Schor wrote: > Olivier Terrier (JIRA) wrote: > >> [ >> https://issues.apache.org/jira/browse/UIMA-1506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel >> ] >> >> Olivier Terrier updated UIMA-1506: >> -

generics issue with iterators

2009-08-22 Thread Marshall Schor
After generification of iterators, this line in Lucas doesn't compile: In src/main/java, org.apache.uima.lucas.indexer.analysis, the class: AnnotationTokenStream line 340: annotationIterator = Iterators.filter(jCas.getAnnotationIndex(annotationType).iterator(), new NotNullPredicat

Can we update the version of Tika in the TikaAnnotator to 0.4

2009-08-23 Thread Marshall Schor
The current dependency is specified as 0.2, but the Tika project is now at 0.4 release. I don't know if changing to 0.4 requires any concurrent modifications to the annotator. -Marshall

Re: generics: JFSIndexRepository

2009-08-24 Thread Marshall Schor
Jörn Kottmann wrote: > public interface JFSIndexRepository { > > FSIndex getIndex(String label); > FSIndex getIndex(String label, int type); > AnnotationIndex getAnnotationIndex(); > AnnotationIndex getAnnotationIndex(int type); > Iterator> getIndexes(); > FSIterator getAllIndexedFS(Type aT

Re: [jira] Updated: (UIMA-1506) update Bean Scripting Framework Annotator with info about licenses and documentation

2009-08-24 Thread Marshall Schor
Olivier Terrier wrote: >>> One question: The POM for this project specifies that the Jar have >>> included "resources", which then become available on the class path. >>> >>> The resources included are >>> BeanshellTestAnnotator.xml >>> BSFAggregatedAE.xml >>> BSFAnnotator.xml >>> NICKNA

<    3   4   5   6   7   8   9   10   11   12   >