ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r918653 - in /websites/staging/ctakes/trunk: cgi-bin/ content/ content/developer-faqs.html
Date Thu, 07 Aug 2014 15:57:27 GMT
Author: buildbot
Date: Thu Aug  7 15:57:27 2014
New Revision: 918653

Staging update by buildbot for ctakes

    websites/staging/ctakes/trunk/cgi-bin/   (props changed)
    websites/staging/ctakes/trunk/content/   (props changed)

Propchange: websites/staging/ctakes/trunk/cgi-bin/
--- cms:source-revision (original)
+++ cms:source-revision Thu Aug  7 15:57:27 2014
@@ -1 +1 @@

Propchange: websites/staging/ctakes/trunk/content/
--- cms:source-revision (original)
+++ cms:source-revision Thu Aug  7 15:57:27 2014
@@ -1 +1 @@

Modified: websites/staging/ctakes/trunk/content/developer-faqs.html
--- websites/staging/ctakes/trunk/content/developer-faqs.html (original)
+++ websites/staging/ctakes/trunk/content/developer-faqs.html Thu Aug  7 15:57:27 2014
@@ -87,6 +87,7 @@
 <li><a href="#how-do-i-discuss-questions-about-ctakes-with-people-that-know-more-than-i-do">How
do I discuss questions about cTAKES with people that know more than I do?</a></li>
 <li><a href="#how-do-i-report-problems-i-see-while-using-ctakes">How do I report
problems I see while using cTAKES?</a></li>
 <li><a href="#how-does-the-ctakes-project-manage-the-trunk-tags-and-branches-in-svn">How
does the cTAKES project manage the trunk, tags, and branches in SVN?</a></li>
+<li><a href="#how-do-i-work-around-issues-with-resource-directories-in-eclipse-and-m2e">How
do I work around issues with resource directories in Eclipse and m2e?</a></li>
 <h3 id="how-do-i-discuss-questions-about-ctakes-with-people-that-know-more-than-i-do">How
do I discuss questions about cTAKES with people that know more than I do?</h3>
@@ -102,6 +103,24 @@ You can also just look through or search
 <li>Branches - cTAKES uses SVN branches for major releases and one-off attempts at
major functions. One-off attempts may or may not be merged back into the trunk in the future.
Checkout from a branch only if you know you are part of that feature. </li>
 <li>Tags - cTAKES uses SVN tags to delineate release candidates, betas, major releases
and any other stable points in time off of the trunk. You should only checkout from a tag
as the release manager or for bug fixes going into patch releases.</li>
+<h3 id="how-do-i-work-around-issues-with-resource-directories-in-eclipse-and-m2e">How
do I work around issues with resource directories in Eclipse and m2e?</h3>
+<p>There is <a href="https://issues.sonatype.org/browse/MNGECLIPSE-823">a known
issue</a> with m2e blowing away unpacked resources directories during the build process.

+This can be very frustrating, as it will lead to Eclipse runtime using resources from 
+the jar files which will dramatically slow the dictionary lookup. 
+If you notice this slowness, check your 
+ctakes-dictionary-res/target/classes/ directory -- if you are missing the
+org/apache/ctakes/dictionary/lookup/umls2011ab/ path then you  are a victim of this issue.</p>
+<p>To workaround, we will run mvn clean compile on the cTAKES root project, then run
mvn project update on all cTAKES projects.</p>
+<p>Within eclipse do the following:</p>
+<li>Open the run configuration window (Run-&gt;Run configurations...)</li>
+<li>Select "Maven Build" in the left pane, then click the "New launch configuration"
+<li>For the "Base directory" text box use the "Browse Workspace" option to select the
root cTAKES project (just called "ctakes").</li>
+<li>In the "Goals" text box enter "clean compile" (without the quotes), save, and run.
This may take a while, because it will re-unpack the dictionary jars as well as re-compiling
all of the source.
+This will also clean the generated (type system) sources and not regenerate them, leaving
many compiler errors.</li>
+<li>To regenerate type system sources, select the cTAKES root project in the package
explorer window and select Maven-&gt;Update project in the context (right-click) window.
+This should bring up a window where all cTAKES modules are selected for updating. Press OK
and all source will be generated, and the compiler errors should disappear.</li>
  <div id="footera">

View raw message