|
 |
Het MacFreak® Forum - Voor online ondersteuning in het Nederlands! |
 |
|
 |
|
|
|
|
FanBoy
Niet Aanwezig
MacFreak Verslaafde
|
Aantal berichten: 993 | Lid sinds: 15-03-2010 | Geplaatst om: 11:12 - 23-09-2010
@pieterr, er is toch geen woord gelogen van wat KJ zegt?? In computing software, a JAR file (or Java ARchive) aggregates many files into one.[1] Software developers generally use .jar files to distribute Java applications or libraries, in the form of classes and associated metadata and resources (text, images, etc.) JAR files build on the ZIP file format. Computer users can create or extract JAR files using the jar command that comes with a JDK. They can also use zip tools to do so, however caution should be exercised as to the order of entries in the zip file headers as the manifest likely needs to be first |
-= If you ain't got nothing nice to say, then don't say nothing at all =-
|
|
|
|
Pieterr
Niet Aanwezig

Een ware MacFreak!
|
Aantal berichten: 6384 | Lid sinds: 26-08-2009 | Geplaatst om: 11:26 - 23-09-2010
De TS heeft een heleboel jarfiles. Hij wil tekststrings zoeken in de XML files die in deze jarfiles opgeslagen zijn. Hij zou dat kunnen doen met een tool die kan zoeken naar tekststrings in zipfiles, omdat voor de compressie van jarfiles gewoon het standaard zipformaat wordt gebruikt. Zo duidelijk genoeg? |
"One experiment is better than a thousand expert opinions. Try it."
|
|
|
|
Cailin Coilleach
Niet Aanwezig

Een ware MacFreak!
|
Aantal berichten: 2764 | Lid sinds: 16-08-2004 | Geplaatst om: 12:58 - 23-09-2010
Mag ik u voorstellen aan "unzip -c"?
| Code: | for FILE in $(ls *.jar) do unzip -d $FILE | grep "$STRING" done
| Wat de TS wil, een search functie die z'n JARetjes indexeert, lijkt me meer iets dat in een ontwikkelomgeving geintegreerd zou worden. Het lijkt me niets voor Spotlight zelf. Kan me dus goed indenken dat omgevingen als XCode en repositories als SVN wel een dergelijke optie bieden. (Bewerkt door Cailin Coilleach om 13:00, 23-09-2010) |
|
|
|
|
|
|
|
|
|
|
 |
|
 |
MF-Forum v6.0.0 © 2001/2012 - MacFreak® Interactive Media
|
|
|
|