The homepage is/will get generated by maven so patches to src/site are
welcome ...and then someone just needs to get them online.

Thanks. Sorry for that idiot question, i should have a closer look...
Well here is a patch for the site. It moves out the old examples and includes a new one.

Another thing:
The packages org.apache.commons.compress.bzip2 has moved
to org.apache.commons.compress.archivers.bzip2
Same for the zip package.

The tar package has moved to org.apache.commons.compress.compressors.tar.

But the old packages are still there as a copy. Can one delete em? This will be a problem, cause the "new" files have no history at all.

Cheers,
Chris
Index: /Users/cy/Projects/commons-compress/src/site/xdoc/index.xml
===================================================================
--- /Users/cy/Projects/commons-compress/src/site/xdoc/index.xml (revision 
477135)
+++ /Users/cy/Projects/commons-compress/src/site/xdoc/index.xml (working copy)
@@ -30,6 +30,7 @@
   <li>If you like the code and want to push it towards a release, join the 
mailing list!</li>
  </ul>
 </p>
+It is planned to add delete functionality for archives.
 </subsection>
 </section>
 
@@ -40,11 +41,36 @@
   <li>The <a 
href="http://svn.apache.org/viewcvs/jakarta/commons/sandbox/compress/";>SVN 
repository</a> can be browsed.</li>
  </ul>
 </p>
+</section>
+
+<section name="A brief example">
 <p>
-There are also 2 example for the bzip2 API:
+You can easily create a zip file with this piece of code:
+<source>
+Archive archiver = ArchiverFactory.getInstance("zip"); 
+archiver.add(   new File("C:\\Temp\\1.html"));
+archiver.add(   new File("C:\\Temp\\1.html.bz2"));
+archiver.save(  new File("C:\\Temp\\ZIPTEST.zip"));
+</source>
+</p>
+<p>
+Or simply decompress a file with gunzip:
+<source>
+Compressor decompressor; 
+decompressor = CompressorFactory.getInstance("bz2");
+decompressor.decompressTo( new File("C:\\Temp\\asf-logo-huge.tar.bz2"),
+                               new File("C:\\Temp\\asf-logo-huge.tar"));
+</source>
+</p>
+</section>
+
+<section name="More example classes">
+<p>
+There are some example classes in the repository:
  <ul>
-  <li><a 
href="xref-test/org/apache/commons/compress/bzip2/example/Bzip2Compress.html">Bzip2Compress</a></li>
-  <li><a 
href="xref-test/org/apache/commons/compress/bzip2/example/Bzip2Uncompress.html">Bzip2UnCompress</a></li>
+  <li><a 
href="xref-test/org/apache/commons/compress/bzip2/example/ZipExample.html">Zip</a></li>
+  <li><a 
href="xref-test/org/apache/commons/compress/bzip2/example/Bzip2Example.html">Bzip2</a></li>
+  <li><a 
href="xref-test/org/apache/commons/compress/bzip2/example/TarExample.html">Tar</a></li>
  </ul>
 </p>
 </section>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to