From hcatalog-commits-return-511-apmail-incubator-hcatalog-commits-archive=incubator.apache.org@incubator.apache.org Sun Oct 2 21:07:30 2011 Return-Path: X-Original-To: apmail-incubator-hcatalog-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-hcatalog-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 981A37B1C for ; Sun, 2 Oct 2011 21:07:30 +0000 (UTC) Received: (qmail 83911 invoked by uid 500); 2 Oct 2011 21:07:30 -0000 Delivered-To: apmail-incubator-hcatalog-commits-archive@incubator.apache.org Received: (qmail 83887 invoked by uid 500); 2 Oct 2011 21:07:30 -0000 Mailing-List: contact hcatalog-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hcatalog-dev@incubator.apache.org Delivered-To: mailing list hcatalog-commits@incubator.apache.org Received: (qmail 83875 invoked by uid 99); 2 Oct 2011 21:07:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Oct 2011 21:07:30 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Oct 2011 21:07:09 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 7FC152388C7E; Sun, 2 Oct 2011 21:05:41 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r1178252 [33/34] - in /incubator/hcatalog/site: author/src/documentation/content/xdocs/ publish/docs/ publish/docs/r0.2.0/ publish/docs/r0.2.0/api/ publish/docs/r0.2.0/api/org/ publish/docs/r0.2.0/api/org/apache/ publish/docs/r0.2.0/api/org... Date: Sun, 02 Oct 2011 21:05:30 -0000 To: hcatalog-commits@incubator.apache.org From: hashutosh@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20111002210541.7FC152388C7E@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Added: incubator/hcatalog/site/publish/docs/r0.2.0/rpminstall.html URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/rpminstall.html?rev=1178252&view=auto ============================================================================== --- incubator/hcatalog/site/publish/docs/r0.2.0/rpminstall.html (added) +++ incubator/hcatalog/site/publish/docs/r0.2.0/rpminstall.html Sun Oct 2 21:05:22 2011 @@ -0,0 +1,434 @@ + + + + + + + +Installing HCatalog + + + + + + + + + +
+ +
+ +
+ +
+ + + + +
+HCatalog +
+ + + + +
+
+
+
+ +
+ + +
+ +
+ +   +
+ + + + + +
+ +

Installing HCatalog

+ + + + +

Server Installation

+
+

+Prerequisites +

+
    + +
  • Machine on which the server can be installed - this should have + access to the hadoop cluster and to a mysql db
  • + +
  • MySQL db
  • + +
  • Hadoop cluster
  • + +
  • In a secure environment, Unix user that the server will run as, and an associated kerberos + service principal and keytabs.
  • + +
  • +hcatalog. & hcatalog-server .rpm packages.
  • + +
+

Throughout these instructions when you see a word in italics it + indicates a place where you should replace the word with a + appropriate value such as a hostname or password.

+

+Thrift Server Install +

+

Select a machine to install your Thrift server on. For smaller and test + installations this can be the same machine as the database, which we will + set up later. For the purposes of these instructions we will refer to this + machine as hcatsvr.acme.com.

+

RPM installation will create a headless user named "hcat" on the server machine if it doesn't + exist. Server will run as this user.

+

Download the MySQL Java connector libraries on hcatsvr.acme.com. + in some directory. We will refer to this directory as dbroot. You can obtain these from + MySQL's + download site.

+

If using an rpm, install appropriate rpms:

+

+rpm -ivh hcatalog-version.rpm hcatalog-server-version.rpm +

+

+Database Setup +

+

Select a machine to install the database on. This need not be the same + machine as the Thrift server. For large + clusters we recommend that they not be the same machine. For the + purposes of these instructions we will refer to this machine as + hcatdb.acme.com +

+

Install MySQL server on hcatdb.acme.com. You can obtain + packages for MySQL from MySQL's + download site. We have developed and tested with versions 5.1.46 + and 5.1.48. We suggest you use these versions or later. + Once you have MySQL up and running, use the mysql command line + tool to add the hive user and hivemetastoredb + database. You will need to pick a password for your hive + user, and replace dbpassword in the following commands with it.

+

+mysql -u root -h hcatdb.acme.com -p +

+

+mysql> CREATE USER 'hive'@'hcatdb.acme.com' IDENTIFIED BY 'dbpassword'; +

+

+mysql> CREATE DATABASE hivemetastoredb DEFAULT CHARACTER SET latin1 DEFAULT COLLATE latin1_swedish_ci; +

+

+mysql> GRANT ALL PRIVILEGES ON hivemetastoredb.* TO 'hive'@'hcatdb.acme.com' WITH GRANT OPTION; +

+

+mysql> flush privileges; +

+

+mysql> quit; +

+

+mysql -u hive -D hivemetastoredb -hhcatdb.acme.com -p < /usr/share/hcatalog/scripts/hive-schema-0.7.0.mysql.sql +

+

+Thrift server config +

+

Now you need to edit your /etc/hcatalog/hive-site.xml file. + Open this file in your favorite text editor. The following table shows the + values you need to configure.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ParameterValue to Set it to
javax.jdo.option.ConnectionURLIn the JDBC connection string, change DBHOSTNAME to the name + of the machine you put the MySQL server on.
javax.jdo.option.ConnectionPassworddbpassword value you used in setting up the MySQL server + above
hive.metastore.warehouse.dirThe directory you want to use for the default database in your + installation
hive.metastore.urisYou need to set the hostname to your Thrift + server. Replace SVRHOST with the name of the + machine you are installing the Thrift server on.
hive.metastore.sasl.enabledSet to false by default. Set to true if its a secure environment.
hive.metastore.kerberos.keytab.fileThe path to the Kerberos keytab file containg the metastore + thrift server's service principal. Need to set only in secure enviroment.
hive.metastore.kerberos.principalThe service principal for the metastore thrift server. You can + reference your host as _HOST and it will be replaced with + actual hostname. Need to set only in secure environment.
+

You can now procede to starting the server.

+
+ + + +

Starting the Server

+
+

+sudo service start hcatalog-server +

+
+ + + +

Logging

+
+

Server activity logs and gc logs are located in + /var/log/hcat_server. Logging configuration is located at + /etc/hcatalog/log4j.properties. Server logging uses + DailyRollingFileAppender by default. It will generate a new + file per day and does not expire old log files automatically.

+
+ + + +

Stopping the Server

+
+

+sudo service stop hcatalog-server +

+
+ + + +

Client Install

+
+

+rpm -ivh hcatalog-version.rpm +

+

Now you need to edit your /etc/hcatalog/hive-site.xml file. + Open this file in your favorite text editor. The following table shows the + values you need to configure. These common values should match the values set on + the HCatalog server. Do NOT copy the configuration file + from your server installation as that contains the password to your + database, which you should not distribute to your clients.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ParameterValue to Set it to
hive.metastore.warehouse.dirThe directory you want to use for the default database in your + installation
hive.metastore.urisYou need to set the hostname wish your Thrift + server to use by replacing SVRHOST with the name of the + machine you are installing the Thrift server on.
hive.metastore.sasl.enabledSet to false by default. Set to true if its a secure environment.
hive.metastore.kerberos.principalThe service principal for the metastore thrift server. You can + reference your host as _HOST and it will be replaced with + actual hostname. Need to set only in secure environment.
+

The HCatalog command line interface (CLI) can now be invoked as + /bin/hcat.

+
+ + +
+ +
 
+
+ + + Added: incubator/hcatalog/site/publish/docs/r0.2.0/rpminstall.pdf URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/rpminstall.pdf?rev=1178252&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hcatalog/site/publish/docs/r0.2.0/rpminstall.pdf ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/CommonMessages_de.xml URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/CommonMessages_de.xml?rev=1178252&view=auto ============================================================================== --- incubator/hcatalog/site/publish/docs/r0.2.0/skin/CommonMessages_de.xml (added) +++ incubator/hcatalog/site/publish/docs/r0.2.0/skin/CommonMessages_de.xml Sun Oct 2 21:05:22 2011 @@ -0,0 +1,23 @@ + + + + Schriftgrösse: + Zuletzt veröffentlicht: + Suche: + Suche auf der Seite mit + Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/CommonMessages_en_US.xml URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/CommonMessages_en_US.xml?rev=1178252&view=auto ============================================================================== --- incubator/hcatalog/site/publish/docs/r0.2.0/skin/CommonMessages_en_US.xml (added) +++ incubator/hcatalog/site/publish/docs/r0.2.0/skin/CommonMessages_en_US.xml Sun Oct 2 21:05:22 2011 @@ -0,0 +1,23 @@ + + + + Font size: + Last Published: + Search + Search site with + Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/CommonMessages_es.xml URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/CommonMessages_es.xml?rev=1178252&view=auto ============================================================================== --- incubator/hcatalog/site/publish/docs/r0.2.0/skin/CommonMessages_es.xml (added) +++ incubator/hcatalog/site/publish/docs/r0.2.0/skin/CommonMessages_es.xml Sun Oct 2 21:05:22 2011 @@ -0,0 +1,23 @@ + + + + Tamaño del texto: + Fecha de publicación: + Buscar + Buscar en + Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/CommonMessages_fr.xml URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/CommonMessages_fr.xml?rev=1178252&view=auto ============================================================================== --- incubator/hcatalog/site/publish/docs/r0.2.0/skin/CommonMessages_fr.xml (added) +++ incubator/hcatalog/site/publish/docs/r0.2.0/skin/CommonMessages_fr.xml Sun Oct 2 21:05:22 2011 @@ -0,0 +1,23 @@ + + + + Taille : + Dernière publication : + Rechercher + Rechercher sur le site avec + Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/basic.css URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/basic.css?rev=1178252&view=auto ============================================================================== --- incubator/hcatalog/site/publish/docs/r0.2.0/skin/basic.css (added) +++ incubator/hcatalog/site/publish/docs/r0.2.0/skin/basic.css Sun Oct 2 21:05:22 2011 @@ -0,0 +1,167 @@ +/* +* Licensed to the Apache Software Foundation (ASF) under one or more +* contributor license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright ownership. +* The ASF licenses this file to You under the Apache License, Version 2.0 +* (the "License"); you may not use this file except in compliance with +* the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ +/** + * General + */ + +img { border: 0; } + +#content table { + border: 0; + width: 100%; +} +/*Hack to get IE to render the table at 100%*/ +* html #content table { margin-left: -3px; } + +#content th, +#content td { + margin: 0; + padding: 0; + vertical-align: top; +} + +.clearboth { + clear: both; +} + +.note, .warning, .fixme { + clear:right; + border: solid black 1px; + margin: 1em 3em; +} + +.note .label { + background: #369; + color: white; + font-weight: bold; + padding: 5px 10px; +} +.note .content { + background: #F0F0FF; + color: black; + line-height: 120%; + font-size: 90%; + padding: 5px 10px; +} +.warning .label { + background: #C00; + color: white; + font-weight: bold; + padding: 5px 10px; +} +.warning .content { + background: #FFF0F0; + color: black; + line-height: 120%; + font-size: 90%; + padding: 5px 10px; +} +.fixme .label { + background: #C6C600; + color: black; + font-weight: bold; + padding: 5px 10px; +} +.fixme .content { + padding: 5px 10px; +} + +/** + * Typography + */ + +body { + font-family: verdana, "Trebuchet MS", arial, helvetica, sans-serif; + font-size: 100%; +} + +#content { + font-family: Georgia, Palatino, Times, serif; + font-size: 95%; +} +#tabs { + font-size: 70%; +} +#menu { + font-size: 80%; +} +#footer { + font-size: 70%; +} + +h1, h2, h3, h4, h5, h6 { + font-family: "Trebuchet MS", verdana, arial, helvetica, sans-serif; + font-weight: bold; + margin-top: 1em; + margin-bottom: .5em; +} + +h1 { + margin-top: 0; + margin-bottom: 1em; + font-size: 1.4em; +} +#content h1 { + font-size: 160%; + margin-bottom: .5em; +} +#menu h1 { + margin: 0; + padding: 10px; + background: #336699; + color: white; +} +h2 { font-size: 120%; } +h3 { font-size: 100%; } +h4 { font-size: 90%; } +h5 { font-size: 80%; } +h6 { font-size: 75%; } + +p { + line-height: 120%; + text-align: left; + margin-top: .5em; + margin-bottom: 1em; +} + +#content li, +#content th, +#content td, +#content li ul, +#content li ol{ + margin-top: .5em; + margin-bottom: .5em; +} + + +#content li li, +#minitoc-area li{ + margin-top: 0em; + margin-bottom: 0em; +} + +#content .attribution { + text-align: right; + font-style: italic; + font-size: 85%; + margin-top: 1em; +} + +.codefrag { + font-family: "Courier New", Courier, monospace; + font-size: 110%; +} \ No newline at end of file Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/breadcrumbs-optimized.js URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/breadcrumbs-optimized.js?rev=1178252&view=auto ============================================================================== --- incubator/hcatalog/site/publish/docs/r0.2.0/skin/breadcrumbs-optimized.js (added) +++ incubator/hcatalog/site/publish/docs/r0.2.0/skin/breadcrumbs-optimized.js Sun Oct 2 21:05:22 2011 @@ -0,0 +1,90 @@ +/* +* Licensed to the Apache Software Foundation (ASF) under one or more +* contributor license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright ownership. +* The ASF licenses this file to You under the Apache License, Version 2.0 +* (the "License"); you may not use this file except in compliance with +* the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ +var PREPREND_CRUMBS=new Array(); +var link1="@skinconfig.trail.link1.name@"; +var link2="@skinconfig.trail.link2.name@"; +var link3="@skinconfig.trail.link3.name@"; +if(!(link1=="")&&!link1.indexOf( "@" ) == 0){ + PREPREND_CRUMBS.push( new Array( link1, @skinconfig.trail.link1.href@ ) ); } +if(!(link2=="")&&!link2.indexOf( "@" ) == 0){ + PREPREND_CRUMBS.push( new Array( link2, @skinconfig.trail.link2.href@ ) ); } +if(!(link3=="")&&!link3.indexOf( "@" ) == 0){ + PREPREND_CRUMBS.push( new Array( link3, @skinconfig.trail.link3.href@ ) ); } +var DISPLAY_SEPARATOR=" > "; +var DISPLAY_PREPREND=" > "; +var DISPLAY_POSTPREND=":"; +var CSS_CLASS_CRUMB="breadcrumb"; +var CSS_CLASS_TRAIL="breadcrumbTrail"; +var CSS_CLASS_SEPARATOR="crumbSeparator"; +var FILE_EXTENSIONS=new Array( ".html", ".htm", ".jsp", ".php", ".php3", ".php4" ); +var PATH_SEPARATOR="/"; + +function sc(s) { + var l=s.toLowerCase(); + return l.substr(0,1).toUpperCase()+l.substr(1); +} +function getdirs() { + var t=document.location.pathname.split(PATH_SEPARATOR); + var lc=t[t.length-1]; + for(var i=0;i < FILE_EXTENSIONS.length;i++) + { + if(lc.indexOf(FILE_EXTENSIONS[i])) + return t.slice(1,t.length-1); } + return t.slice(1,t.length); +} +function getcrumbs( d ) +{ + var pre = "/"; + var post = "/"; + var c = new Array(); + if( d != null ) + { + for(var i=0;i < d.length;i++) { + pre+=d[i]+postfix; + c.push(new Array(d[i],pre)); } + } + if(PREPREND_CRUMBS.length > 0 ) + return PREPREND_CRUMBS.concat( c ); + return c; +} +function gettrail( c ) +{ + var h=DISPLAY_PREPREND; + for(var i=0;i < c.length;i++) + { + h+=''+sc(c[i][0])+''; + if(i!=(c.length-1)) + h+=DISPLAY_SEPARATOR; } + return h+DISPLAY_POSTPREND; +} + +function gettrailXHTML( c ) +{ + var h=''+DISPLAY_PREPREND; + for(var i=0;i < c.length;i++) + { + h+=''+sc(c[i][0])+''; + if(i!=(c.length-1)) + h+=''+DISPLAY_SEPARATOR+''; } + return h+DISPLAY_POSTPREND+''; +} + +if(document.location.href.toLowerCase().indexOf("http://")==-1) + document.write(gettrail(getcrumbs())); +else + document.write(gettrail(getcrumbs(getdirs()))); + Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/breadcrumbs.js URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/breadcrumbs.js?rev=1178252&view=auto ============================================================================== --- incubator/hcatalog/site/publish/docs/r0.2.0/skin/breadcrumbs.js (added) +++ incubator/hcatalog/site/publish/docs/r0.2.0/skin/breadcrumbs.js Sun Oct 2 21:05:22 2011 @@ -0,0 +1,237 @@ +/* +* Licensed to the Apache Software Foundation (ASF) under one or more +* contributor license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright ownership. +* The ASF licenses this file to You under the Apache License, Version 2.0 +* (the "License"); you may not use this file except in compliance with +* the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ +/** + * This script, when included in a html file, builds a neat breadcrumb trail + * based on its url. That is, if it doesn't contains bugs (I'm relatively + * sure it does). + * + * Typical usage: + * + */ + +/** + * IE 5 on Mac doesn't know Array.push. + * + * Implement it - courtesy to fritz. + */ +var abc = new Array(); +if (!abc.push) { + Array.prototype.push = function(what){this[this.length]=what} +} + +/* ======================================================================== + CONSTANTS + ======================================================================== */ + +/** + * Two-dimensional array containing extra crumbs to place at the front of + * the trail. Specify first the name of the crumb, then the URI that belongs + * to it. You'll need to modify this for every domain or subdomain where + * you use this script (you can leave it as an empty array if you wish) + */ +var PREPREND_CRUMBS = new Array(); + +var link1 = "@skinconfig.trail.link1.name@"; +var link2 = "@skinconfig.trail.link2.name@"; +var link3 = "@skinconfig.trail.link3.name@"; + +var href1 = "@skinconfig.trail.link1.href@"; +var href2 = "@skinconfig.trail.link2.href@"; +var href3 = "@skinconfig.trail.link3.href@"; + + if(!(link1=="")&&!link1.indexOf( "@" ) == 0){ + PREPREND_CRUMBS.push( new Array( link1, href1 ) ); + } + if(!(link2=="")&&!link2.indexOf( "@" ) == 0){ + PREPREND_CRUMBS.push( new Array( link2, href2 ) ); + } + if(!(link3=="")&&!link3.indexOf( "@" ) == 0){ + PREPREND_CRUMBS.push( new Array( link3, href3 ) ); + } + +/** + * String to include between crumbs: + */ +var DISPLAY_SEPARATOR = " > "; +/** + * String to include at the beginning of the trail + */ +var DISPLAY_PREPREND = " > "; +/** + * String to include at the end of the trail + */ +var DISPLAY_POSTPREND = ""; + +/** + * CSS Class to use for a single crumb: + */ +var CSS_CLASS_CRUMB = "breadcrumb"; + +/** + * CSS Class to use for the complete trail: + */ +var CSS_CLASS_TRAIL = "breadcrumbTrail"; + +/** + * CSS Class to use for crumb separator: + */ +var CSS_CLASS_SEPARATOR = "crumbSeparator"; + +/** + * Array of strings containing common file extensions. We use this to + * determine what part of the url to ignore (if it contains one of the + * string specified here, we ignore it). + */ +var FILE_EXTENSIONS = new Array( ".html", ".htm", ".jsp", ".php", ".php3", ".php4" ); + +/** + * String that separates parts of the breadcrumb trail from each other. + * When this is no longer a slash, I'm sure I'll be old and grey. + */ +var PATH_SEPARATOR = "/"; + +/* ======================================================================== + UTILITY FUNCTIONS + ======================================================================== */ +/** + * Capitalize first letter of the provided string and return the modified + * string. + */ +function sentenceCase( string ) +{ return string; + //var lower = string.toLowerCase(); + //return lower.substr(0,1).toUpperCase() + lower.substr(1); +} + +/** + * Returns an array containing the names of all the directories in the + * current document URL + */ +function getDirectoriesInURL() +{ + var trail = document.location.pathname.split( PATH_SEPARATOR ); + + // check whether last section is a file or a directory + var lastcrumb = trail[trail.length-1]; + for( var i = 0; i < FILE_EXTENSIONS.length; i++ ) + { + if( lastcrumb.indexOf( FILE_EXTENSIONS[i] ) ) + { + // it is, remove it and send results + return trail.slice( 1, trail.length-1 ); + } + } + + // it's not; send the trail unmodified + return trail.slice( 1, trail.length ); +} + +/* ======================================================================== + BREADCRUMB FUNCTIONALITY + ======================================================================== */ +/** + * Return a two-dimensional array describing the breadcrumbs based on the + * array of directories passed in. + */ +function getBreadcrumbs( dirs ) +{ + var prefix = "/"; + var postfix = "/"; + + // the array we will return + var crumbs = new Array(); + + if( dirs != null ) + { + for( var i = 0; i < dirs.length; i++ ) + { + prefix += dirs[i] + postfix; + crumbs.push( new Array( dirs[i], prefix ) ); + } + } + + // preprend the PREPREND_CRUMBS + if(PREPREND_CRUMBS.length > 0 ) + { + return PREPREND_CRUMBS.concat( crumbs ); + } + + return crumbs; +} + +/** + * Return a string containing a simple text breadcrumb trail based on the + * two-dimensional array passed in. + */ +function getCrumbTrail( crumbs ) +{ + var xhtml = DISPLAY_PREPREND; + + for( var i = 0; i < crumbs.length; i++ ) + { + xhtml += ''; + xhtml += unescape( crumbs[i][0] ) + ''; + if( i != (crumbs.length-1) ) + { + xhtml += DISPLAY_SEPARATOR; + } + } + + xhtml += DISPLAY_POSTPREND; + + return xhtml; +} + +/** + * Return a string containing an XHTML breadcrumb trail based on the + * two-dimensional array passed in. + */ +function getCrumbTrailXHTML( crumbs ) +{ + var xhtml = ''; + xhtml += DISPLAY_PREPREND; + + for( var i = 0; i < crumbs.length; i++ ) + { + xhtml += ''; + xhtml += unescape( crumbs[i][0] ) + ''; + if( i != (crumbs.length-1) ) + { + xhtml += '' + DISPLAY_SEPARATOR + ''; + } + } + + xhtml += DISPLAY_POSTPREND; + xhtml += ''; + + return xhtml; +} + +/* ======================================================================== + PRINT BREADCRUMB TRAIL + ======================================================================== */ + +// check if we're local; if so, only print the PREPREND_CRUMBS +if( document.location.href.toLowerCase().indexOf( "http://" ) == -1 ) +{ + document.write( getCrumbTrail( getBreadcrumbs() ) ); +} +else +{ + document.write( getCrumbTrail( getBreadcrumbs( getDirectoriesInURL() ) ) ); +} + Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/fontsize.js URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/fontsize.js?rev=1178252&view=auto ============================================================================== --- incubator/hcatalog/site/publish/docs/r0.2.0/skin/fontsize.js (added) +++ incubator/hcatalog/site/publish/docs/r0.2.0/skin/fontsize.js Sun Oct 2 21:05:22 2011 @@ -0,0 +1,166 @@ +/* +* Licensed to the Apache Software Foundation (ASF) under one or more +* contributor license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright ownership. +* The ASF licenses this file to You under the Apache License, Version 2.0 +* (the "License"); you may not use this file except in compliance with +* the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ +function init() +{ //embedded in the doc + //ndeSetTextSize(); +} + +function checkBrowser(){ + if (!document.getElementsByTagName){ + return true; + } + else{ + return false; + } +} + + +function ndeSetTextSize(chgsize,rs) +{ + var startSize; + var newSize; + + if (!checkBrowser) + { + return; + } + + startSize = parseInt(ndeGetDocTextSize()); + + if (!startSize) + { + startSize = 16; + } + + switch (chgsize) + { + case 'incr': + newSize = startSize + 2; + break; + + case 'decr': + newSize = startSize - 2; + break; + + case 'reset': + if (rs) {newSize = rs;} else {newSize = 16;} + break; + + default: + try{ + newSize = parseInt(ndeReadCookie("nde-textsize")); + } + catch(e){ + alert(e); + } + + if (!newSize || newSize == 'NaN') + { + newSize = startSize; + } + break; + + } + + if (newSize < 10) + { + newSize = 10; + } + + newSize += 'px'; + + document.getElementsByTagName('html')[0].style.fontSize = newSize; + document.getElementsByTagName('body')[0].style.fontSize = newSize; + + ndeCreateCookie("nde-textsize", newSize, 365); +} + +function ndeGetDocTextSize() +{ + if (!checkBrowser) + { + return 0; + } + + var size = 0; + var body = document.getElementsByTagName('body')[0]; + + if (body.style && body.style.fontSize) + { + size = body.style.fontSize; + } + else if (typeof(getComputedStyle) != 'undefined') + { + size = getComputedStyle(body,'').getPropertyValue('font-size'); + } + else if (body.currentStyle) + { + size = body.currentStyle.fontSize; + } + + //fix IE bug + if( isNaN(size)){ + if(size.substring(size.length-1)=="%"){ + return + } + + } + + return size; + +} + + + +function ndeCreateCookie(name,value,days) +{ + var cookie = name + "=" + value + ";"; + + if (days) + { + var date = new Date(); + date.setTime(date.getTime()+(days*24*60*60*1000)); + cookie += " expires=" + date.toGMTString() + ";"; + } + cookie += " path=/"; + + document.cookie = cookie; + +} + +function ndeReadCookie(name) +{ + var nameEQ = name + "="; + var ca = document.cookie.split(';'); + + + for(var i = 0; i < ca.length; i++) + { + var c = ca[i]; + while (c.charAt(0) == ' ') + { + c = c.substring(1, c.length); + } + + ctest = c.substring(0,name.length); + + if(ctest == name){ + return c.substring(nameEQ.length,c.length); + } + } + return null; +} Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/getBlank.js URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/getBlank.js?rev=1178252&view=auto ============================================================================== --- incubator/hcatalog/site/publish/docs/r0.2.0/skin/getBlank.js (added) +++ incubator/hcatalog/site/publish/docs/r0.2.0/skin/getBlank.js Sun Oct 2 21:05:22 2011 @@ -0,0 +1,40 @@ +/* +* Licensed to the Apache Software Foundation (ASF) under one or more +* contributor license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright ownership. +* The ASF licenses this file to You under the Apache License, Version 2.0 +* (the "License"); you may not use this file except in compliance with +* the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ +/** + * getBlank script - when included in a html file and called from a form text field, will set the value of this field to "" + * if the text value is still the standard value. + * getPrompt script - when included in a html file and called from a form text field, will set the value of this field to the prompt + * if the text value is empty. + * + * Typical usage: + * + * + */ + Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/getMenu.js URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/getMenu.js?rev=1178252&view=auto ============================================================================== --- incubator/hcatalog/site/publish/docs/r0.2.0/skin/getMenu.js (added) +++ incubator/hcatalog/site/publish/docs/r0.2.0/skin/getMenu.js Sun Oct 2 21:05:22 2011 @@ -0,0 +1,45 @@ +/* +* Licensed to the Apache Software Foundation (ASF) under one or more +* contributor license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright ownership. +* The ASF licenses this file to You under the Apache License, Version 2.0 +* (the "License"); you may not use this file except in compliance with +* the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ +/** + * This script, when included in a html file, can be used to make collapsible menus + * + * Typical usage: + * + */ + +if (document.getElementById){ + document.write('') +} + + +function SwitchMenu(obj, thePath) +{ +var open = 'url("'+thePath + 'images/chapter_open.gif")'; +var close = 'url("'+thePath + 'images/chapter.gif")'; + if(document.getElementById) { + var el = document.getElementById(obj); + var title = document.getElementById(obj+'Title'); + + if(el.style.display != "block"){ + title.style.backgroundImage = open; + el.style.display = "block"; + }else{ + title.style.backgroundImage = close; + el.style.display = "none"; + } + }// end - if(document.getElementById) +}//end - function SwitchMenu(obj) Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/README.txt URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/README.txt?rev=1178252&view=auto ============================================================================== --- incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/README.txt (added) +++ incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/README.txt Sun Oct 2 21:05:22 2011 @@ -0,0 +1 @@ +The images in this directory are used if the current skin lacks them. Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/add.jpg URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/add.jpg?rev=1178252&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/add.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/apache-thanks.png URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/apache-thanks.png?rev=1178252&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/apache-thanks.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/built-with-cocoon.gif URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/built-with-cocoon.gif?rev=1178252&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/built-with-cocoon.gif ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/built-with-forrest-button.png URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/built-with-forrest-button.png?rev=1178252&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/built-with-forrest-button.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/chapter.gif URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/chapter.gif?rev=1178252&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/chapter.gif ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/chapter_open.gif URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/chapter_open.gif?rev=1178252&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/chapter_open.gif ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/current.gif URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/current.gif?rev=1178252&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/current.gif ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/error.png URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/error.png?rev=1178252&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/error.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/external-link.gif URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/external-link.gif?rev=1178252&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/external-link.gif ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/fix.jpg URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/fix.jpg?rev=1178252&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/fix.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/forrest-credit-logo.png URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/forrest-credit-logo.png?rev=1178252&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/forrest-credit-logo.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/hack.jpg URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/hack.jpg?rev=1178252&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/hack.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/header_white_line.gif URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/header_white_line.gif?rev=1178252&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/header_white_line.gif ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/info.png URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/info.png?rev=1178252&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/info.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/instruction_arrow.png URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/instruction_arrow.png?rev=1178252&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/instruction_arrow.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/label.gif URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/label.gif?rev=1178252&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/label.gif ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/page.gif URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/page.gif?rev=1178252&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/page.gif ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/pdfdoc.gif URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/pdfdoc.gif?rev=1178252&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/pdfdoc.gif ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/poddoc.png URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/poddoc.png?rev=1178252&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/poddoc.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/printer.gif URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/printer.gif?rev=1178252&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/printer.gif ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/rc-b-l-15-1body-2menu-3menu.png URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/rc-b-l-15-1body-2menu-3menu.png?rev=1178252&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/rc-b-l-15-1body-2menu-3menu.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/rc-b-r-15-1body-2menu-3menu.png URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/rc-b-r-15-1body-2menu-3menu.png?rev=1178252&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/rc-b-r-15-1body-2menu-3menu.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/rc-b-r-5-1header-2tab-selected-3tab-selected.png URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/rc-b-r-5-1header-2tab-selected-3tab-selected.png?rev=1178252&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/rc-b-r-5-1header-2tab-selected-3tab-selected.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/rc-t-l-5-1header-2searchbox-3searchbox.png URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/rc-t-l-5-1header-2searchbox-3searchbox.png?rev=1178252&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/rc-t-l-5-1header-2searchbox-3searchbox.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/rc-t-l-5-1header-2tab-selected-3tab-selected.png URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/rc-t-l-5-1header-2tab-selected-3tab-selected.png?rev=1178252&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/rc-t-l-5-1header-2tab-selected-3tab-selected.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/rc-t-l-5-1header-2tab-unselected-3tab-unselected.png URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/rc-t-l-5-1header-2tab-unselected-3tab-unselected.png?rev=1178252&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/rc-t-l-5-1header-2tab-unselected-3tab-unselected.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/rc-t-r-15-1body-2menu-3menu.png URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/rc-t-r-15-1body-2menu-3menu.png?rev=1178252&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/rc-t-r-15-1body-2menu-3menu.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/rc-t-r-5-1header-2searchbox-3searchbox.png URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/rc-t-r-5-1header-2searchbox-3searchbox.png?rev=1178252&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/rc-t-r-5-1header-2searchbox-3searchbox.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/rc-t-r-5-1header-2tab-selected-3tab-selected.png URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/rc-t-r-5-1header-2tab-selected-3tab-selected.png?rev=1178252&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/rc-t-r-5-1header-2tab-selected-3tab-selected.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/rc-t-r-5-1header-2tab-unselected-3tab-unselected.png URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/rc-t-r-5-1header-2tab-unselected-3tab-unselected.png?rev=1178252&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/rc-t-r-5-1header-2tab-unselected-3tab-unselected.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/remove.jpg URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/remove.jpg?rev=1178252&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/remove.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/rss.png URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/rss.png?rev=1178252&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/rss.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/spacer.gif URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/spacer.gif?rev=1178252&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/spacer.gif ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/success.png URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/success.png?rev=1178252&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/success.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/txtdoc.png URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/txtdoc.png?rev=1178252&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/txtdoc.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/update.jpg URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/update.jpg?rev=1178252&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/update.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/valid-html401.png URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/valid-html401.png?rev=1178252&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/valid-html401.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/vcss.png URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/vcss.png?rev=1178252&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/vcss.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/warning.png URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/warning.png?rev=1178252&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/warning.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/xmldoc.gif URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/xmldoc.gif?rev=1178252&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/hcatalog/site/publish/docs/r0.2.0/skin/images/xmldoc.gif ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/menu.js URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/menu.js?rev=1178252&view=auto ============================================================================== --- incubator/hcatalog/site/publish/docs/r0.2.0/skin/menu.js (added) +++ incubator/hcatalog/site/publish/docs/r0.2.0/skin/menu.js Sun Oct 2 21:05:22 2011 @@ -0,0 +1,48 @@ +/* +* Licensed to the Apache Software Foundation (ASF) under one or more +* contributor license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright ownership. +* The ASF licenses this file to You under the Apache License, Version 2.0 +* (the "License"); you may not use this file except in compliance with +* the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ +/** + * This script, when included in a html file, can be used to make collapsible menus + * + * Typical usage: + * + */ + +if (document.getElementById){ + document.write('') +} + +function SwitchMenu(obj) +{ + if(document.getElementById) { + var el = document.getElementById(obj); + var title = document.getElementById(obj+'Title'); + + if(obj.indexOf("_selected_")==0&&el.style.display == ""){ + el.style.display = "block"; + title.className = "pagegroupselected"; + } + + if(el.style.display != "block"){ + el.style.display = "block"; + title.className = "pagegroupopen"; + } + else{ + el.style.display = "none"; + title.className = "pagegroup"; + } + }// end - if(document.getElementById) +}//end - function SwitchMenu(obj) Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/note.txt URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/note.txt?rev=1178252&view=auto ============================================================================== --- incubator/hcatalog/site/publish/docs/r0.2.0/skin/note.txt (added) +++ incubator/hcatalog/site/publish/docs/r0.2.0/skin/note.txt Sun Oct 2 21:05:22 2011 @@ -0,0 +1,50 @@ +Notes for developer: + +--Legend------------------- +TODO -> blocker +DONE -> blocker +ToDo -> enhancement bug +done -> enhancement bug + +--Issues------------------- +- the corner images should be rendered through svg with the header color. +-> DONE +-> ToDo: get rid of the images and use only divs! + +- the menu points should be displayed "better". +-> DONE +-- Use the krysalis-site menu approach for the overall menu display. +-> DONE +-- Use the old lenya innermenu approch to further enhance the menu . +-> DONE + +- the content area needs some attention. +-> DONE +-- introduce the heading scheme from krysalis () +-> DONE +-> ToDo: make box with round corners +-> done: make underlined with variable border height +-> ToDo: make underline with bottom round corner +-- introduce the toc for each html-page +-> DONE +-- introduce the external-link-images. +-> DONE + +- the publish note should be where now only a border is. +Like
+-> DONE +, but make it configurable. +-> DONE +- footer needs some attention +-> DONE +-- the footer do not have the color profile! Enable it! +-> DONE +-- the footer should as well contain a feedback link. +See http://issues.apache.org/eyebrowse/ReadMsg?listName=forrest-user@xml.apache.org&msgNo=71 +-> DONE + +- introduce credits alternativ location +-> DONE + +- border for published / breadtrail / menu /tab divs +-> ToDo \ No newline at end of file Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/print.css URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/print.css?rev=1178252&view=auto ============================================================================== --- incubator/hcatalog/site/publish/docs/r0.2.0/skin/print.css (added) +++ incubator/hcatalog/site/publish/docs/r0.2.0/skin/print.css Sun Oct 2 21:05:22 2011 @@ -0,0 +1,54 @@ +/* +* Licensed to the Apache Software Foundation (ASF) under one or more +* contributor license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright ownership. +* The ASF licenses this file to You under the Apache License, Version 2.0 +* (the "License"); you may not use this file except in compliance with +* the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ +body { + font-family: Georgia, Palatino, serif; + font-size: 12pt; + background: white; +} + +#tabs, +#menu, +#content .toc { + display: none; +} + +#content { + width: auto; + padding: 0; + float: none !important; + color: black; + background: inherit; +} + +a:link, a:visited { + color: #336699; + background: inherit; + text-decoration: underline; +} + +#top .logo { + padding: 0; + margin: 0 0 2em 0; +} + +#footer { + margin-top: 4em; +} + +acronym { + border: 0; +} \ No newline at end of file Added: incubator/hcatalog/site/publish/docs/r0.2.0/skin/profile.css URL: http://svn.apache.org/viewvc/incubator/hcatalog/site/publish/docs/r0.2.0/skin/profile.css?rev=1178252&view=auto ============================================================================== --- incubator/hcatalog/site/publish/docs/r0.2.0/skin/profile.css (added) +++ incubator/hcatalog/site/publish/docs/r0.2.0/skin/profile.css Sun Oct 2 21:05:22 2011 @@ -0,0 +1,181 @@ + + +/* ==================== aural ============================ */ + +@media aural { + h1, h2, h3, h4, h5, h6 { voice-family: paul, male; stress: 20; richness: 90 } + h1 { pitch: x-low; pitch-range: 90 } + h2 { pitch: x-low; pitch-range: 80 } + h3 { pitch: low; pitch-range: 70 } + h4 { pitch: medium; pitch-range: 60 } + h5 { pitch: medium; pitch-range: 50 } + h6 { pitch: medium; pitch-range: 40 } + li, dt, dd { pitch: medium; richness: 60 } + dt { stress: 80 } + pre, code, tt { pitch: medium; pitch-range: 0; stress: 0; richness: 80 } + em { pitch: medium; pitch-range: 60; stress: 60; richness: 50 } + strong { pitch: medium; pitch-range: 60; stress: 90; richness: 90 } + dfn { pitch: high; pitch-range: 60; stress: 60 } + s, strike { richness: 0 } + i { pitch: medium; pitch-range: 60; stress: 60; richness: 50 } + b { pitch: medium; pitch-range: 60; stress: 90; richness: 90 } + u { richness: 0 } + + :link { voice-family: harry, male } + :visited { voice-family: betty, female } + :active { voice-family: betty, female; pitch-range: 80; pitch: x-high } +} + +a.external { + padding: 0 20px 0px 0px; + display:inline; + background-repeat: no-repeat; + background-position: center right; + background-image: url(images/external-link.gif); +} + +#top { background-color: #FFFFFF;} + +#top .header .current { background-color: #4C6C8F;} +#top .header .current a:link { color: #ffffff; } +#top .header .current a:visited { color: #ffffff; } +#top .header .current a:hover { color: #ffffff; } + +#tabs li { background-color: #E5E4D9 ;} +#tabs li a:link { color: #000000; } +#tabs li a:visited { color: #000000; } +#tabs li a:hover { color: #000000; } + +#level2tabs a.selected { background-color: #4C6C8F ;} +#level2tabs a:link { color: #ffffff; } +#level2tabs a:visited { color: #ffffff; } +#level2tabs a:hover { color: #ffffff; } + +#level2tabs { background-color: #E5E4D9;} +#level2tabs a.unselected:link { color: #000000; } +#level2tabs a.unselected:visited { color: #000000; } +#level2tabs a.unselected:hover { color: #000000; } + +.heading { background-color: #E5E4D9;} + +.boxed { background-color: #E5E4D9;} +.underlined_5 {border-bottom: solid 5px #E5E4D9;} +.underlined_10 {border-bottom: solid 10px #E5E4D9;} +table caption { +background-color: #E5E4D9; +color: #000000; +} + +#feedback { +color: #FFFFFF; +background: #4C6C8F; +text-align: center; +} +#feedback #feedbackto { +color: #FFFFFF; +} + +#publishedStrip { +color: #FFFFFF; +background: #4C6C8F; +} + +#publishedStrip { +color: #000000; +background: #E5E4D9; +} + +#menu .menupagetitle { background-color: #CFDCED; + color: #000000;} + +#menu { border-color: #999999;} +#menu .menupagetitle { border-color: #999999;} +#menu .menupageitemgroup { border-color: #999999;} + +#menu { background-color: #4C6C8F;} +#menu { color: #ffffff;} +#menu a:link { color: #ffffff;} +#menu a:visited { color: #ffffff;} +#menu a:hover { +background-color: #4C6C8F; +color: #ffffff;} + +#menu h1 { +color: #000000; +background-color: #cfdced; +} + +#top .searchbox { +background-color: #E5E4D9 ; +color: #000000; +} + +#menu .menupageitemgroup { +background-color: #E5E4D9; +} +#menu .menupageitem { +color: #000000; +} +#menu .menupageitem a:link { color: #000000;} +#menu .menupageitem a:visited { color: #000000;} +#menu .menupageitem a:hover { +background-color: #E5E4D9; +color: #000000; +} + +body{ +background-color: #ffffff; +color: #000000; +} +a:link { color:#0000ff} +a:visited { color:#009999} +a:hover { color:#6587ff} + + +.ForrestTable { background-color: #ccc;} + +.ForrestTable td { background-color: #ffffff;} + +.highlight { background-color: #ffff00;} + +.fixme { border-color: #c60;} + +.note { border-color: #069;} + +.warning { border-color: #900;} + +.code { border-color: #a5b6c6;} + +#footer { background-color: #E5E4D9;} +/* extra-css */ + + p.quote { + margin-left: 2em; + padding: .5em; + background-color: #f0f0f0; + font-family: monospace; + } + + #footer a { color: #0F3660; } + #footer a:visited { color: #009999; } + + + + #content h1 { + margin-bottom: .5em; + font-size: 200%; color: black; + font-family: arial; + } + h2, .h3 { font-size: 195%; color: black; font-family: arial; } + h3, .h4 { font-size: 140%; color: black; font-family: arial; margin-bottom: 0.5em; } + h4, .h5 { font-size: 125%; color: black; font-style: italic; font-weight: bold; font-family: arial; } + h5, h6 { font-size: 110%; color: #363636; font-weight: bold; } + + pre.code { + margin-left: 0em; + padding: 0.5em; + background-color: rgb(241,239,231); + font-family: monospace; + } + + \ No newline at end of file