You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Guillaume Vauvert (JIRA)" <de...@uima.apache.org> on 2012/05/31 10:30:26 UTC
[jira] [Created] (UIMA-2415) Resources in a jar
Guillaume Vauvert created UIMA-2415:
---------------------------------------
Summary: Resources in a jar
Key: UIMA-2415
URL: https://issues.apache.org/jira/browse/UIMA-2415
Project: UIMA
Issue Type: Improvement
Components: TextMarker
Reporter: Guillaume Vauvert
Priority: Minor
Actually, resources are loaded from the filesystem.
I need resources to be loaded from a jar.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (UIMA-2415) Resources loaded from a jar
Posted by "Peter Klügl (JIRA)" <de...@uima.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-2415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Klügl resolved UIMA-2415.
-------------------------------
Resolution: Fixed
added (adapted) changes provided in attached files: loading from input streams
> Resources loaded from a jar
> ---------------------------
>
> Key: UIMA-2415
> URL: https://issues.apache.org/jira/browse/UIMA-2415
> Project: UIMA
> Issue Type: Improvement
> Components: TextMarker
> Reporter: Guillaume Vauvert
> Assignee: Peter Klügl
> Priority: Minor
> Attachments: DefaultEngineLoaderNEW.java, DefaultEngineLoaderOLD.java, TextMarkerEngineLoaderNEW.java, TextMarkerEngineLoaderOLD.java, TextMarkerEngineNEW.java, TextMarkerEngineOLD.java, uniwue-textmarker.diff
>
>
> Actually, resources are loaded from the filesystem.
> I need resources to be loaded from a jar.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (UIMA-2415) Resources loaded from a jar
Posted by "Peter Klügl (JIRA)" <de...@uima.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-2415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13407910#comment-13407910 ]
Peter Klügl commented on UIMA-2415:
-----------------------------------
Can you please verify that the changes work for you?
> Resources loaded from a jar
> ---------------------------
>
> Key: UIMA-2415
> URL: https://issues.apache.org/jira/browse/UIMA-2415
> Project: UIMA
> Issue Type: Improvement
> Components: TextMarker
> Reporter: Guillaume Vauvert
> Assignee: Peter Klügl
> Priority: Minor
> Attachments: DefaultEngineLoaderNEW.java, DefaultEngineLoaderOLD.java, TextMarkerEngineLoaderNEW.java, TextMarkerEngineLoaderOLD.java, TextMarkerEngineNEW.java, TextMarkerEngineOLD.java, uniwue-textmarker.diff
>
>
> Actually, resources are loaded from the filesystem.
> I need resources to be loaded from a jar.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (UIMA-2415) Resources loaded from a jar
Posted by "Peter Klügl (JIRA)" <de...@uima.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-2415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Klügl reassigned UIMA-2415:
---------------------------------
Assignee: Peter Klügl
> Resources loaded from a jar
> ---------------------------
>
> Key: UIMA-2415
> URL: https://issues.apache.org/jira/browse/UIMA-2415
> Project: UIMA
> Issue Type: Improvement
> Components: TextMarker
> Reporter: Guillaume Vauvert
> Assignee: Peter Klügl
> Priority: Minor
>
> Actually, resources are loaded from the filesystem.
> I need resources to be loaded from a jar.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (UIMA-2415) Resources loaded from a jar
Posted by "Peter Klügl (JIRA)" <de...@uima.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-2415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13286412#comment-13286412 ]
Peter Klügl commented on UIMA-2415:
-----------------------------------
Your patch refers of course to the old sourceforge version of TextMarker. The new implementation introduced many changes in the implementation, e.g., all namespace were adapted. I will integrate your proposed improvement, but it can take a while till I find the time.
> Resources loaded from a jar
> ---------------------------
>
> Key: UIMA-2415
> URL: https://issues.apache.org/jira/browse/UIMA-2415
> Project: UIMA
> Issue Type: Improvement
> Components: TextMarker
> Reporter: Guillaume Vauvert
> Assignee: Peter Klügl
> Priority: Minor
> Attachments: DefaultEngineLoaderNEW.java, DefaultEngineLoaderOLD.java, TextMarkerEngineLoaderNEW.java, TextMarkerEngineLoaderOLD.java, TextMarkerEngineNEW.java, TextMarkerEngineOLD.java, uniwue-textmarker.diff
>
>
> Actually, resources are loaded from the filesystem.
> I need resources to be loaded from a jar.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Comment Edited] (UIMA-2415) Resources loaded from a jar
Posted by "Guillaume Vauvert (JIRA)" <de...@uima.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-2415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13286408#comment-13286408 ]
Guillaume Vauvert edited comment on UIMA-2415 at 5/31/12 8:42 AM:
------------------------------------------------------------------
When using a special feature (perhaps de.uniwue.tm.textmarker.kernel.type.TextMarkerColoring or style or styleMap ?), the process needs to write something in the filesystem. In this case, the patch does not work.
was (Author: gvauvert):
When using a special feature (perhaps de.uniwue.tm.textmarker.kernel.type.TextMarkerColoring ?), the process needs to write something in the filesystem. In this case, the patch does not work.
> Resources loaded from a jar
> ---------------------------
>
> Key: UIMA-2415
> URL: https://issues.apache.org/jira/browse/UIMA-2415
> Project: UIMA
> Issue Type: Improvement
> Components: TextMarker
> Reporter: Guillaume Vauvert
> Assignee: Peter Klügl
> Priority: Minor
> Attachments: DefaultEngineLoaderNEW.java, DefaultEngineLoaderOLD.java, TextMarkerEngineLoaderNEW.java, TextMarkerEngineLoaderOLD.java, TextMarkerEngineNEW.java, TextMarkerEngineOLD.java, uniwue-textmarker.diff
>
>
> Actually, resources are loaded from the filesystem.
> I need resources to be loaded from a jar.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (UIMA-2415) Resources loaded from a jar
Posted by "Guillaume Vauvert (JIRA)" <de...@uima.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-2415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Vauvert updated UIMA-2415:
------------------------------------
Attachment: uniwue-textmarker.diff
TextMarkerEngineOLD.java
TextMarkerEngineNEW.java
TextMarkerEngineLoaderOLD.java
TextMarkerEngineLoaderNEW.java
DefaultEngineLoaderOLD.java
DefaultEngineLoaderNEW.java
This patch allow the resources to be loaded in a jar :
- as a diff file applied from the root of an old version of the projet ; I am not sure that it works today ;
- as the set of the three modified files, OLD and NEW versions
> Resources loaded from a jar
> ---------------------------
>
> Key: UIMA-2415
> URL: https://issues.apache.org/jira/browse/UIMA-2415
> Project: UIMA
> Issue Type: Improvement
> Components: TextMarker
> Reporter: Guillaume Vauvert
> Assignee: Peter Klügl
> Priority: Minor
> Attachments: DefaultEngineLoaderNEW.java, DefaultEngineLoaderOLD.java, TextMarkerEngineLoaderNEW.java, TextMarkerEngineLoaderOLD.java, TextMarkerEngineNEW.java, TextMarkerEngineOLD.java, uniwue-textmarker.diff
>
>
> Actually, resources are loaded from the filesystem.
> I need resources to be loaded from a jar.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (UIMA-2415) Resources loaded from a jar
Posted by "Peter Klügl (JIRA)" <de...@uima.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-2415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13407911#comment-13407911 ]
Peter Klügl commented on UIMA-2415:
-----------------------------------
...and if they do close the issue.
> Resources loaded from a jar
> ---------------------------
>
> Key: UIMA-2415
> URL: https://issues.apache.org/jira/browse/UIMA-2415
> Project: UIMA
> Issue Type: Improvement
> Components: TextMarker
> Reporter: Guillaume Vauvert
> Assignee: Peter Klügl
> Priority: Minor
> Attachments: DefaultEngineLoaderNEW.java, DefaultEngineLoaderOLD.java, TextMarkerEngineLoaderNEW.java, TextMarkerEngineLoaderOLD.java, TextMarkerEngineNEW.java, TextMarkerEngineOLD.java, uniwue-textmarker.diff
>
>
> Actually, resources are loaded from the filesystem.
> I need resources to be loaded from a jar.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (UIMA-2415) Resources loaded from a jar
Posted by "Guillaume Vauvert (JIRA)" <de...@uima.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-2415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Vauvert updated UIMA-2415:
------------------------------------
Summary: Resources loaded from a jar (was: Resources in a jar)
> Resources loaded from a jar
> ---------------------------
>
> Key: UIMA-2415
> URL: https://issues.apache.org/jira/browse/UIMA-2415
> Project: UIMA
> Issue Type: Improvement
> Components: TextMarker
> Reporter: Guillaume Vauvert
> Priority: Minor
>
> Actually, resources are loaded from the filesystem.
> I need resources to be loaded from a jar.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (UIMA-2415) Resources loaded from a jar
Posted by "Guillaume Vauvert (JIRA)" <de...@uima.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-2415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13286408#comment-13286408 ]
Guillaume Vauvert commented on UIMA-2415:
-----------------------------------------
When using a special feature (perhaps de.uniwue.tm.textmarker.kernel.type.TextMarkerColoring ?), the process needs to write something in the filesystem. In this case, the patch does not work.
> Resources loaded from a jar
> ---------------------------
>
> Key: UIMA-2415
> URL: https://issues.apache.org/jira/browse/UIMA-2415
> Project: UIMA
> Issue Type: Improvement
> Components: TextMarker
> Reporter: Guillaume Vauvert
> Assignee: Peter Klügl
> Priority: Minor
> Attachments: DefaultEngineLoaderNEW.java, DefaultEngineLoaderOLD.java, TextMarkerEngineLoaderNEW.java, TextMarkerEngineLoaderOLD.java, TextMarkerEngineNEW.java, TextMarkerEngineOLD.java, uniwue-textmarker.diff
>
>
> Actually, resources are loaded from the filesystem.
> I need resources to be loaded from a jar.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira