So I did this but still had problems. Then I followed Pei's suggestion and removed this line:

 <classpathentry kind="src" output="target/test-classes" path="test"/>

from .classpath. Now I was able to build by running 'mvn compile' from command line. I checked in the updated .classpath and pom.xml.

Thank you Steve and Pei for your help with this issue!


Dima


On 10/11/2012 11:52 AM, Steven Bethard wrote:
On Oct 11, 2012, at 9:40 AM, Dmitriy Dligach 
<[email protected]> wrote:
That was it! For some reason I couldn't update to the new version so I
had to uninstal it and install again. Now I am down to only 3 errors!

Description    Resource    Path    Location    Type
Project 'ctakes-preprocessor' is missing required source folder:
'test'    ctakes-preprocessor        Build path    Build Path Problem
The project cannot be built until build path errors are resolved
ctakes-preprocessor        Unknown    Java Problem
The project was not built since it depends on ctakes-preprocessor, which
has build path errors    ctakes-clinical-pipeline Unknown    Java Problem

Is anybody else getting them?
Well, I can't really build cTAKES in Eclipse right now because of the JCasGen 
issue I've mentioned several times.

But this looks like a real bug to me. Could you try deleting these lines from 
ctakes-preprocessor/pom.xml?

         <build>
                 <testSourceDirectory>test</testSourceDirectory>
                 <resources>
                         <resource>
                                 <directory>resources</directory>
                         </resource>
                 </resources>
         </build>

It may prompt you to "Maven->Update Project" afterwards.

If that fixes it, please go ahead and commit the change - this pom.xml looks 
wrong to me.

Steve

Reply via email to