RE: [jira] Updated: (UIMA-1506) update Bean Scripting Framework Annotator with info about licenses and documentation
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 NICKNAMES.bsh RhinoTestAnnotator.xml TEST.bsh TEST.js I see these are needed for running the tests. I'm moving them to the src/test/resources files. That way, maven will use them for running the tests, but they won't be packaged in the Jar file that maven builds. Let me know if I'm missing something here... Yes, they are here for testing purposes so I guess moving them to the test/resources dir is OK O.
[jira] Reopened: (UIMA-1489) Generify FSIndexRepository
[ https://issues.apache.org/jira/browse/UIMA-1489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jörn Kottmann reopened UIMA-1489: - 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 NotNullPredicateAnnotation()); gives message: The method filter(IteratorT, Predicate? super T) in the type Iterators is not applicable for the arguments (FSIteratorAnnotationFS, AnnotationTokenStream.NotNullPredicateAnnotation) I observe that if I change new NotNullPredicateAnnotation()); // to new NotNullPredicateAnnotationFS()); that the error goes away, but is replaced with another error: Type mismatch: cannot convert from IteratorAnnotationFS to IteratorAnnotation I think the original form assigns to T the value AnnotationFS. This makes the assignment of the predicate NotNullPredicateX have the type X be a super type of AnnotationFS. But Annotation is a subtype, not a supertype. So it fails. I think the JCas version of getAnnotationIndex(annotationType).iterator() should end up returning an iterator over Annotation, not AnnotationFS. This would fix this, I think. 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 Assignee: Jörn Kottmann Fix For: 2.3 Add generics to the FSIndexRepository interface. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: generics issue with iterators
Marshall Schor wrote: 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 NotNullPredicateAnnotation()); gives message: The method filter(IteratorT, Predicate? super T) in the type Iterators is not applicable for the arguments (FSIteratorAnnotationFS, AnnotationTokenStream.NotNullPredicateAnnotation) I observe that if I change new NotNullPredicateAnnotation()); // to new NotNullPredicateAnnotationFS()); that the error goes away, but is replaced with another error: Type mismatch: cannot convert from IteratorAnnotationFS to IteratorAnnotation I think the original form assigns to T the value AnnotationFS. This makes the assignment of the predicate NotNullPredicateX have the type X be a super type of AnnotationFS. But Annotation is a subtype, not a supertype. So it fails. I think the JCas version of getAnnotationIndex(annotationType).iterator() should end up returning an iterator over Annotation, not AnnotationFS. This would fix this, I think. But that would mean that we return an AnnotationIndexAnnotation and not AnnotationIndexAnnotationFS, right ? Jörn
[jira] Closed: (UIMA-1489) Generify FSIndexRepository
[ 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: UIMA-1489 URL: https://issues.apache.org/jira/browse/UIMA-1489 Project: UIMA Issue Type: Improvement Components: Core Java Framework Reporter: Jörn Kottmann Assignee: Jörn Kottmann Fix For: 2.3 Add generics to the FSIndexRepository interface. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1491) Correct generics in org.apache.uima.cas.text
[ https://issues.apache.org/jira/browse/UIMA-1491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12746782#action_12746782 ] Jörn Kottmann commented on UIMA-1491: - Based on Marhshalls post on the dev list: http://markmail.org/message/iablkcwowcf2txnb The JCas interface should be updated to return AnnotationIndexAnnotation and not AnnotationIndexAnnotationFS from the getAnnotationIndex methods. Correct generics in org.apache.uima.cas.text Key: UIMA-1491 URL: https://issues.apache.org/jira/browse/UIMA-1491 Project: UIMA Issue Type: Bug Components: Core Java Framework Reporter: Jörn Kottmann Assignee: Jörn Kottmann Fix For: 2.3 The AnnotationIndex should allow AnnotationIndexes which have a suptype of AnnotationFS as type parameter. AnnotationTree and AnnotationTreeNode should also be generic. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Closed: (UIMA-1507) BaseCollectionReader should extend Resource
[ https://issues.apache.org/jira/browse/UIMA-1507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jörn Kottmann closed UIMA-1507. --- Resolution: Fixed BaseCollectionReader should extend Resource --- Key: UIMA-1507 URL: https://issues.apache.org/jira/browse/UIMA-1507 Project: UIMA Issue Type: Improvement Components: Core Java Framework Reporter: Jörn Kottmann Assignee: Jörn Kottmann Fix For: 2.3 To allow a call to produceResource to create a BaseCollectionReader, it must extend the Resource interface. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Closed: (UIMA-1505) Generics for org.apache.uima.analysis_engine classes
[ https://issues.apache.org/jira/browse/UIMA-1505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jörn Kottmann closed UIMA-1505. --- Resolution: Fixed Generics for org.apache.uima.analysis_engine classes Key: UIMA-1505 URL: https://issues.apache.org/jira/browse/UIMA-1505 Project: UIMA Issue Type: Improvement Components: Core Java Framework Reporter: Jörn Kottmann Assignee: Jörn Kottmann Fix For: 2.3 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
generics: JFSIndexRepository
public interface JFSIndexRepository { FSIndexTOP getIndex(String label); FSIndexTOP getIndex(String label, int type); AnnotationIndexAnnotation getAnnotationIndex(); AnnotationIndexAnnotation getAnnotationIndex(int type); IteratorFSIndexTop getIndexes(); FSIteratorTOP getAllIndexedFS(Type aType); FSIteratorTOP getAllIndexedFS(int aType); } Is the above generification correct ? We could use FeatureStructure instead of TOP, I am not sure whats better. Jörn
[jira] Assigned: (UIMA-1181) Deleting a CAS file should also close the annotation editor. This occurs when the file is opened in text editor and annotation editor and cas file is deleted.
[ https://issues.apache.org/jira/browse/UIMA-1181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jörn Kottmann reassigned UIMA-1181: --- Assignee: Jörn Kottmann Deleting a CAS file should also close the annotation editor. This occurs when the file is opened in text editor and annotation editor and cas file is deleted. -- Key: UIMA-1181 URL: https://issues.apache.org/jira/browse/UIMA-1181 Project: UIMA Issue Type: Bug Components: CasEditor Environment: using eclipse 3.4 Reporter: Peter Thygesen Assignee: Jörn Kottmann Priority: Minor -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Assigned: (UIMA-1116) should not modify certain CAS features
[ https://issues.apache.org/jira/browse/UIMA-1116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jörn Kottmann reassigned UIMA-1116: --- Assignee: Jörn Kottmann should not modify certain CAS features -- Key: UIMA-1116 URL: https://issues.apache.org/jira/browse/UIMA-1116 Project: UIMA Issue Type: Bug Components: CasEditor Reporter: Eddie Epstein Assignee: Jörn Kottmann Priority: Minor The editor should not allow modification of Sofa features as these changes can leave the CAS unusable. These features cannot be changed by normal CAS methods, which raises the question of how the CAS editor is modifying these features? Anyway, there is an easy workaround, don't do that! -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Assigned: (UIMA-1180) Opening a CAS file should open the annotation editor. Not the text editor.
[ https://issues.apache.org/jira/browse/UIMA-1180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jörn Kottmann reassigned UIMA-1180: --- Assignee: Jörn Kottmann Opening a CAS file should open the annotation editor. Not the text editor. -- Key: UIMA-1180 URL: https://issues.apache.org/jira/browse/UIMA-1180 Project: UIMA Issue Type: Bug Components: CasEditor Environment: Using Eclipse 3.4 Reporter: Peter Thygesen Assignee: Jörn Kottmann Priority: Minor -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Closed: (UIMA-1180) Opening a CAS file should open the annotation editor. Not the text editor.
[ https://issues.apache.org/jira/browse/UIMA-1180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jörn Kottmann closed UIMA-1180. --- Resolution: Fixed Fix Version/s: 2.3 Issue is already solved. Opening a CAS file should open the annotation editor. Not the text editor. -- Key: UIMA-1180 URL: https://issues.apache.org/jira/browse/UIMA-1180 Project: UIMA Issue Type: Bug Components: CasEditor Environment: Using Eclipse 3.4 Reporter: Peter Thygesen Assignee: Jörn Kottmann Priority: Minor Fix For: 2.3 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Closed: (UIMA-1181) Deleting a CAS file should also close the annotation editor. This occurs when the file is opened in text editor and annotation editor and cas file is deleted.
[ https://issues.apache.org/jira/browse/UIMA-1181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jörn Kottmann closed UIMA-1181. --- Resolution: Fixed Fix Version/s: 2.3 Issue is already solved. Deleting a CAS file should also close the annotation editor. This occurs when the file is opened in text editor and annotation editor and cas file is deleted. -- Key: UIMA-1181 URL: https://issues.apache.org/jira/browse/UIMA-1181 Project: UIMA Issue Type: Bug Components: CasEditor Environment: using eclipse 3.4 Reporter: Peter Thygesen Assignee: Jörn Kottmann Priority: Minor Fix For: 2.3 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (UIMA-800) Support for CAS multipler in service wrapper
[ https://issues.apache.org/jira/browse/UIMA-800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eddie Epstein updated UIMA-800: --- Fix Version/s: 2.3 defer to later release Support for CAS multipler in service wrapper Key: UIMA-800 URL: https://issues.apache.org/jira/browse/UIMA-800 Project: UIMA Issue Type: New Feature Components: C++ Framework Reporter: Bhavani Iyer Fix For: 2.3 Add support for CAS Multiplier in the C++ service wrapper CAS multiplier is supported in Java. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (UIMA-1513) Update Cas Editor documentation for 2.3.0 release
Update Cas Editor documentation for 2.3.0 release - Key: UIMA-1513 URL: https://issues.apache.org/jira/browse/UIMA-1513 Project: UIMA Issue Type: Improvement Components: CasEditor Reporter: Jörn Kottmann Assignee: Jörn Kottmann Fix For: 2.3 The Cas Editor documentation should be updated. It should explain the new features and the screen-shots should be replaced with current ones. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (UIMA-1514) uimaj-as-camel should not use default Bundle-SymbolicName
uimaj-as-camel should not use default Bundle-SymbolicName - Key: UIMA-1514 URL: https://issues.apache.org/jira/browse/UIMA-1514 Project: UIMA Issue Type: Bug Components: Async Scaleout Reporter: Jörn Kottmann Assignee: Jörn Kottmann Fix For: 2.3AS The uimaj-as-camel Bundle-SymbolicName should be org.apache.uima.camel. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Closed: (UIMA-1514) uimaj-as-camel should not use default Bundle-SymbolicName
[ https://issues.apache.org/jira/browse/UIMA-1514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jörn Kottmann closed UIMA-1514. --- Resolution: Fixed uimaj-as-camel should not use default Bundle-SymbolicName - Key: UIMA-1514 URL: https://issues.apache.org/jira/browse/UIMA-1514 Project: UIMA Issue Type: Bug Components: Async Scaleout Reporter: Jörn Kottmann Assignee: Jörn Kottmann Fix For: 2.3AS The uimaj-as-camel Bundle-SymbolicName should be org.apache.uima.camel. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (UIMA-1515) Annotation type order should be consistent
Annotation type order should be consistent -- Key: UIMA-1515 URL: https://issues.apache.org/jira/browse/UIMA-1515 Project: UIMA Issue Type: Improvement Components: CasEditor Reporter: Jörn Kottmann Assignee: Jörn Kottmann Priority: Minor The annotation types should be ordered identical in the various places they are shown, namely outline view, [SHIFT][ENTER] smart insert type dialog and type choose lists. If possible it would be nice if the types can be ordered as in the uima type system descriptor. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: generics: JFSIndexRepository
On Mon, Aug 24, 2009 at 6:55 AM, Jörn Kottmannkottm...@gmail.com wrote: public interface JFSIndexRepository { FSIndexTOP getIndex(String label); FSIndexTOP getIndex(String label, int type); AnnotationIndexAnnotation getAnnotationIndex(); AnnotationIndexAnnotation getAnnotationIndex(int type); IteratorFSIndexTop getIndexes(); FSIteratorTOP getAllIndexedFS(Type aType); FSIteratorTOP getAllIndexedFS(int aType); } Is the above generification correct ? We could use FeatureStructure instead of TOP, I am not sure whats better. Seems to me that TOP is better for JCAS, just like Annotation is better than AnnotationFS. -Adam
Re: generics: JFSIndexRepository
Jörn Kottmann wrote: public interface JFSIndexRepository { FSIndexTOP getIndex(String label); FSIndexTOP getIndex(String label, int type); AnnotationIndexAnnotation getAnnotationIndex(); AnnotationIndexAnnotation getAnnotationIndex(int type); IteratorFSIndexTop getIndexes(); FSIteratorTOP getAllIndexedFS(Type aType); FSIteratorTOP getAllIndexedFS(int aType); } Is the above generification correct ? We could use FeatureStructure instead of TOP, I am not sure whats better. I think the generification is correct, because TOP is the JCas version of the FeatureStructure interface. Another note (http://markmail.org/thread/pafkl3luotd3wkfr - toward the bottom of the thread) suggests additional methods that pass in a class instance, and then use that to specify the returned type. -Marshall Jörn
Re: [jira] Updated: (UIMA-1506) update Bean Scripting Framework Annotator with info about licenses and documentation
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 NICKNAMES.bsh RhinoTestAnnotator.xml TEST.bsh TEST.js I see these are needed for running the tests. I'm moving them to the src/test/resources files. That way, maven will use them for running the tests, but they won't be packaged in the Jar file that maven builds. Let me know if I'm missing something here... Yes, they are here for testing purposes so I guess moving them to the test/resources dir is OK Ok, did that. I've also updated the readme to indicate that same descriptors and examples can be found in the src/test/resources folder. Will check in soon... -Marshall O.
[jira] Commented: (UIMA-1501) more refactoring and updating - parent POMs
[ https://issues.apache.org/jira/browse/UIMA-1501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12746894#action_12746894 ] Marshall Schor commented on UIMA-1501: -- Several projects which have test code were putting the test resources into the build jar. I've moved these (by changing the build - resources ... to build - testResources... Sometimes, the documentation (or README file) was suggesting that these same resources serve as examples; for these, added a note to the docs to point to the test folders. This keeps the Jars that are built to holding only that which is needed by the runtime. Most projects were duplicating standard boilerplate. This is being factored via using parent pom links specific to our UIMA projects. See http://cwiki.apache.org/UIMA/maven-tips.html on our wiki for a summary of the factoring. A side effect of factoring is that the parent POMs must be built installed first (if working on unreleased versions - for released versions, they will be found in the maven repos). These can be built installed without triggering the build of all the modules (in some of them) by using the -N parm on the mvn command. Version info is in most POM in 2 places: as part of its ID, and as part of the parent spec. Version info for common components that are part of UIMA are mostly factored up into the uimaj POM, and need be updated only there. The other POMs will inherit these versions. more refactoring and updating - parent POMs --- Key: UIMA-1501 URL: https://issues.apache.org/jira/browse/UIMA-1501 Project: UIMA Issue Type: Improvement Components: Build, Packaging and Test Reporter: Marshall Schor Assignee: Marshall Schor Priority: Minor use pluginManagement and dependencyManagement to refactor additional items. Update to javadoc plugin 2.5 (the current level - what the superPom specifies). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: svn commit: r807252 - /incubator/uima/sandbox/trunk/FsVariables/pom.xml
sc...@apache.org wrote: Author: schor Date: Mon Aug 24 14:49:29 2009 New Revision: 807252 URL: http://svn.apache.org/viewvc?rev=807252view=rev Log: [UIMA-1501] Modified: incubator/uima/sandbox/trunk/FsVariables/pom.xml Modified: incubator/uima/sandbox/trunk/FsVariables/pom.xml URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/FsVariables/pom.xml?rev=807252r1=807251r2=807252view=diff == --- incubator/uima/sandbox/trunk/FsVariables/pom.xml (original) +++ incubator/uima/sandbox/trunk/FsVariables/pom.xml Mon Aug 24 14:49:29 2009 @@ -24,43 +24,42 @@ groupIdorg.apache.uima/groupId artifactIdFsVariables/artifactId packagingjar/packaging - version2.3.0-incubating-SNAPSHOT/version + version2.3.0-incubating-SNAPSHOT/version !-- this comment is a flag for changeVersion -- nameApache UIMA FS Variables Package/name - urlhttp://incubator.apache.org/uima/url + + parent +groupIdorg.apache.uima/groupId +artifactIduimaj/artifactId +version2.3.0-incubating-SNAPSHOT/version !-- this comment is a flag for changeVersion -- +relativePath../uimaj/relativePath + /parent + Shouldn't that be + parent +groupIdorg.apache.uima/groupId +artifactIdSandboxDistr/artifactId +version2.3.0-incubating-SNAPSHOT/version !-- this comment is a flag for changeVersion -- +relativePath../SandboxDistr/relativePath + /parent dependencies dependency groupIdorg.apache.uima/groupId artifactIduimaj-core/artifactId - version2.3.0-incubating-SNAPSHOT/version - scopecompile/scope /dependency dependency groupIdorg.apache.uima/groupId artifactIduimaj-test-util/artifactId - version2.3.0-incubating-SNAPSHOT/version - scopecompile/scope /dependency dependency groupIdorg.apache.uima/groupId artifactIduimaj-component-test-util/artifactId - version2.3.0-incubating-SNAPSHOT/version - scopecompile/scope /dependency - /dependencies + build finalNameuimaj-fsvars/finalName - resources - resource + testResources + testResource directorydesc/directory - /resource - /resources + /testResource + testResource +directorysrc/test/resources/directory + /testResource + /testResources /build - repositories - repository -idApacheIncubatorRepository/id -urlhttp://people.apache.org/repo/m2-incubating-repository//url - /repository - /repositories + /project
UIMA .html files in doc folder have executable bit set
Hi, after building a distribution of the current head and unpacking the .tar.gz file, the .html files in the doc folder have the executable bit set. In Ubuntu 9.04 the .html files cannot be opened in a browser by double clicking them, because Ubuntu shows a Do you want to run xxx.html, or display its contents? dialog. Jörn
Re: RegularExpressionAnnotator has 1 test that refs org.apache.commons.io.FileUtils.forceDelete
I think Thilo added this test, maybe the reference can be replaced. -- Michael Marshall Schor wrote: 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 when needed. -Marshall
Re: svn commit: r807252 - /incubator/uima/sandbox/trunk/FsVariables/pom.xml
Thilo Goetz wrote: sc...@apache.org wrote: Author: schor Date: Mon Aug 24 14:49:29 2009 New Revision: 807252 URL: http://svn.apache.org/viewvc?rev=807252view=rev Log: [UIMA-1501] Modified: incubator/uima/sandbox/trunk/FsVariables/pom.xml Modified: incubator/uima/sandbox/trunk/FsVariables/pom.xml URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/FsVariables/pom.xml?rev=807252r1=807251r2=807252view=diff == --- incubator/uima/sandbox/trunk/FsVariables/pom.xml (original) +++ incubator/uima/sandbox/trunk/FsVariables/pom.xml Mon Aug 24 14:49:29 2009 @@ -24,43 +24,42 @@ groupIdorg.apache.uima/groupId artifactIdFsVariables/artifactId packagingjar/packaging -version2.3.0-incubating-SNAPSHOT/version +version2.3.0-incubating-SNAPSHOT/version !-- this comment is a flag for changeVersion -- nameApache UIMA FS Variables Package/name -urlhttp://incubator.apache.org/uima/url + + parent +groupIdorg.apache.uima/groupId +artifactIduimaj/artifactId +version2.3.0-incubating-SNAPSHOT/version !-- this comment is a flag for changeVersion -- +relativePath../uimaj/relativePath + /parent + Shouldn't that be + parent +groupIdorg.apache.uima/groupId +artifactIdSandboxDistr/artifactId +version2.3.0-incubating-SNAPSHOT/version !-- this comment is a flag for changeVersion -- +relativePath../SandboxDistr/relativePath + /parent Right! I'll fix it... -Marshall Thanks, I'll fix dependencies dependency groupIdorg.apache.uima/groupId artifactIduimaj-core/artifactId -version2.3.0-incubating-SNAPSHOT/version -scopecompile/scope /dependency dependency groupIdorg.apache.uima/groupId artifactIduimaj-test-util/artifactId -version2.3.0-incubating-SNAPSHOT/version -scopecompile/scope /dependency dependency groupIdorg.apache.uima/groupId artifactIduimaj-component-test-util/artifactId -version2.3.0-incubating-SNAPSHOT/version -scopecompile/scope /dependency - /dependencies + build finalNameuimaj-fsvars/finalName -resources -resource +testResources +testResource directorydesc/directory -/resource -/resources +/testResource + testResource +directorysrc/test/resources/directory + /testResource +/testResources /build -repositories - repository -idApacheIncubatorRepository/id -urlhttp://people.apache.org/repo/m2-incubating-repository//url - /repository - /repositories + /project
Re: UIMA .html files in doc folder have executable bit set
Jörn Kottmann wrote: Hi, after building a distribution of the current head and unpacking the .tar.gz file, the .html files in the doc folder have the executable bit set. In Ubuntu 9.04 the .html files cannot be opened in a browser by double clicking them, because Ubuntu shows a Do you want to run xxx.html, or display its contents? dialog. Good catch, I'll fix it... -Marshall Jörn
[jira] Created: (UIMA-1517) Don't set executable bits on non-executables, when building assemblies
Don't set executable bits on non-executables, when building assemblies -- Key: UIMA-1517 URL: https://issues.apache.org/jira/browse/UIMA-1517 Project: UIMA Issue Type: Improvement Components: Build, Packaging and Test Reporter: Marshall Schor Assignee: Marshall Schor Priority: Trivial Example, the .html files in doc folder have this bit set Ubuntu 9.04 won't open in browser via double click if set -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (UIMA-1518) improve SandboxDistr assembly
improve SandboxDistr assembly - Key: UIMA-1518 URL: https://issues.apache.org/jira/browse/UIMA-1518 Project: UIMA Issue Type: Improvement Components: Build, Packaging and Test Reporter: Marshall Schor Assignee: Marshall Schor Priority: Trivial Same changes as UIMA-1510 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-1517) Don't set executable bits on non-executables, when building assemblies
[ https://issues.apache.org/jira/browse/UIMA-1517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12746987#action_12746987 ] Jörn Kottmann commented on UIMA-1517: - The .bat files also should not have to executable bit set, on windows its not needed (and not supported ?) and on unix it ruins the tab completion in a shell. Don't set executable bits on non-executables, when building assemblies -- Key: UIMA-1517 URL: https://issues.apache.org/jira/browse/UIMA-1517 Project: UIMA Issue Type: Improvement Components: Build, Packaging and Test Reporter: Marshall Schor Assignee: Marshall Schor Priority: Trivial Example, the .html files in doc folder have this bit set Ubuntu 9.04 won't open in browser via double click if set -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: svn commit: r807280 - /incubator/uima/sandbox/trunk/WhitespaceTokenizer/pom.xml
sc...@apache.org wrote: Author: schor Date: Mon Aug 24 15:13:52 2009 New Revision: 807280 URL: http://svn.apache.org/viewvc?rev=807280view=rev Log: [UIMA-1501] Modified: incubator/uima/sandbox/trunk/WhitespaceTokenizer/pom.xml Modified: incubator/uima/sandbox/trunk/WhitespaceTokenizer/pom.xml URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/WhitespaceTokenizer/pom.xml?rev=807280r1=807279r2=807280view=diff == --- incubator/uima/sandbox/trunk/WhitespaceTokenizer/pom.xml (original) +++ incubator/uima/sandbox/trunk/WhitespaceTokenizer/pom.xml Mon Aug 24 15:13:52 2009 @@ -24,148 +24,54 @@ groupIdorg.apache.uima/groupId artifactIdWhitespaceTokenizer/artifactId packagingjar/packaging - version2.3.0-incubating-SNAPSHOT/version + version2.3.0-incubating-SNAPSHOT/version !-- this comment is a flag for changeVersion -- nameApache UIMA Java Annotator - WhitespaceTokenizer/name - urlhttp://incubator.apache.org/uima/url + + parent +groupIdorg.apache.uima/groupId +artifactIdSandboxDistr/artifactId +version2.3.0-incubating-SNAPSHOT/version !-- this comment is a flag for changeVersion -- +relativePath../uimaj/relativePath Wrong path? + /parent + dependencies dependency groupIdorg.apache.uima/groupId artifactIduimaj-core/artifactId - version2.3.0-incubating-SNAPSHOT/version - scopecompile/scope /dependency dependency groupIdorg.apache.uima/groupId artifactIduimaj-test-util/artifactId - version2.3.0-incubating-SNAPSHOT/version - scopecompile/scope /dependency dependency groupIdorg.apache.uima/groupId artifactIduimaj-component-test-util/artifactId - version2.3.0-incubating-SNAPSHOT/version - scopecompile/scope - /dependency - dependency - groupIdorg.apache.uima/groupId - artifactIdPearPackagingMavenPlugin/artifactId - version2.3.0-incubating-SNAPSHOT/version - scopeprovided/scope /dependency /dependencies + build finalNameuima-an-wst/finalName - resources - resource + +resources + resource +!-- test case for Tagger expects to find the desc on the classpath -- +directorydesc/directory + /resource + resource +directorysrc/main/resources/directory + /resource +/resources + + testResources + testResource directorydesc/directory - /resource - resource - directorysrc/main/resources/directory - /resource - /resources - plugins - plugin - groupIdorg.apache.maven.plugins/groupId - artifactIdmaven-compiler-plugin/artifactId - configuration - source1.5/source - target1.5/target - /configuration - /plugin - -plugin - groupIdorg.codehaus.mojo/groupId - artifactIdbuildnumber-maven-plugin/artifactId - executions - execution - phaseprocess-classes/phase - goals - goalcreate/goal - /goals - /execution - /executions - configuration - format{0,date,-MM-dd HH:mm:ss}/format - items - itemtimestamp/item - /items - /configuration - /plugin - - plugin - artifactIdmaven-antrun-plugin/artifactId - executions - execution - idCopyLicenseNoticeDisclaimer/id - phaseprocess-resources/phase - configuration - tasks - copy todir=src/main/resources/META-INF -
Re: svn commit: r807273 - /incubator/uima/sandbox/trunk/Tagger/pom.xml
sc...@apache.org wrote: Author: schor Date: Mon Aug 24 15:07:55 2009 New Revision: 807273 URL: http://svn.apache.org/viewvc?rev=807273view=rev Log: [UIMA-1501] Modified: incubator/uima/sandbox/trunk/Tagger/pom.xml Modified: incubator/uima/sandbox/trunk/Tagger/pom.xml URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/Tagger/pom.xml?rev=807273r1=807272r2=807273view=diff == --- incubator/uima/sandbox/trunk/Tagger/pom.xml (original) +++ incubator/uima/sandbox/trunk/Tagger/pom.xml Mon Aug 24 15:07:55 2009 @@ -24,201 +24,76 @@ groupIdorg.apache.uima/groupId artifactIdTagger/artifactId packagingjar/packaging - version2.3.0-incubating-SNAPSHOT/version + version2.3.0-incubating-SNAPSHOT/version !-- this comment is a flag for changeVersion -- nameApache UIMA Sandbox -- HMM Tagger/name - urlhttp://incubator.apache.org/uima/url + + parent +groupIdorg.apache.uima/groupId +artifactIdSandboxDistr/artifactId +version2.3.0-incubating-SNAPSHOT/version !-- this comment is a flag for changeVersion -- +relativePath../uimaj/relativePath Wrong path here too? + /parent + dependencies dependency groupIdorg.apache.uima/groupId artifactIduimaj-core/artifactId - version2.3.0-incubating-SNAPSHOT/version - scopecompile/scope /dependency dependency groupIdorg.apache.uima/groupId artifactIduimaj-test-util/artifactId - version2.3.0-incubating-SNAPSHOT/version - scopecompile/scope /dependency dependency groupIdorg.apache.uima/groupId artifactIduimaj-component-test-util/artifactId - version2.3.0-incubating-SNAPSHOT/version - scopecompile/scope /dependency + dependency groupIdorg.apache.uima/groupId artifactIdWhitespaceTokenizer/artifactId version2.3.0-incubating-SNAPSHOT/version - scopecompile/scope + scopetest/scope /dependency -dependency -groupIdorg.apache.uima/groupId -artifactIdPearPackagingMavenPlugin/artifactId -version2.3.0-incubating-SNAPSHOT/version -scopeprovided/scope -/dependency - /dependencies - build - finalNameuima-an-tagger/finalName - resources -resource -directorydesc/directory -/resource -resource -directoryresources/directory -/resource - /resources - - plugins - plugin - groupIdorg.apache.maven.plugins/groupId - artifactIdmaven-compiler-plugin/artifactId - configuration - source1.5/source - target1.5/target - /configuration - /plugin - plugin - groupIdorg.apache.maven.plugins/groupId - artifactIdmaven-surefire-plugin/artifactId - configuration - argLine-Xmx500M/argLine - /configuration - /plugin -plugin - groupIdorg.codehaus.mojo/groupId - artifactIdbuildnumber-maven-plugin/artifactId - executions - execution - phaseprocess-classes/phase - goals - goalcreate/goal - /goals - /execution - /executions - configuration - format{0,date,-MM-dd HH:mm:ss}/format - items - itemtimestamp/item - /items - /configuration - /plugin - - plugin - artifactIdmaven-antrun-plugin/artifactId - executions - execution - idCopyLicenseNoticeDisclaimer/id - phaseprocess-resources/phase - configuration - tasks
Re: svn commit: r807280 - /incubator/uima/sandbox/trunk/WhitespaceTokenizer/pom.xml
Thilo Goetz wrote: sc...@apache.org wrote: Author: schor Date: Mon Aug 24 15:13:52 2009 New Revision: 807280 URL: http://svn.apache.org/viewvc?rev=807280view=rev Log: [UIMA-1501] Modified: incubator/uima/sandbox/trunk/WhitespaceTokenizer/pom.xml Modified: incubator/uima/sandbox/trunk/WhitespaceTokenizer/pom.xml URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/WhitespaceTokenizer/pom.xml?rev=807280r1=807279r2=807280view=diff == --- incubator/uima/sandbox/trunk/WhitespaceTokenizer/pom.xml (original) +++ incubator/uima/sandbox/trunk/WhitespaceTokenizer/pom.xml Mon Aug 24 15:13:52 2009 @@ -24,148 +24,54 @@ groupIdorg.apache.uima/groupId artifactIdWhitespaceTokenizer/artifactId packagingjar/packaging -version2.3.0-incubating-SNAPSHOT/version +version2.3.0-incubating-SNAPSHOT/version !-- this comment is a flag for changeVersion -- nameApache UIMA Java Annotator - WhitespaceTokenizer/name -urlhttp://incubator.apache.org/uima/url + + parent +groupIdorg.apache.uima/groupId +artifactIdSandboxDistr/artifactId +version2.3.0-incubating-SNAPSHOT/version !-- this comment is a flag for changeVersion -- +relativePath../uimaj/relativePath Wrong path? Yes : will fix... -M + /parent + dependencies dependency groupIdorg.apache.uima/groupId artifactIduimaj-core/artifactId -version2.3.0-incubating-SNAPSHOT/version -scopecompile/scope /dependency dependency groupIdorg.apache.uima/groupId artifactIduimaj-test-util/artifactId -version2.3.0-incubating-SNAPSHOT/version -scopecompile/scope /dependency dependency groupIdorg.apache.uima/groupId artifactIduimaj-component-test-util/artifactId -version2.3.0-incubating-SNAPSHOT/version -scopecompile/scope -/dependency -dependency -groupIdorg.apache.uima/groupId -artifactIdPearPackagingMavenPlugin/artifactId -version2.3.0-incubating-SNAPSHOT/version -scopeprovided/scope /dependency /dependencies + build finalNameuima-an-wst/finalName -resources -resource + +resources + resource +!-- test case for Tagger expects to find the desc on the classpath -- +directorydesc/directory + /resource + resource +directorysrc/main/resources/directory + /resource +/resources + +testResources +testResource directorydesc/directory -/resource -resource -directorysrc/main/resources/directory -/resource -/resources -plugins -plugin -groupIdorg.apache.maven.plugins/groupId -artifactIdmaven-compiler-plugin/artifactId -configuration -source1.5/source -target1.5/target -/configuration -/plugin - - plugin -groupIdorg.codehaus.mojo/groupId -artifactIdbuildnumber-maven-plugin/artifactId -executions - execution -phaseprocess-classes/phase -goals - goalcreate/goal -/goals - /execution -/executions -configuration - format{0,date,-MM-dd HH:mm:ss}/format - items -itemtimestamp/item - /items -/configuration -/plugin - -plugin -artifactIdmaven-antrun-plugin/artifactId -executions -execution - idCopyLicenseNoticeDisclaimer/id -phaseprocess-resources/phase -configuration -tasks -copy todir=src/main/resources/META-INF -
Re: svn commit: r807273 - /incubator/uima/sandbox/trunk/Tagger/pom.xml
Thilo Goetz wrote: sc...@apache.org wrote: Author: schor Date: Mon Aug 24 15:07:55 2009 New Revision: 807273 URL: http://svn.apache.org/viewvc?rev=807273view=rev Log: [UIMA-1501] Modified: incubator/uima/sandbox/trunk/Tagger/pom.xml Modified: incubator/uima/sandbox/trunk/Tagger/pom.xml URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/Tagger/pom.xml?rev=807273r1=807272r2=807273view=diff == --- incubator/uima/sandbox/trunk/Tagger/pom.xml (original) +++ incubator/uima/sandbox/trunk/Tagger/pom.xml Mon Aug 24 15:07:55 2009 @@ -24,201 +24,76 @@ groupIdorg.apache.uima/groupId artifactIdTagger/artifactId packagingjar/packaging -version2.3.0-incubating-SNAPSHOT/version +version2.3.0-incubating-SNAPSHOT/version !-- this comment is a flag for changeVersion -- nameApache UIMA Sandbox -- HMM Tagger/name -urlhttp://incubator.apache.org/uima/url + + parent +groupIdorg.apache.uima/groupId +artifactIdSandboxDistr/artifactId +version2.3.0-incubating-SNAPSHOT/version !-- this comment is a flag for changeVersion -- +relativePath../uimaj/relativePath Wrong path here too? Right ... is it one free beer per instance? Thanks! will fix this too.. -Marshall + /parent + dependencies dependency groupIdorg.apache.uima/groupId artifactIduimaj-core/artifactId -version2.3.0-incubating-SNAPSHOT/version -scopecompile/scope /dependency dependency groupIdorg.apache.uima/groupId artifactIduimaj-test-util/artifactId -version2.3.0-incubating-SNAPSHOT/version -scopecompile/scope /dependency dependency groupIdorg.apache.uima/groupId artifactIduimaj-component-test-util/artifactId -version2.3.0-incubating-SNAPSHOT/version -scopecompile/scope /dependency + dependency groupIdorg.apache.uima/groupId artifactIdWhitespaceTokenizer/artifactId version2.3.0-incubating-SNAPSHOT/version -scopecompile/scope + scopetest/scope /dependency -dependency -groupIdorg.apache.uima/groupId -artifactIdPearPackagingMavenPlugin/artifactId -version2.3.0-incubating-SNAPSHOT/version -scopeprovided/scope -/dependency - /dependencies -build -finalNameuima-an-tagger/finalName -resources -resource -directorydesc/directory -/resource -resource -directoryresources/directory -/resource -/resources - -plugins -plugin -groupIdorg.apache.maven.plugins/groupId -artifactIdmaven-compiler-plugin/artifactId -configuration -source1.5/source -target1.5/target -/configuration -/plugin -plugin -groupIdorg.apache.maven.plugins/groupId -artifactIdmaven-surefire-plugin/artifactId -configuration -argLine-Xmx500M/argLine -/configuration -/plugin - plugin -groupIdorg.codehaus.mojo/groupId -artifactIdbuildnumber-maven-plugin/artifactId -executions - execution -phaseprocess-classes/phase -goals - goalcreate/goal -/goals - /execution -/executions -configuration - format{0,date,-MM-dd HH:mm:ss}/format - items -itemtimestamp/item - /items -/configuration -/plugin - -plugin -artifactIdmaven-antrun-plugin/artifactId -executions -execution - idCopyLicenseNoticeDisclaimer/id -phaseprocess-resources/phase -configuration -
Re: Can we update the version of Tika in the TikaAnnotator to 0.4
Hi, On Sun, Aug 23, 2009 at 1:08 PM, Marshall Schorm...@schor.com wrote: 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. The main Tika APIs are pretty much the same in 0.4 than they were in 0.2, so no major client changes should be needed. The 0.4 release just has more and better file format support than 0.2. :-) BR, Jukka Zitting
Re: Can we update the version of Tika in the TikaAnnotator to 0.4
Jukka Zitting wrote: Hi, On Sun, Aug 23, 2009 at 1:08 PM, Marshall Schorm...@schor.com wrote: 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. The main Tika APIs are pretty much the same in 0.4 than they were in 0.2, so no major client changes should be needed. The 0.4 release just has more and better file format support than 0.2. :-) OK, replacing the dependency on org.apache.tika:tika:0.2 with org.apache.tika:tika-core:0.4 resulted in successful building. However, I notice that there are no test cases for this annotator, and also that there is another tika artifact at the 0.4 level, called tika-parsers. Is this other artifact needed? If so, how does it need to be incorporated? Thanks. -Marshall BR, Jukka Zitting