[
https://issues.apache.org/jira/browse/CTAKES-65?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steven Bethard updated CTAKES-65:
---------------------------------
Attachment: ctakes-jcasgen-maven-plugin.diff
I have a much simpler solution now. It turns out you can do a little work
within the Maven plugin itself
(http://wiki.eclipse.org/M2E_compatible_maven_plugins), and then you don't need
to install any m2e connector for Eclipse. I've done this for the 0.9.3 version
of the jcasgen-maven-plugin.
So the new instructions are:
(1) Apply the patch to cTAKES trunk:
$ svn patch ctakes-jcasgen-maven-plugin.diff
(2) Open Eclipse and refresh your cTAKES checkout. You should see a bunch of
errors in the Problems view that look like "Project configuration is not
up-to-date with pom.xml. Run Maven->Update Project or use Quick Fix."
(3) Update the Maven projects as suggested.
That's it - the errors should all be gone now.
Some things to try to make sure the fix worked:
(1) Check that JCasGen is no longer be constantly running in the background. Go
to the Progress view and make sure that eventually all jobs have stopped.
(2) Modify a few non-type-system files and and make sure (in the Progress view
again) that JCasGen does not run.
(3) Modify a type system file, and make sure that JCasGen *does* run. An easy
way to check this is to change an annotation or feature name and make sure you
get some new compile errors.
> JCasGen runs constantly in Eclise
> ---------------------------------
>
> Key: CTAKES-65
> URL: https://issues.apache.org/jira/browse/CTAKES-65
> Project: cTAKES
> Issue Type: Bug
> Reporter: Steven Bethard
> Fix For: 3.0-incubating
>
> Attachments: ctakes-jcasgen-maven-plugin.diff
>
>
> I have Eclipse set to "Build Automatically" and I'm constantly seeing tasks
> running in the background in my Progress view that look like:
> Compiling ctakes-type-system/target/generated-sources/...
> Refreshing ctakes-type-system/target/generated-sources/...
> These tasks run, complete and then immediately start again, and as a result,
> my Eclipse runs very slowly.
--
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