Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit https://github.com/akelos/akelos/issues
    • CommentAuthoralake
     

    I have had the need to search through the files of an Akelos project for a given string. The problem of using grep is that I get resulting lines from the Subversion subdirectories, the "log" subdirectory, the backup files and the "compiled" subdirectories. I don't want any of these.

    I broke down and wrote a PHP script that starts with a call to grep, but then filters out the unwanted lines. The input is parameter driven in case someone else wants to do things a bit differently without changing the code.

    The code is on the Wiki, in the HOWTO section: How to search for a string within a whole Akelos project Enjoy.

    • CommentAuthorsuthern
     

    I use Jedit, and do a search within a directory. ;-)

    • CommentAuthoralake
     

    I've not used Jedit. There are many products that search through directories. grep does, too. grep also has an exclude option to eliminate certain files. I just couldn't make it work the way I wanted it to. My solution isn't perfect, I'm sure. But I wanted to share what I did come up with for those who didn't have a solution.

    • CommentAuthorsuthern
     

    And it is a good solution, thank you for posting it! Jedit is a great java-based text editor with syntax highlighting, and supports a TON of plugins. Oh, and it's free. What do you use as an IDE?

    • CommentAuthoralake
     

    Kate, even though I use Gnome on my Linux desktop.