| 1 | [[PageOutline(2-5,Contents,pullout)]] |
| 2 | |
| 3 | = Browse contents in zipfile |
| 4 | |
| 5 | == Description |
| 6 | |
| 7 | Render contents list in a deflated attachment or repository. |
| 8 | |
| 9 | When render-unsafe-contents = true in attachment section of trac.ini, HTML in the archive will display in your web-browser; relative-link may resolved in the zip file ... you can zip mocks of web-application and attach it to a ticket or wiki. |
| 10 | |
| 11 | also you can use hash-link to specified line of code in the archive. |
| 12 | |
| 13 | you can see contents in zip in zip. cf. manifest in lib/jar in war in ear. |
| 14 | |
| 15 | ---- |
| 16 | |
| 17 | リポジトリ内または添付されたzipファイルの中身を一覧表示します。 |
| 18 | |
| 19 | trac.ini で [attachment] render-unsafe-contents = true を指定していると、 htmlをブラウザで開きます。このとき、html中の相対リンクをzipファイル内で解決できます。「Webアプリケーションの画面モックアップを HTML + CSS + JavaScript?とかで作って、zipパッケージにしてチケットに添付する」みたいな場面で便利なんじゃないかなー。 |
| 20 | |
| 21 | ハッシュリンクが使えるので「zipファイルの中の特定のファイルの特定の行」に直接リンクしたりできる。 |
| 22 | |
| 23 | アーカイブコンテナ名と中身の区切り文字に「!」を採用したのは、javaがjar内のリソースを指し示すときの表現にならった。ファイル名に使える文字だから衝突しちゃうかもしれないね。 |
| 24 | |
| 25 | zipの中のzipの中身もみられるよ。ear内のwar内のlib/jar内のマニフェストの記載を見る、とかできます。 |
| 26 | |
| 27 | == !Bugs/Feature Requests |
| 28 | |
| 29 | Existing bugs and feature requests for ArchiveViewerPlugin are |
| 30 | [report:9?COMPONENT=ArchiveViewerPlugin here]. |
| 31 | |
| 32 | If you have any issues, create a |
| 33 | [http://trac-hacks.org/newticket?component=ArchiveViewerPlugin new ticket]. |
| 34 | |
| 35 | == Download |
| 36 | |
| 37 | Download the zipped source from [export:archiveviewerplugin here]. |
| 38 | |
| 39 | == Source |
| 40 | |
| 41 | You can check out ArchiveViewerPlugin from [http://trac-hacks.org/svn/archiveviewerplugin here] using Subversion, or [source:archiveviewerplugin browse the source] with Trac. |
| 42 | |
| 43 | == Installation |
| 44 | |
| 45 | General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page. |
| 46 | |
| 47 | == Recent Changes |
| 48 | |
| 49 | [[ChangeLog(archiveviewerplugin, 3)]] |
| 50 | |
| 51 | == !Author/Contributors |
| 52 | |
| 53 | **Author:** [wiki:matobaa] [[BR]] |
| 54 | **Maintainer:** [[Maintainer]] [[BR]] |
| 55 | **Contributors:** |