db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Db-derby Wiki] Update of "ReleasePublication" by RichardHillegas
Date Mon, 25 Oct 2010 19:02:15 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Db-derby Wiki" for change notification.

The "ReleasePublication" page has been changed by RichardHillegas.
http://wiki.apache.org/db-derby/ReleasePublication?action=diff&rev1=7&rev2=8

--------------------------------------------------

    using db-derby-10.1.1.0 as the release to link to -current as an example.
  
   1. Copy the latest version of the documentation to the doc directory on the website. 
-   The documentation is included in the release you uploaded, but unfortunately its directory
structure is not quite right for the website. To get around this you need to unzip the `db-derby-x.y.z.w-bin.zip`
archive, rename some directories and copy the pdf files into the html hierarchy. Here is a
shell script outlining the process:
+   The documentation is included in the release you uploaded, but unfortunately its directory
structure is not quite right for the website. You will need to create a zip file of docs in
the correct directory structure. To do this for a release on the 10.7 (or later) branch, do
the following. You will be prompted for the location of the binzip distribution (db-derby-x.y.z.w-bin.zip)
and the branch name (x.y). The zip file will be created in the directory release/repackagedocs:
  
-   {{{
+ {{{
+ ant repackagedocs
+ }}}
+ 
+ 
+ If you are on a 10.6 or earlier branch, then you create the zip of docs as follows. Unzip
the `db-derby-x.y.z.w-bin.zip` archive, rename some directories and copy the pdf files into
the html hierarchy. Here is a shell script outlining the process. The argument to the script
is the location of `db-derby-x.y.z.w-bin.zip`.
+ 
+ {{{
  mkdir ~/x.y
  cd ~/x.y
  unzip $1
@@ -76, +83 @@

  rm -rf docs/pdf/ja_JP
  rmdir docs/pdf
  rmdir docs
+ zip -r x.y.zip x.y
  }}}
  
-   Pass in the location of the `db-derby-x.y.z.w-bin.zip`. Move the x.y directory that gets
created in your home directory over to `/www/db.apache.org/derby/docs`.
  
-   (!) It is probably easier (especially if you have a high-latency connection to `people.apache.org`),
to create the x.y directory on the same machine where you built the release, but then you
need to upload the documention directory. A recursive copy using scp is going to take a long
time, so it is better to create an archive and copy that:
+ Now copy the zip file over to `/www/db.apache.org/derby/docs`.
  
-   {{{
+ {{{
- zip -r x.y.zip x.y
  scp x.y.zip you@people.apache.org:/www/db.apache.org/derby/docs/
  ssh you@people.apache.org
  cd /www/db.apache.org/derby/docs/
  unzip x.y.zip
  rm x.y.zip }}}
-   <!> Make sure that all files and directories have permissions that makes them accessible
on the web! Note that you will not be able to verify this in a web browser until the new directories
and files have been rsynced to real webserver.
+   <!> Make sure that all files and directories have permissions that make them accessible
on the web! Note that you will not be able to verify this in a web browser until the new directories
and files have been rsynced to real webserver.
    <!> Make sure that the owning group is "db". You may need to issue this command:
"chown -R yourName:db x.y".
   
   1. Create a page for the release, build/update site

Mime
View raw message