Thanks Peter. I think it works now. I deleted all output xmis files, clean the 
project, then run debug. It generated new output xmis files. Then when I double 
click these new xmi files, I get the rules.

Thank Peter again for your help - much appreciated!

Regards,

Debbie

> -----Original Message-----
> From: Peter Klügl [mailto:pklu...@uni-wuerzburg.de]
> Sent: Thursday, 9 October 2014 10:07 PM
> To: user@uima.apache.org
> Subject: Re: Error in running UIMA Ruta sample file
> 
> It's possible that that the execution did not work and the xmis are those that
> were already present in the project.
> 
> Can you delete the files in the output folder, and debug the ruta script 
> again?
> 
> If the file do not occur again after running/debugging a ruta script, then
> there must be an exception: Either in the console (in Eclipse) or in the Error
> log view.
> 
> Well, you need a CAS with the special annotations. You can create some also
> without using the debug mode in eclipse. The Test Annotation view should
> normally not create those debug information as far as I remember.
> 
> Best,
> 
> Peter
> 
> Am 09.10.2014 12:48, schrieb Debbie Zhang:
> > Thanks Peter for your reply. I cleaned the project after I received your
> email. However, I still got the error when I tried to debug.
> >
> > Just now, I double clicked the output file Example1.txt.xmi. I got the rules
> displayed on the rule views. Does it mean that I don't need to run the debug
> to get rules on the rule views (The Reference document said debug need to be
> run)? It seems I only need to run the Main.ruta from "Annotation Test" to get
> the .xmi files.
> >
> > Regards,
> >
> > Debbie
> >
> >> -----Original Message-----
> >> From: Peter Klügl [mailto:pklu...@uni-wuerzburg.de]
> >> Sent: Thursday, 9 October 2014 9:38 PM
> >> To: user@uima.apache.org
> >> Subject: Re: Error in running UIMA Ruta sample file
> >>
> >> Did you clean the project after importing it? Menu->Project->Clean...
> >>
> >> Best,
> >>
> >> Peter
> >>
> >> Am 09.10.2014 11:33, schrieb Debbie Zhang:
> >>> Hi,
> >>>
> >>> I am new to UIMA Ruta. I try to learn UIMA Ruta by following the
> >>> Ruta Guide and Reference:
> >>> https://uima.apache.org/d/ruta-current/tools.ruta.book.html#ugr.tools.
> >>> ruta.o
> >>> verview.gettingstarted
> >>>
> >>> So far, I am able to follow the guide to section 3.5. UIMA Ruta
> >>> Explain Perspective. According to the guide, I import the UIMA Ruta
> >>> example project and open the main Ruta script file 'Main.ruta'. I
> >>> right click the mouse and select “Debug As” “1 UIMA Ruta” on the
> >>> "Main.ruta" file. However, I get the following error:
> >>>
> >>> Source not found for URLClassPath$JarLoader.getJarFile(URL) line:
> >>> 644
> >>>
> >>> For all “Applied Rules” “Failed Rules” “Matched Rules” views, the
> >>> following message is displayed:
> >>> The instance view is currently not available
> >>>
> >>> Could someone tell me what I did wrong so I can see Rules in those views?
> >>>
> >>> Thank you in advance.
> >>>
> >>> Regards,
> >>>
> >>> Debbie Zhang
> >>>
> 


Reply via email to