[
https://issues.apache.org/jira/browse/UIMA-4554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Zhu updated UIMA-4554:
----------------------------
Attachment: UIMA-4554 patch 2015-08-15 - uimaj-jet-expander.patch
Hi, Marshall:
Thanks for the instruction. Indeed I didn't realize those two Java files were
generated from templates themselves. I studied the uimaj-jet-expander code, and
got it working. I found a minor bug with it too. Basically, when creating the
output path, it was using backslash instead of File.separator. It works fine if
we run it on Windows OS. I happened to be using MacOS and it was a problem for
me.
I've attached the patch that should fix it. Please take a look and check it in
for me if you find it ok.
I will attach the new fix for UIMA-4554 separately and make comments later.
Thanks.
James
> JCasGen generating rawType warnings for fsGenerator
> ---------------------------------------------------
>
> Key: UIMA-4554
> URL: https://issues.apache.org/jira/browse/UIMA-4554
> Project: UIMA
> Issue Type: Bug
> Components: Tools
> Affects Versions: 2.8.1SDK
> Reporter: Marshall Schor
> Priority: Minor
> Fix For: 2.8.2SDK
>
> Attachments: UIMA-4554 patch 2015-08-15 - uimaj-jet-expander.patch,
> uimaj-tools-UIMA-4554-2015-08-11.patch
>
>
> JCasGen generate references to FsGenerator which was changed in 2.8.0 to have
> generic type information. So the resulting generated code causes warnings
> about raw types being used. Workaround - add a
> @SuppressWarnings("rawtypes"), but a better thing would be to add the proper
> generic arguments.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)