Hi Dima,
I thinks something weird happens when a type system  tries to import from it's 
own project with ubuntu.
There are 2 projects (sideeffect and padtermspotter) that has a type system 
which imports other type system files from it's own project which seemed to 
cause issues with Ubuntu not picking them up even though I can confirm the 
files are physically there).  I didn't get a chance to debug deeply as there's 
a fairly easy workaround (I just merged them).
I made the temp workaround in trunk.  Verified it works in CI now 
https://builds.apache.org/job/cTAKES-trunk/6/console. 
Would you mind updating to see if you still get the same error?

--Pei

> -----Original Message-----
> From: Steven Bethard [mailto:[email protected]]
> Sent: Wednesday, October 10, 2012 3:19 PM
> To: [email protected]
> Subject: Re: build problem
> 
> On Oct 10, 2012, at 11:06 AM, Dmitriy Dligach
> <[email protected]> wrote:
> > I ran mvn install.
> 
> Yeah, definitely don't `mvn install`.
> 
> > I didn't run mvn compile because it's not available on the list of
> > commands that get displayed when I right click on pom.xml and select
> > 'run as'. Of course I could run it manually.
> 
> You shouldn't ever need to use any of the "Run As..." commands.
> 
> Instead, if things don't compile, there's usually an error message that says
> something like:
> 
> "Project configuration is not up-to-date with pom.xml. Run Maven->Update
> Project or use Quick Fix."
> 
> You should then do what it says and run "Maven->Update Project".
> 
> Steve
> 
> >
> > Thanks again,
> >
> > Dima
> >
> > On 10/10/2012 12:05 PM, Steven Bethard wrote:
> >> On Oct 10, 2012, at 9:51 AM, Dmitriy Dligach
> <[email protected]> wrote:
> >>> --------------------------------------------------------------------
> >>> ----
> >>> [INFO] BUILD FAILURE
> >>> [INFO]
> >>> --------------------------------------------------------------------
> >>> ----
> >>> [INFO] Total time: 28.930s
> >>> [INFO] Finished at: Wed Oct 10 11:50:48 EDT 2012 [INFO] Final
> >>> Memory: 20M/202M [INFO]
> >>> --------------------------------------------------------------------
> >>> ----
> >>> [ERROR] Failed to execute goal
> >>> org.codehaus.mojo:exec-maven-plugin:1.2.1:java
> >>> (run-jcasgen-ctakes-smoking-status) on project
> >>> ctakes-smoking-status: An exception occured while executing the Java
> class. null:
> >>> InvocationTargetException: An import could not be resolved.  No .xml
> >>> file with name
> "org.apache.ctakes.smokingstatus.types.I2B2TypeSystem"
> >>> was found in the class path or data path. (Descriptor:
> >>> file:/home/dima/workspaces/apache/ctakes/ctakes-smoking-
> status/targe
> >>> t/classes/org/apache/ctakes/smokingstatus/types/TypeSystem.xml)
> >> I don't get that error with a clean checkout. Are there any local changes 
> >> in
> your checkout? Are you running `mvn compile` or something else?
> >>
> >> Steve
> >>
> >>
> >

Reply via email to