Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail NNTP-Posting-Date: Wed, 24 Aug 2011 14:49:16 -0500 From: "Charles Hottel" Newsgroups: comp.lang.java.programmer References: <5a3429f6-8b58-423a-a51b-13c66e5db4ac@glegroupsg2000goo.googlegroups.com> Subject: Re: code base(not a technical question) Date: Wed, 24 Aug 2011 15:50:25 -0400 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 Message-ID: Lines: 27 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 151.200.235.181 X-Trace: sv3-xFiJ9e3EvMpIYgxFn+WCkNqtl07lz8jlxxx+dTT+UKvfgPE6qmmu4S4Vw1zJ7GIiCnXk+6LwXRgFlO/!AILYNT1gmMgLN4akD/E/5cPml3SUrtILuWH/IjyI2KJoce4IkyWjZw2eo2qnYNErN07kgefkV1nR!m1osxKRjghGS6Crf0FymFk7/jtJG6/mY3lc= X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2284 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:7351 "Asit Dhal" wrote in message news:5a3429f6-8b58-423a-a51b-13c66e5db4ac@glegroupsg2000goo.googlegroups.com... > Thank you everybody for reading my query and suggesting me. > > This is what I do now. > I have a folder named Java. In this folder code snippets are stored in > small text files. File name is what the snippet is about. > e.g.:- > CounDownLatch.java > HorseRace.java > SingletonThreaSafe.java > > What I need is every file should be associated with some index string, > which is search able. > > Again grep can't help me as I use Windows 7 for development environment. > > For this kind of thing I have created text files and imported them in Access which I can then search with a query. Typically my text file is text in the first 75 columns and a page number in columns 77 to 80. Later on I filled in the book title so I could combine all the text files into one DB. I did this because I found the indexes in books to be inadequate.