Thank you Erik,

TestRussianAnalyzer now works from within Eclipse.
I made/committed similar changes to TestRussianStem
and it now works from within Eclipse too.

Erik Hatcher schrieb:

On Monday, October 20, 2003, at 01:10 PM, Christoph Goller wrote:


Sorry fo all the mess. I found out it works for me from the command line, too.
My IDE fooled me. The file not found errors for TestRussianAnalyzer TestRussianStem
only occur if I call ant from within Eclipse, even if I explicitly set the base
directory????? Well, maybe I should look into the manual :-)


I just made a change that will hopefully make this test work fine in your IDE. Set the system VM property "dataDir" to the absolute path to your src/test directory and it should work. There are other ways to make JUnit test cases resilient to their environment, but this was the quickest/easiest one.

Let me know if there are still issues with TestRussianAnalyzer.

Erik


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to