You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ctakes.apache.org by "Masanz, James J." <Ma...@mayo.edu> on 2013/06/14 20:50:06 UTC
best practices
Seems like this (telling people to use FileLocator.java), together with some of the reminders you've sent in the last month to dev@, would make good additions to a Best (cTAKES) Practices page.
Next week I'll go ahead and create such a page on our Wiki [1], and link it into the left nav bar on [2], unless there are objections.
[1] https://cwiki.apache.org/confluence/display/CTAKES/
[2] http://ctakes.apache.org/
-- James
-----Original Message-----
From: notifications-return-634-Masanz.James=mayo.edu@ctakes.apache.org [mailto:notifications-return-634-Masanz.James=mayo.edu@ctakes.apache.org] On Behalf Of Pei Chen (JIRA)
Sent: Friday, June 14, 2013 1:42 PM
To: ctakes-notifications@incubator.apache.org
Subject: [jira] [Created] (CTAKES-210) Allow loading of Resources from InputStream instead of physical File
Pei Chen created CTAKES-210:
-------------------------------
Summary: Allow loading of Resources from InputStream instead of physical File
Key: CTAKES-210
URL: https://issues.apache.org/jira/browse/CTAKES-210
Project: cTAKES
Issue Type: Improvement
Components: ctakes-core
Affects Versions: 3.0-incubating
Reporter: Pei Chen
Priority: Minor
Fix For: 3.1
File or Url.getRawPath() became problematic if they are read in from the jars from the classpath and which couldn't resolve to a physical File.
a. Suggestion: Wherever possible, replace loading of resouces via java.io.File with InputStream instead. . We can add a new method in the FileLocator util and deprecate the old File method.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
RE: best practices
Posted by "Masanz, James J." <Ma...@mayo.edu>.
Best Practices page created:
https://cwiki.apache.org/confluence/display/CTAKES/Best+Practices
Link called "Best Practices" created on the left pane of:
http://ctakes.apache.org/index.html
-----Original Message-----
From: ksarma@gmail.com [mailto:ksarma@gmail.com] On Behalf Of Karthik Sarma
Sent: Friday, June 14, 2013 2:32 PM
To: dev@ctakes.apache.org
Subject: Re: best practices
+1
--
Karthik Sarma
UCLA Medical Scientist Training Program Class of 20??
Member, UCLA Medical Imaging & Informatics Lab
Member, CA Delegation to the House of Delegates of the American Medical
Association
ksarma@ksarma.com
gchat: ksarma@gmail.com
linkedin: www.linkedin.com/in/ksarma
On Fri, Jun 14, 2013 at 1:50 PM, Masanz, James J. <Ma...@mayo.edu>wrote:
> Seems like this (telling people to use FileLocator.java), together with
> some of the reminders you've sent in the last month to dev@, would make
> good additions to a Best (cTAKES) Practices page.
>
> Next week I'll go ahead and create such a page on our Wiki [1], and link
> it into the left nav bar on [2], unless there are objections.
>
> [1] https://cwiki.apache.org/confluence/display/CTAKES/
> [2] http://ctakes.apache.org/
>
> -- James
>
>
> -----Original Message-----
> From: notifications-return-634-Masanz.James=mayo.edu@ctakes.apache.org[mailto:
> notifications-return-634-Masanz.James=mayo.edu@ctakes.apache.org] On
> Behalf Of Pei Chen (JIRA)
> Sent: Friday, June 14, 2013 1:42 PM
> To: ctakes-notifications@incubator.apache.org
> Subject: [jira] [Created] (CTAKES-210) Allow loading of Resources from
> InputStream instead of physical File
>
> Pei Chen created CTAKES-210:
> -------------------------------
>
> Summary: Allow loading of Resources from InputStream instead
> of physical File
> Key: CTAKES-210
> URL: https://issues.apache.org/jira/browse/CTAKES-210
> Project: cTAKES
> Issue Type: Improvement
> Components: ctakes-core
> Affects Versions: 3.0-incubating
> Reporter: Pei Chen
> Priority: Minor
> Fix For: 3.1
>
>
> File or Url.getRawPath() became problematic if they are read in from the
> jars from the classpath and which couldn't resolve to a physical File.
>
> a. Suggestion: Wherever possible, replace loading of resouces via
> java.io.File with InputStream instead. . We can add a new method in the
> FileLocator util and deprecate the old File method.
>
>
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA
> administrators
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
Re: best practices
Posted by Karthik Sarma <ks...@ksarma.com>.
+1
--
Karthik Sarma
UCLA Medical Scientist Training Program Class of 20??
Member, UCLA Medical Imaging & Informatics Lab
Member, CA Delegation to the House of Delegates of the American Medical
Association
ksarma@ksarma.com
gchat: ksarma@gmail.com
linkedin: www.linkedin.com/in/ksarma
On Fri, Jun 14, 2013 at 1:50 PM, Masanz, James J. <Ma...@mayo.edu>wrote:
> Seems like this (telling people to use FileLocator.java), together with
> some of the reminders you've sent in the last month to dev@, would make
> good additions to a Best (cTAKES) Practices page.
>
> Next week I'll go ahead and create such a page on our Wiki [1], and link
> it into the left nav bar on [2], unless there are objections.
>
> [1] https://cwiki.apache.org/confluence/display/CTAKES/
> [2] http://ctakes.apache.org/
>
> -- James
>
>
> -----Original Message-----
> From: notifications-return-634-Masanz.James=mayo.edu@ctakes.apache.org[mailto:
> notifications-return-634-Masanz.James=mayo.edu@ctakes.apache.org] On
> Behalf Of Pei Chen (JIRA)
> Sent: Friday, June 14, 2013 1:42 PM
> To: ctakes-notifications@incubator.apache.org
> Subject: [jira] [Created] (CTAKES-210) Allow loading of Resources from
> InputStream instead of physical File
>
> Pei Chen created CTAKES-210:
> -------------------------------
>
> Summary: Allow loading of Resources from InputStream instead
> of physical File
> Key: CTAKES-210
> URL: https://issues.apache.org/jira/browse/CTAKES-210
> Project: cTAKES
> Issue Type: Improvement
> Components: ctakes-core
> Affects Versions: 3.0-incubating
> Reporter: Pei Chen
> Priority: Minor
> Fix For: 3.1
>
>
> File or Url.getRawPath() became problematic if they are read in from the
> jars from the classpath and which couldn't resolve to a physical File.
>
> a. Suggestion: Wherever possible, replace loading of resouces via
> java.io.File with InputStream instead. . We can add a new method in the
> FileLocator util and deprecate the old File method.
>
>
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA
> administrators
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
RE: best practices
Posted by "Finan, Sean" <Se...@childrens.harvard.edu>.
+1 for BP
-----Original Message-----
From: Chen, Pei [mailto:Pei.Chen@childrens.harvard.edu]
Sent: Friday, June 14, 2013 2:59 PM
To: dev@ctakes.apache.org
Subject: RE: best practices
+1 for a BP reference page.
Note: I'll try and update the other projects for consistency's sake next week or so.
Apologies in advanced if I accidently broke someone's runtime in the trunk build (as I deleted descriptors that seemed redundant or unused.)...
--Pei
> -----Original Message-----
> From: Masanz, James J. [mailto:Masanz.James@mayo.edu]
> Sent: Friday, June 14, 2013 2:51 PM
> To: dev@ctakes.apache.org
> Subject: best practices
>
> Seems like this (telling people to use FileLocator.java), together
> with some of the reminders you've sent in the last month to dev@,
> would make good additions to a Best (cTAKES) Practices page.
>
> Next week I'll go ahead and create such a page on our Wiki [1], and
> link it into the left nav bar on [2], unless there are objections.
>
> [1] https://cwiki.apache.org/confluence/display/CTAKES/
> [2] http://ctakes.apache.org/
>
> -- James
>
>
> -----Original Message-----
> From: notifications-return-634-
> Masanz.James=mayo.edu@ctakes.apache.org [mailto:notifications-return-
> 634-Masanz.James=mayo.edu@ctakes.apache.org] On Behalf Of Pei Chen
> (JIRA)
> Sent: Friday, June 14, 2013 1:42 PM
> To: ctakes-notifications@incubator.apache.org
> Subject: [jira] [Created] (CTAKES-210) Allow loading of Resources from
> InputStream instead of physical File
>
> Pei Chen created CTAKES-210:
> -------------------------------
>
> Summary: Allow loading of Resources from InputStream
> instead of physical File
> Key: CTAKES-210
> URL: https://issues.apache.org/jira/browse/CTAKES-210
> Project: cTAKES
> Issue Type: Improvement
> Components: ctakes-core
> Affects Versions: 3.0-incubating
> Reporter: Pei Chen
> Priority: Minor
> Fix For: 3.1
>
>
> File or Url.getRawPath() became problematic if they are read in from
> the jars from the classpath and which couldn't resolve to a physical File.
>
> a. Suggestion: Wherever possible, replace loading of resouces via
> java.io.File with InputStream instead. . We can add a new method in
> the FileLocator util and deprecate the old File method.
>
>
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA
> administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
RE: best practices
Posted by "Chen, Pei" <Pe...@childrens.harvard.edu>.
+1 for a BP reference page.
Note: I'll try and update the other projects for consistency's sake next week or so.
Apologies in advanced if I accidently broke someone's runtime in the trunk build (as I deleted descriptors that seemed redundant or unused.)...
--Pei
> -----Original Message-----
> From: Masanz, James J. [mailto:Masanz.James@mayo.edu]
> Sent: Friday, June 14, 2013 2:51 PM
> To: dev@ctakes.apache.org
> Subject: best practices
>
> Seems like this (telling people to use FileLocator.java), together with some of
> the reminders you've sent in the last month to dev@, would make good
> additions to a Best (cTAKES) Practices page.
>
> Next week I'll go ahead and create such a page on our Wiki [1], and link it into
> the left nav bar on [2], unless there are objections.
>
> [1] https://cwiki.apache.org/confluence/display/CTAKES/
> [2] http://ctakes.apache.org/
>
> -- James
>
>
> -----Original Message-----
> From: notifications-return-634-
> Masanz.James=mayo.edu@ctakes.apache.org [mailto:notifications-return-
> 634-Masanz.James=mayo.edu@ctakes.apache.org] On Behalf Of Pei Chen
> (JIRA)
> Sent: Friday, June 14, 2013 1:42 PM
> To: ctakes-notifications@incubator.apache.org
> Subject: [jira] [Created] (CTAKES-210) Allow loading of Resources from
> InputStream instead of physical File
>
> Pei Chen created CTAKES-210:
> -------------------------------
>
> Summary: Allow loading of Resources from InputStream instead of
> physical File
> Key: CTAKES-210
> URL: https://issues.apache.org/jira/browse/CTAKES-210
> Project: cTAKES
> Issue Type: Improvement
> Components: ctakes-core
> Affects Versions: 3.0-incubating
> Reporter: Pei Chen
> Priority: Minor
> Fix For: 3.1
>
>
> File or Url.getRawPath() became problematic if they are read in from the jars
> from the classpath and which couldn't resolve to a physical File.
>
> a. Suggestion: Wherever possible, replace loading of resouces via
> java.io.File with InputStream instead. . We can add a new method in the
> FileLocator util and deprecate the old File method.
>
>
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA administrators
> For more information on JIRA, see: http://www.atlassian.com/software/jira