Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #7367

Re: code base(not a technical question)

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Robert Klemme <shortcutter@googlemail.com>
Newsgroups comp.lang.java.programmer
Subject Re: code base(not a technical question)
Date Thu, 25 Aug 2011 10:49:49 +0200
Lines 38
Message-ID <9bmgliF9erU1@mid.individual.net> (permalink)
References <de8aae6f-9506-41cf-aaca-1e7492a1764d@glegroupsg2000goo.googlegroups.com> <j31bjj$vnu$1@dont-email.me> <j31e0l$gdt$1@dont-email.me> <5a3429f6-8b58-423a-a51b-13c66e5db4ac@glegroupsg2000goo.googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Trace individual.net 9fq0s4q9JXNo+B6qj6YgAATyxve6sH4UMj3oayrRSS/2Abzro=
Cancel-Lock sha1:En8hYs5aaxLskqbwcujclObu3NM=
User-Agent Mozilla/5.0 (Windows NT 6.0; WOW64; rv:6.0) Gecko/20110812 Thunderbird/6.0
In-Reply-To <5a3429f6-8b58-423a-a51b-13c66e5db4ac@glegroupsg2000goo.googlegroups.com>
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:7367

Show key headers only | View raw


On 24.08.2011 21:03, Asit Dhal wrote:
> 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.

You can use "find" for that in the Windows shell.

However, I would just create an Eclipse project where I put all those 
files and use Eclipse's text search (which is pretty fast).  You could 
even do something like

/*
  * Search index
  *
  * keyword: thread
  * keyword: list
  */

somewhere in the file and then do a regexp search for "keyword:\s*thread"

Kind regards

	robert

-- 
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

code base(not a technical question) Asit Dhal <lipun4u@gmail.com> - 2011-08-23 10:54 -0700
  Re: code base(not a technical question) Robert Klemme <shortcutter@googlemail.com> - 2011-08-23 21:52 +0200
    Re: code base(not a technical question) Asit Dhal <lipun4u@gmail.com> - 2011-08-23 13:48 -0700
      Re: code base(not a technical question) Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-08-23 18:05 -0300
        Re: code base(not a technical question) Arne Vajhøj <arne@vajhoej.dk> - 2011-08-23 18:58 -0400
          Re: code base(not a technical question) Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-08-23 20:24 -0300
      Re: code base(not a technical question) markspace <-@.> - 2011-08-23 14:52 -0700
      Re: code base(not a technical question) Arne Vajhøj <arne@vajhoej.dk> - 2011-08-23 18:57 -0400
  Re: code base(not a technical question) Jeff Higgins <jeff@invalid.invalid> - 2011-08-23 16:53 -0400
    Re: code base(not a technical question) Jeff Higgins <jeff@invalid.invalid> - 2011-08-23 16:59 -0400
  Re: code base(not a technical question) Jeff Higgins <jeff@invalid.invalid> - 2011-08-23 19:06 -0400
    Re: code base(not a technical question) Jeff Higgins <jeff@invalid.invalid> - 2011-08-23 19:47 -0400
      Re: code base(not a technical question) Asit Dhal <lipun4u@gmail.com> - 2011-08-24 12:03 -0700
        Re: code base(not a technical question) Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-08-24 19:21 +0000
        Re: code base(not a technical question) "Charles Hottel" <chottel@earthlink.net> - 2011-08-24 15:50 -0400
        Re: code base(not a technical question) markspace <-@.> - 2011-08-24 13:09 -0700
        Re: code base(not a technical question) Robert Klemme <shortcutter@googlemail.com> - 2011-08-25 10:49 +0200
  Re: code base(not a technical question) Roedy Green <see_website@mindprod.com.invalid> - 2011-08-25 13:07 -0700
    Re: code base(not a technical question) Martin Gregorie <martin@address-in-sig.invalid> - 2011-08-25 22:21 +0000

csiph-web