Re: issue with adding source to jars

2009-08-12 Thread Tong Fin
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 the "runtime" jars. Then I > realized, that these jars ha

[jira] Reopened: (UIMA-1489) Generify FSIndexRepository

2009-08-12 Thread JIRA
[ https://issues.apache.org/jira/browse/UIMA-1489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jörn Kottmann reopened UIMA-1489: - > Generify FSIndexRepository > -- > > Key: UIMA-1489 >

Re: generics: FSIndexRepository

2009-08-12 Thread Jörn Kottmann
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); FSIterator getAllIndexedFS(Type aType); ... } It generified now and also getIndexes: Iterato

Re: generics: getViewIterator

2009-08-12 Thread Jörn Kottmann
Marshall Schor wrote: Sounds right. But we should use bounded wildcards for "arguments" where appropriate (of course, this doesn't apply to getViewIterator, which has no arguments). The article, http://www.ibm.com/developerworks/java/library/j-jtp07018.html?S_TACT=105AGX02&S_CMP=EDU has a nice

[jira] Commented: (UIMA-1408) Annotation highlightning does not work with background drawing strategy

2009-08-12 Thread JIRA
[ https://issues.apache.org/jira/browse/UIMA-1408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12742648#action_12742648 ] Jörn Kottmann commented on UIMA-1408: - I looked into this issue and could not find a way

[jira] Updated: (UIMA-1458) Remove the Cas Editor from the sandbox page.

2009-08-12 Thread JIRA
[ https://issues.apache.org/jira/browse/UIMA-1458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jörn Kottmann updated UIMA-1458: Fix Version/s: 2.3 > Remove the Cas Editor from the sandbox page. >

[jira] Closed: (UIMA-1489) Generify FSIndexRepository

2009-08-12 Thread JIRA
[ https://issues.apache.org/jira/browse/UIMA-1489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jörn Kottmann closed UIMA-1489. --- Resolution: Fixed > Generify FSIndexRepository > -- > > Key: U

Re: generics: FSIndexRepository

2009-08-12 Thread Jörn Kottmann
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); ... } It generified now and also getIndexes: Iterator> getIndexes(); Jörn

[jira] Created: (UIMA-1489) Generify FSIndexRepository

2009-08-12 Thread JIRA
Generify FSIndexRepository -- Key: UIMA-1489 URL: https://issues.apache.org/jira/browse/UIMA-1489 Project: UIMA Issue Type: Improvement Components: Core Java Framework Reporter: Jörn Kottmann

[jira] Closed: (UIMA-1417) ResourceConfigurationException to be thrown from the initialize(context) method

2009-08-12 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-1417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marshall Schor closed UIMA-1417. Resolution: Fixed Fix Version/s: 2.3 Assignee: Marshall Schor corrected documentatio

[jira] Assigned: (UIMA-1400) Uima aggregate with embedded Cas Multiplier fails if one attempts to create multiple instances of it in the same JVM

2009-08-12 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-1400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marshall Schor reassigned UIMA-1400: Assignee: Jerry Cwiklik Jerry - can you update the status of this in preparation for 2.3.0 r

Re: generics: createFilteredIterator

2009-08-12 Thread Adam Lally
On Wed, Aug 12, 2009 at 3:08 PM, Marshall Schor wrote: > 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 woul

[jira] Assigned: (UIMA-1356) Add source to UIMA Eclipse plugins

2009-08-12 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-1356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marshall Schor reassigned UIMA-1356: Assignee: Marshall Schor > Add source to UIMA Eclipse plugins >

Re: generics: FSIndexRepository

2009-08-12 Thread Adam Lally
On Wed, Aug 12, 2009 at 10:52 AM, 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 -Adam

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-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 > >

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

[jira] Reopened: (UIMA-1433) UIMA AS service creates too many JMS connections

2009-08-12 Thread Jerry Cwiklik (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-1433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jerry Cwiklik reopened UIMA-1433: - Cleanup global connection Map when inactivity timer on a reply queue pops > UIMA AS service creates t

generics: additionalParams

2009-08-12 Thread Jörn Kottmann
The additionalParams Map has a String key and can contains all kinds of Objects, so the correct generification would be MapObject>. In the uima code base I found one invocation where a Properties object was passed as additionalParams. Properties is a Map which will cause compile errors in user c

[jira] Created: (UIMA-1488) Generics for org.apache.uima.resoruce classes

2009-08-12 Thread JIRA
Generics for org.apache.uima.resoruce classes - Key: UIMA-1488 URL: https://issues.apache.org/jira/browse/UIMA-1488 Project: UIMA Issue Type: Improvement Components: Core Java Framework

generics: FSIndexRepository

2009-08-12 Thread Jörn Kottmann
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); ... } Jörn

Re: generics: createFilteredIterator

2009-08-12 Thread Jörn Kottmann
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 variable by accident, since its likely that

[jira] Created: (UIMA-1487) Add support for collectionProcessComplete timeout setting in JMS service adapter

2009-08-12 Thread Eddie Epstein (JIRA)
Add support for collectionProcessComplete timeout setting in JMS service adapter Key: UIMA-1487 URL: https://issues.apache.org/jira/browse/UIMA-1487 Project: UIMA

[jira] Commented: (UIMA-1417) ResourceConfigurationException to be thrown from the initialize(context) method

2009-08-12 Thread Adam Lally (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-1417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12742378#action_12742378 ] Adam Lally commented on UIMA-1417: -- I think the documentation is wrong and should be change

Re: generics: createFilteredIterator

2009-08-12 Thread Adam Lally
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 variable by accident, since its > likely that > the code canno

Re: clarifying a generics issue

2009-08-12 Thread Adam Lally
On Wed, Aug 12, 2009 at 5:36 AM, Jörn Kottmann wrote: > Jörn Kottmann wrote: >> >> Marshall Schor wrote: >>> >>> I'll probably stop trying to convince others if they continue to feel >>> that the tradeoffs here should be in the direction of returning only >>> specific types (disallowing users from

[jira] Updated: (UIMA-1426) More control for apps against OOMs from UIMA core: Add configuration option to set the maximum heap size the CAS will grow to

2009-08-12 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-1426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marshall Schor updated UIMA-1426: - Affects Version/s: 2.3 marking as "affects 2.3" to indicate not being fixed this cycle. > More co

[jira] Closed: (UIMA-1485) UIMA Tutorial and Developers guide in sub title 1.3.2 should be AAE and not AE

2009-08-12 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-1485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marshall Schor closed UIMA-1485. Resolution: Fixed > UIMA Tutorial and Developers guide in sub title 1.3.2 should be AAE and not AE >

[jira] Assigned: (UIMA-1485) UIMA Tutorial and Developers guide in sub title 1.3.2 should be AAE and not AE

2009-08-12 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-1485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marshall Schor reassigned UIMA-1485: Assignee: Marshall Schor > UIMA Tutorial and Developers guide in sub title 1.3.2 should be A

Re: generics: createFilteredIterator

2009-08-12 Thread Thilo Goetz
Jörn Kottmann wrote: > Thilo Goetz wrote: >> Jörn Kottmann wrote: >> >>> Thilo Goetz wrote: >>> Jörn Kottmann wrote: > Adam Lally wrote: > >> On Fri, Aug 7, 2009 at 2:32 PM, Marshall Schor wrote: >> >> >>> The createFi

Re: generics: createFilteredIterator

2009-08-12 Thread Jörn Kottmann
Thilo Goetz wrote: Jörn Kottmann wrote: Thilo Goetz wrote: Jörn Kottmann wrote: Adam Lally wrote: On Fri, Aug 7, 2009 at 2:32 PM, Marshall Schor wrote: The createFilteredIterator method in CASImpl takes an FSIterator and an FSMatchConstraint,

Re: generics: createFilteredIterator

2009-08-12 Thread Thilo Goetz
Jörn Kottmann wrote: > Thilo Goetz wrote: >> Jörn Kottmann wrote: >> >>> Adam Lally wrote: >>> On Fri, Aug 7, 2009 at 2:32 PM, Marshall Schor wrote: > The createFilteredIterator method in CASImpl takes an FSIterator > and an > FSMatchConstraint, and returns

[jira] Updated: (UIMA-1336) allow multiple dictionary entries to match against a single string

2009-08-12 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-1336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marshall Schor updated UIMA-1336: - Fix Version/s: 2.3S > allow multiple dictionary entries to match against a single string > ---

[jira] Closed: (UIMA-1336) allow multiple dictionary entries to match against a single string

2009-08-12 Thread Marshall Schor (JIRA)
[ https://issues.apache.org/jira/browse/UIMA-1336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marshall Schor closed UIMA-1336. Resolution: Fixed via patch in UIMA-1371 > allow multiple dictionary entries to match against a sin

Re: generics: createFilteredIterator

2009-08-12 Thread Jörn Kottmann
Thilo Goetz wrote: Jörn Kottmann wrote: Adam Lally wrote: On Fri, Aug 7, 2009 at 2:32 PM, Marshall Schor wrote: The createFilteredIterator method in CASImpl takes an FSIterator and an FSMatchConstraint, and returns another iterator. The generification of this is: public FSIt

Re: generics: createFilteredIterator

2009-08-12 Thread Thilo Goetz
Jörn Kottmann wrote: > Adam Lally wrote: >> On Fri, Aug 7, 2009 at 2:32 PM, Marshall Schor wrote: >> >>> The createFilteredIterator method in CASImpl takes an FSIterator and an >>> FSMatchConstraint, and returns another iterator. >>> >>> The generification of this is: >>> public FSIterator >>> c

Re: generics: createFilteredIterator

2009-08-12 Thread Jörn Kottmann
Adam Lally wrote: On Fri, Aug 7, 2009 at 2:32 PM, Marshall Schor wrote: 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, FSMatchCons

Re: clarifying a generics issue

2009-08-12 Thread Thilo Goetz
Jörn Kottmann wrote: > Jörn Kottmann wrote: >> Marshall Schor wrote: >>> I'll probably stop trying to convince others if they continue to feel >>> that the tradeoffs here should be in the direction of returning only >>> specific types (disallowing users from specifying downcasting in that >>> manne

Re: clarifying a generics issue

2009-08-12 Thread Jörn Kottmann
Jörn Kottmann wrote: Marshall Schor wrote: I'll probably stop trying to convince others if they continue to feel that the tradeoffs here should be in the direction of returning only specific types (disallowing users from specifying downcasting in that manner), versus using types of the form T ex

Re: [VOTE] generics: have methods returning objects infer the type from the receiving variable type

2009-08-12 Thread Jörn Kottmann
Marshall Schor wrote: On the normal scale of -1, 0, +1, to the proposition - have the generic form of many methods that are in the public API for UIMA that return UIMA objects, return a type which is inferred from the receiving typed variable, versus having it return just one fixed type not inf

[jira] Commented: (UIMA-1410) The uimaj-as-camel producer should report and log all error/exceptions

2009-08-12 Thread JIRA
[ https://issues.apache.org/jira/browse/UIMA-1410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12742259#action_12742259 ] Jörn Kottmann commented on UIMA-1410: - No should be ready for 2.3.0. > The uimaj-as-cam