List results of search text in jar files
Moderators: Hacker, petermad, Stefan2, white
List results of search text in jar files
I have added SearchInFiles=*.jar to my wincmd.ini file to allow me to search for text strings in jar files.
But I get just a list of jar files where the text was found as output.
Is there a way to output a list of actual files in the jar file (e.g. class files, property files) where the string was found?
I have tried a couple of plugins without success!
But I get just a list of jar files where the text was found as output.
Is there a way to output a list of actual files in the jar file (e.g. class files, property files) where the string was found?
I have tried a couple of plugins without success!
- sqa_wizard
- Power Member
- Posts: 3897
- Joined: 2003-02-06, 11:41 UTC
- Location: Germany
Re: List results of search text in jar files
To emphasize this again, because it seems that most people don't know it:
Content plugins aren't allowed to search in archives (yet)!
I really hope that this will change in the future, at least the built-in support for zip should be expanded to wdx plugins.
Content plugins aren't allowed to search in archives (yet)!
So, no matter which plugin you'd use, they just can't search in jar files.TC help wrote:Note: Content plugins only work with the normal file system (files and directories), but not with virtual folders like the desktop, ftp connections, files in archives, or file system plugins.
I really hope that this will change in the future, at least the built-in support for zip should be expanded to wdx plugins.
TC plugins: PCREsearch and RegXtract
Why not?pcartier wrote:But then you cannot narrow the specification for the type of archive you want to search in.
You either pre-select the jar files and keep checked: Only search in selected directories/files,
or you just type a mask *.jar.
Search archives just means that if a registered/known archive is found while doing the search, TC tries to decompress and search in it.
TC plugins: PCREsearch and RegXtract
milo1012,
Roman
...using the given file mask as a filter for the files contained within the archive.if a registered/known archive is found while doing the search, TC tries to decompress and search in it.
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Sure. You either search in all archives that appear, or none.Hacker wrote:...using the given file mask as a filter for the files contained within the archive.
That's why you'd need to preselect your files before doing the search,
with manual selection, quick search filter, previous search result list, or whatever.
TC plugins: PCREsearch and RegXtract
Re: List results of search text in jar files
--> are you trying to find jar inside jar ?pcartier wrote:I have added SearchInFiles=*.jar to my wincmd.ini file to allow me to search for text strings in jar files.
But I get just a list of jar files where the text was found as output.
Is there a way to output a list of actual files in the jar file (e.g. class files, property files) where the string was found?
I have tried a couple of plugins without success!
You cannot specify in wich archive file you search in a single round. The only way i know to do it is:
- search for the archive/jar you want to seach in [search 1]
- feed to listbox
- from listbox search all classes or properties files ....... that contain the text ticking search in archive.
- you will get a list of files inside archives that match your criterias. (this is only working from the standard filesystem and not from fs addon)
--> info
If you tick pluging search you silently disable in the same time search in archive... a popup or a

