make the test case also work in Eclipse, not only in the ant task

Submitted by:	Bernhard Messer


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150414 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Daniel Naber 2004-08-10 19:04:38 +00:00
parent b1a8660d17
commit b968175664
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ public class TestGermanStemFilter extends TestCase {
public void testStemming() {
try {
// read test cases from external file:
File dataDir = new File(System.getProperty("dataDir"));
File dataDir = new File(System.getProperty("dataDir", "./bin"));
File testFile = new File(dataDir, "org/apache/lucene/analysis/de/data.txt");
FileInputStream fis = new FileInputStream(testFile);
InputStreamReader isr = new InputStreamReader(fis, "iso-8859-1");