You might be opening the file from the "openmrs" project instead of the
"openmrs-web" one. That first of the 6 projects that eclipse creates for
mavenized openmrs is a grouping project that includes all the others. BUT
it is not a java project itself. Therefore eclipse doesn't know how to
handle things like compiling or running off unit tests.

Ben
On May 1, 2012 7:59 PM, "Darius Jazayeri" <[email protected]> wrote:

> Hi Ben,
>
> I checked, and in my Eclipse setup (I have the 1.9.x branch checked out,
> and I'm running Eclipse  Indigo Service Release 2) that file behaves just
> like others. (I.e. Run As -> JUnit Test works.)
>
> I don't know what might be up in your setup. Check to make sure you've
> opened the file in the default java editor rather than as plain-text, and
> look at the Markers view to see if your project configuration is right.
>
> -Darius
>
> On Tue, May 1, 2012 at 4:08 PM, Ben Fulton <[email protected]> wrote:
>
>> I wanted to look at another introductory ticket, so I chose TRUNK-2556,
>> "Warnings when running ForgotPasswordFormControllerTest". But I'm confused
>> by the fact that right-clicking on that class in Eclipse does not allow
>> "Run as JUnit Test" in the way that tests in the other projects do. Is
>> there something I need to do to enable this in Eclipse?
>>
>> Thanks!
>>
>> Ben Fulton
>>
>> ------------------------------
>> Click here to 
>> unsubscribe<[email protected]?body=SIGNOFF%20openmrs-devel-l>from 
>> OpenMRS Developers' mailing list
>
>
> ------------------------------
> Click here to 
> unsubscribe<[email protected]?body=SIGNOFF%20openmrs-devel-l>from 
> OpenMRS Developers' mailing list

_________________________________________

To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-devel-l" in the  body (not 
the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

Reply via email to