Board index » jbuilder » Any way to make JB2005/6 ignore directories in Search for Files?

Any way to make JB2005/6 ignore directories in Search for Files?


2005-10-18 04:27:51 AM
jbuilder22
I try a "search for files" in a project pulled from Subversion, and get
hits in both *.java, and *.java.svn-base (the latter are inside ".svn"
directories maintained by Subversion).
Is there a way to make JB ignore any directory called ".svn" in its
Search for Files? (Ignore meaning don't descend into that directory -
sort of like find's "-prune" option..)
PS If I were only searching a single file extension, of course, I can
use the "restrict to files called *.java" option, but since Java
searches often involve both .java and .properties files, I can't do that
in general..
 
 

Re:Any way to make JB2005/6 ignore directories in Search for Files?

You can filter to search with multiple file extension filters -- just use a
semicolon, comma, or space to separate them .
Is your active project under Subversion control when you do this? Search
will ignore directories or file with extensions which belong to the active
project VCS.
"Shankar Unni" < XXXX@XXXXX.COM >wrote in message
Quote
I try a "search for files" in a project pulled from Subversion, and get
hits in both *.java, and *.java.svn-base (the latter are inside ".svn"
directories maintained by Subversion).

Is there a way to make JB ignore any directory called ".svn" in its Search
for Files? (Ignore meaning don't descend into that directory - sort of
like find's "-prune" option..)

PS If I were only searching a single file extension, of course, I can use
the "restrict to files called *.java" option, but since Java searches
often involve both .java and .properties files, I can't do that in
general..
 

Re:Any way to make JB2005/6 ignore directories in Search for Files?

Bill Joy wrote:
Quote
You can filter to search with multiple file extension filters -- just use a
semicolon, comma, or space to separate them .
Excellent. Thanks.
Quote
Is your active project under Subversion control when you do this? Search
will ignore directories or file with extensions which belong to the active
project VCS.
Well, it was pulled via svn (the Tomcat sources, by the way), but I
wasn't aware that JB supports SVN. (Or perhaps there's a CC extension
for SVN? That would be great, too..)
Thanks again!
 

{smallsort}

Re:Any way to make JB2005/6 ignore directories in Search for Files?

Shankar Unni wrote:
Quote
Well, it was pulled via svn (the Tomcat sources, by the way), but I
wasn't aware that JB supports SVN. (Or perhaps there's a CC extension
for SVN? That would be great, too..)

Thanks again!
JB2005 added SVN support. It's been a little shakey, but it mostly
works. JB2006 SVN works even better. Bill did a good job!
--
Regards,
Lori Olson [TeamB]
------------
Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.
Google Advanced Newsgroup Search
www.google.ca/advanced_group_search
Other Newsgroup Searches:
www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
www.visi.com/~gyles19/fom-serve/cache/1.html
 

Re:Any way to make JB2005/6 ignore directories in Search for Files?

Lori M Olson [TeamB] wrote:
Quote
JB2005 added SVN support.
Apparently it's not included in the Foundation version. I don't see it
in the Select Version Control System dialog - only CVS and None.
Quote
JB2006 SVN works even better. Bill did a good job!
Do you know what level of JB2006 supports SVN? The Feature Matrix
actually makes no mention of Subversion at all : the "Supported Version
Control Systems" section mentions only CVS, ClearCase, StarTeam and VSS.
My eval copy of JB2006 Ent (3 days left!) shows Subversion in addition
to the above. Is this support official?
 

Re:Any way to make JB2005/6 ignore directories in Search for Files?

Shankar Unni wrote:
Quote
Lori M Olson [TeamB] wrote:

>JB2005 added SVN support.


Apparently it's not included in the Foundation version. I don't see it
in the Select Version Control System dialog - only CVS and None.

>JB2006 SVN works even better. Bill did a good job!


Do you know what level of JB2006 supports SVN? The Feature Matrix
actually makes no mention of Subversion at all : the "Supported Version
Control Systems" section mentions only CVS, ClearCase, StarTeam and VSS.

My eval copy of JB2006 Ent (3 days left!) shows Subversion in addition
to the above. Is this support official?
Search thru the team-development group, Shankar. There was a "bug" in
JB2005 that made the SVN support "not selectable" from the GUI in
Foundation, but you can twiddle your jpx.local file to enable it. It
was detailed in a posting from Bill Joy.
SVN is definitely supported in JB2006 Enterprise. And it should be in
Foundation, AFAIK. I think there's a typo in the feature matrix.
--
Regards,
Lori Olson [TeamB]
------------
Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.
Google Advanced Newsgroup Search
www.google.ca/advanced_group_search
Other Newsgroup Searches:
www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
www.visi.com/~gyles19/fom-serve/cache/1.html