-
1. Re: File search not working until second try
maxandersen Jan 5, 2006 10:40 AM (in response to jiyanghu)what does "doesn't work well" mean ?
And from the sound of it this is something that is a standard eclipse feature, nothing jbosside specific, correct? -
2. Re: File search not working until second try
jiyanghu Jan 5, 2006 11:03 AM (in response to jiyanghu)"doesn't work well" means it can't work first time and it works in the second try. I am not sure if it is a problem in Eclipse IDE, but as I said it works fine in RC1. Since RC2 it hasn't been working well. RC1/RC2 is using the same version of Eclipse so I don't know if that is a Eclipse problem.
Any idea cleaning file name patterns history in File search? Thanks! -
3. Re: File search not working until second try
maxandersen Jan 5, 2006 11:07 AM (in response to jiyanghu)and this is not because when you click the first time you have selected some resources and thus it will search in "Selected resources" and not the complete "Workspace" ?
-
4. Re: File search not working until second try
jiyanghu Jan 5, 2006 11:21 AM (in response to jiyanghu)I dont' use "selected resources" for search, I am using "enclosing project". In my second try I am still using the same "enclosing project".
-
5. Re: File search not working until second try
maxandersen Jan 5, 2006 11:22 AM (in response to jiyanghu)so what is different between the two searches ?
-
6. Re: File search not working until second try
jiyanghu Jan 5, 2006 11:49 AM (in response to jiyanghu)Let me say I have two folders, build and web. If I choose enclosing project, it will show mathced result in both folders. If I choose selected resources, it only shows the result from build.
-
7. Re: File search not working until second try
jiyanghu Jan 5, 2006 12:02 PM (in response to jiyanghu)Please follow the following precedure to verify the problem,
1. Go to file search, enter something in containing text and choose your file name patern. Choose enclosing project. Click search button and there is no result.
2. Go to file search again, since there is no result found so workspace is selected automatically(enclosing project is disabled). Press search button, this time it will show you result.
3. Go to file search again, enclosing project is enabled this time. Choose it and click search button and then you get the result. I am not sure if the result is from the cache which is stored by step 2.
My question is why step 1 can't give me result.