You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2009/05/29 21:21:47 UTC

svn commit: r780079 - in /activemq/sandbox/activemq-flow/webgen: ./ src/ src/styles/ src/styles/default/ src/styles/default/images/

Author: chirino
Date: Fri May 29 19:21:46 2009
New Revision: 780079

URL: http://svn.apache.org/viewvc?rev=780079&view=rev
Log:
adding a webgen based doco folder to doco up stuff.

Added:
    activemq/sandbox/activemq-flow/webgen/
    activemq/sandbox/activemq-flow/webgen/.gitignore
    activemq/sandbox/activemq-flow/webgen/README   (with props)
    activemq/sandbox/activemq-flow/webgen/Rakefile
    activemq/sandbox/activemq-flow/webgen/config.yaml
    activemq/sandbox/activemq-flow/webgen/src/
    activemq/sandbox/activemq-flow/webgen/src/architecture.page
    activemq/sandbox/activemq-flow/webgen/src/index.page
    activemq/sandbox/activemq-flow/webgen/src/metainfo
    activemq/sandbox/activemq-flow/webgen/src/module-organization.page
    activemq/sandbox/activemq-flow/webgen/src/privacy-policy.page
    activemq/sandbox/activemq-flow/webgen/src/styles/
    activemq/sandbox/activemq-flow/webgen/src/styles/default/
    activemq/sandbox/activemq-flow/webgen/src/styles/default/browserfix.css
    activemq/sandbox/activemq-flow/webgen/src/styles/default/default.css
    activemq/sandbox/activemq-flow/webgen/src/styles/default/default.template
    activemq/sandbox/activemq-flow/webgen/src/styles/default/images/
    activemq/sandbox/activemq-flow/webgen/src/styles/default/images/bodybg.gif   (with props)
    activemq/sandbox/activemq-flow/webgen/src/styles/default/images/sidebarbg.gif   (with props)
    activemq/sandbox/activemq-flow/webgen/src/todo.page

Added: activemq/sandbox/activemq-flow/webgen/.gitignore
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/webgen/.gitignore?rev=780079&view=auto
==============================================================================
--- activemq/sandbox/activemq-flow/webgen/.gitignore (added)
+++ activemq/sandbox/activemq-flow/webgen/.gitignore Fri May 29 19:21:46 2009
@@ -0,0 +1,5 @@
+out
+webgen.cache
+.sitecopyrc.tmp
+.sitecopy.tmp
+.DS_Store

Added: activemq/sandbox/activemq-flow/webgen/README
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/webgen/README?rev=780079&view=auto
==============================================================================
--- activemq/sandbox/activemq-flow/webgen/README (added)
+++ activemq/sandbox/activemq-flow/webgen/README Fri May 29 19:21:46 2009
@@ -0,0 +1,27 @@
+---
+title: Building the Webgen Docs
+--- 
+
+Overview
+=============================
+
+We are using [webgen](http://webgen.rubyforge.org/) for generating nice HTML based documentation.
+
+Installing 
+-----------------------------
+
+You first need ruby and rubygems installed on your system.  Then you can 
+install webgen with the following command
+
+`sudo gem install webgen coderay feedtools haml`
+
+Building 
+-----------------------------
+
+It's as simple as running `webgen` in the current directory.  Output is stored in 
+the `out` directory.
+
+
+
+
+

Propchange: activemq/sandbox/activemq-flow/webgen/README
------------------------------------------------------------------------------
    svn:executable = *

Added: activemq/sandbox/activemq-flow/webgen/Rakefile
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/webgen/Rakefile?rev=780079&view=auto
==============================================================================
--- activemq/sandbox/activemq-flow/webgen/Rakefile (added)
+++ activemq/sandbox/activemq-flow/webgen/Rakefile Fri May 29 19:21:46 2009
@@ -0,0 +1,43 @@
+# -*- ruby -*-
+#
+# This is a sample Rakefile to which you can add tasks to manage your website. For example, users
+# may use this file for specifying an upload task for their website (copying the output to a server
+# via rsync, ftp, scp, ...).
+#
+# It also provides some tasks out of the box, for example, rendering the website, clobbering the
+# generated files, an auto render task,...
+#
+
+require 'webgen/webgentask'
+require 'webgen/website'
+
+task :default => :webgen
+task :auto => :auto_webgen
+
+Webgen::WebgenTask.new do |website|
+  website.clobber_outdir = true
+  website.config_block = lambda do |config|
+    # you can set configuration options here
+  end
+end
+
+desc "Render the website automatically on changes"
+task :auto_webgen do
+  puts 'Starting auto-render mode'
+  time = Time.now
+  abort = false
+  old_paths = []
+  Signal.trap('INT') {abort = true}
+
+  while !abort
+    # you may need to adjust the glob so that all your sources are included
+    paths = Dir['src/**/*'].sort
+    if old_paths != paths || paths.any? {|p| File.mtime(p) > time}
+      Rake::Task['webgen'].execute({})
+    end
+    time = Time.now
+    old_paths = paths
+    sleep 2
+  end
+end
+

Added: activemq/sandbox/activemq-flow/webgen/config.yaml
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/webgen/config.yaml?rev=780079&view=auto
==============================================================================
--- activemq/sandbox/activemq-flow/webgen/config.yaml (added)
+++ activemq/sandbox/activemq-flow/webgen/config.yaml Fri May 29 19:21:46 2009
@@ -0,0 +1,6 @@
+# The available configuration options can be listed using the `webgen config`
+# command, for example: `webgen config sourcehandler` will list all options starting
+# with sourcehandler.
+
+# lets turn off line numbers
+tag.coderay.line_numbers: false

Added: activemq/sandbox/activemq-flow/webgen/src/architecture.page
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/webgen/src/architecture.page?rev=780079&view=auto
==============================================================================
    (empty)

Added: activemq/sandbox/activemq-flow/webgen/src/index.page
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/webgen/src/index.page?rev=780079&view=auto
==============================================================================
--- activemq/sandbox/activemq-flow/webgen/src/index.page (added)
+++ activemq/sandbox/activemq-flow/webgen/src/index.page Fri May 29 19:21:46 2009
@@ -0,0 +1,17 @@
+---
+title: Home
+in_menu: true
+sort_info: 1
+--- 
+
+# {project_name:}
+
+Eventually this could be flushed out so that it can become the project website.  For now we are using webgen to keep
+track of notes we make along the way.
+
+
+## Project Notes:
+
+ * [Architecture]({relocatable:/architecture.html})
+ * [TODO Items]({relocatable:/todo.html})
+ * [Module Organization]({relocatable:/module-organization.html})

Added: activemq/sandbox/activemq-flow/webgen/src/metainfo
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/webgen/src/metainfo?rev=780079&view=auto
==============================================================================
--- activemq/sandbox/activemq-flow/webgen/src/metainfo (added)
+++ activemq/sandbox/activemq-flow/webgen/src/metainfo Fri May 29 19:21:46 2009
@@ -0,0 +1,19 @@
+--- name:paths
+#
+# You cand define metainfo for mutliple pages in this file.
+#
+
+**/*.page: # <-- That means the following attributes get applied to all pages
+     # in the site.
+
+  # -------------------------------------------------------------------
+  # You can easily switch the site from one look to another here:
+  # -------------------------------------------------------------------
+  template: /styles/default/default.template
+  
+  # -------------------------------------------------------------------
+  # Define the project properties here, these can be accessed in the 
+  # pages using the {var:} syntax.
+  # -------------------------------------------------------------------
+  project_name: "ActiveMQ Apollo"
+  project_slogan: 'The Next Generation of Messaging Middleware'

Added: activemq/sandbox/activemq-flow/webgen/src/module-organization.page
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/webgen/src/module-organization.page?rev=780079&view=auto
==============================================================================
--- activemq/sandbox/activemq-flow/webgen/src/module-organization.page (added)
+++ activemq/sandbox/activemq-flow/webgen/src/module-organization.page Fri May 29 19:21:46 2009
@@ -0,0 +1,67 @@
+---
+title: Module Organization
+--- pipeline:textile
+
+h2. Overview
+
+ActiveMQ 6.x Should
+
+* Not conflict with ActiveMQ 5.x if it's in the CLASSPATH
+* Have a module and package structure that is OSGi friendly for extending.
+* Not depend on ActiveMQ 5.x modules
+
+h2. Modules
+
+h3. Core Modules
+
+These modules define the basic architecture and extension points of ActiveMQ 6.x.  It should be a goal to keep these as small and concise as possible.
+
+Modules:
+* activemq-util: Common interfaces and utility classes
+* activemq-flow: Flow control model interfaces and implementation
+
+h3. WireFormat/Protocol Handler implementations
+
+Modules:
+ * activemq-protocol: Holds the WireFormat and Protocol Handler API interfaces
+ * activemq-openwire
+ * activemq-stomp
+ * activemq-amqp
+
+h3. Transport Layer implementations
+
+Modules:
+ * activemq-transport: Holds Transport API defintion and VM implementation.
+ * activemq-bio: Holds the blocking IO implementations
+ * activemq-nio: Holds the non-blocking IO implementations
+
+h3. Dispatcher implementations
+
+Modules:
+ * activemq-dispatcher : Dispatches API and default implementation
+ * activemq-dispatcher-nio : Holds an NIO aware dispatcher implementation
+
+h3. Data Store implementations
+
+Modules:
+ * activemq-store: Holds the Store API Definition and a memory based impelementation
+ * activemq-kaha
+
+h3. Broker Service: activemq-broker
+
+Provides:
+  * The APIs and implementations for configuring and starting broker instances ( via java/xml/spring etc.)
+
+h3. Client Library: activemq-client
+
+Provides:
+
+  * JMS client API implementation
+
+
+h3. Packages
+
+To avoid class conflicts, we should pick a new package base.  How does this sound: @org.apache.activemq.apollo@ ?
+
+
+

Added: activemq/sandbox/activemq-flow/webgen/src/privacy-policy.page
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/webgen/src/privacy-policy.page?rev=780079&view=auto
==============================================================================
--- activemq/sandbox/activemq-flow/webgen/src/privacy-policy.page (added)
+++ activemq/sandbox/activemq-flow/webgen/src/privacy-policy.page Fri May 29 19:21:46 2009
@@ -0,0 +1,17 @@
+---
+title: Privacy Policy
+--- pipeline:textile,tags
+
+Information about your use of this website is collected using server access logs and a tracking cookie. The collected information consists of the following:
+
+  # The IP address from which you access the website;
+  # The type of browser and operating system you use to access our site;
+  # The date and time you access our site;
+  # The pages you visit; and
+  # The addresses of pages from where you followed a link to our site.
+
+Part of this information is gathered using a tracking cookie set by the [Google Analytics|http://www.google.com/analytics/] service and handled by Google as described in their [privacy policy|http://www.google.com/privacy.html]. See your browser documentation for instructions on how to disable the cookie if you prefer not to share this data with Google.
+
+We use the gathered information to help us make our site more useful to visitors and to better understand how and when our site is used. We do not track or collect personally identifiable information or associate gathered data with any personally identifying information from other sources.
+
+By using this website, you consent to the collection of this data in the manner and for the purpose described above.

Added: activemq/sandbox/activemq-flow/webgen/src/styles/default/browserfix.css
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/webgen/src/styles/default/browserfix.css?rev=780079&view=auto
==============================================================================
--- activemq/sandbox/activemq-flow/webgen/src/styles/default/browserfix.css (added)
+++ activemq/sandbox/activemq-flow/webgen/src/styles/default/browserfix.css Fri May 29 19:21:46 2009
@@ -0,0 +1,7 @@
+/**************** IE fixes ****************/
+
+html
+{overflow:hidden;}
+
+body
+{height:100%; width:100%; overflow:auto;}
\ No newline at end of file

Added: activemq/sandbox/activemq-flow/webgen/src/styles/default/default.css
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/webgen/src/styles/default/default.css?rev=780079&view=auto
==============================================================================
--- activemq/sandbox/activemq-flow/webgen/src/styles/default/default.css (added)
+++ activemq/sandbox/activemq-flow/webgen/src/styles/default/default.css Fri May 29 19:21:46 2009
@@ -0,0 +1,92 @@
+/* andreas07 - an open source xhtml/css website layout by Andreas Viklund - http://andreasviklund.com . Free to use for any purpose as long as the proper credits are given for the original design work.
+
+Version: 1.1, November 28, 2005 */
+
+/**************** Page and tag styles ****************/
+
+body
+{margin:0; padding:0; color:#303030; background:#fafafa url(images/bodybg.gif) top left repeat-y; font:76% Verdana,Tahoma,sans-serif;}
+
+ul
+{list-style:circle; margin:15px 0 20px 0; font-size:0.9em;}
+
+li
+{margin:0 0 8px 25px;}
+
+a
+{color:#d85d5d; font-weight:bold; text-decoration:none;}
+
+a:hover
+{color:#505050; text-decoration:underline;}
+
+img
+{float:left; margin:0 15px 15px 0; padding:1px; background:#ffffff; border:1px solid #d0d0d0;}
+
+a img
+{border-color:#d85d5d;}
+
+a img:hover
+{background:#d85d5d; border-color:#d85d5d;}
+
+/**************** Sidebar area styles ****************/
+
+#sidebar
+{position:absolute; top:0; left:0; width:220px; height:100%; overflow:auto; background:#e0e0e0 url(images/sidebarbg.gif) top right repeat-y; text-align:right;}
+
+body > #sidebar
+{position:fixed;}
+
+#sidebar h1
+{margin:20px 18px 0 5px; color:#d85d5d; font-size:1.6em; letter-spacing:-2px; text-align:right;}
+
+#sidebar h2, #sidebar h3
+{margin:0 20px 18px 5px; color:#808080; font-size:1.1em; font-weight:bold; letter-spacing:-1px; text-align:right;}
+
+#sidebar h3
+{margin:20px 18px 4px 5px; color:#606060;}
+
+#sidebar  p
+{margin:0 20px 18px 5px; color:#606060; font-size:0.8em;}
+
+#sidebar a
+{color:#808080}
+
+#sidebar ul
+{margin-right: 20px; margin-left: 5px; list-style-type: none;}
+
+#sidebar li
+{margin: 0px; padding-left: 5px;}
+
+/**************** Navigation menu styles ****************/
+
+#menu ul
+{list-style-type: none; margin: 0px; padding: 0px; font-size: 1.0em;}
+
+#menu li
+{margin: 0px; padding: 0px}
+
+#menu a,  #menu span
+{display:block; width:202px; padding:5px 18px 5px 0; color:#606060; background:#e0e0e0 url(images/sidebarbg.gif) top right repeat-y; font-size:1.8em; font-weight:normal; text-decoration:none; letter-spacing:-2px;}
+
+#menu a:hover, #menu span:hover
+{color:#303030; background:#f0f0f0 url(images/sidebarbg.gif) top right repeat-y;}
+
+#menu li.webgen-menu-item-selected a, #menu li.webgen-menu-item-selected span
+{padding:5px 18px 5px 0; background:#fafafa; border-top:2px solid #c0c0c0; border-bottom:2px solid #c0c0c0;}
+
+#menu li.webgen-menu-item-selected a:hover, #menu li.webgen-menu-item-selected span:hover
+{color:#505050; background:#fafafa;}
+
+/**************** Content area styles ****************/
+
+#content
+{width:520px; margin:0 0 0 240px; padding:20px 0; background:#fafafa;}
+
+#content p
+{margin:0 0 20px 0; line-height:1.5em;}
+
+#content h1
+{margin:0; color:#808080; font-weight:normal; font-size:2.5em; letter-spacing:-2px; text-align:center;}
+
+#content h2
+{clear:both; margin:30px 0 10px 0; color:#d85d5d; font-weight:normal; font-size: 2em; letter-spacing:-2px;}

Added: activemq/sandbox/activemq-flow/webgen/src/styles/default/default.template
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/webgen/src/styles/default/default.template?rev=780079&view=auto
==============================================================================
--- activemq/sandbox/activemq-flow/webgen/src/styles/default/default.template (added)
+++ activemq/sandbox/activemq-flow/webgen/src/styles/default/default.template Fri May 29 19:21:46 2009
@@ -0,0 +1,37 @@
+---
+template: ~
+---
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{lang:}">
+  <head>
+    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+    <meta name="description" content="description goes here" />
+    <meta name="keywords" content="keywords,goes,here" />
+    <meta name="author" content="Your Name" />
+    <meta name="generator" content="webgen - http://webgen.rubyforge.org" />
+    <link rel="stylesheet" type="text/css" href="{relocatable: default.css}" />
+    <!--[if IE 6]>
+        <link rel="stylesheet" href="{relocatable: browserfix.css}" type="text/css" />
+        <![endif]-->
+    <title>{title:}</title>
+  </head>
+
+  <body>
+    <div id="sidebar">
+      <h1>{project_name:}</h1>
+      <h2>{project_slogan:}</h2>
+
+      <div id="menu">
+        {menu: {max_levels: 1, used_nodes: files}}
+      </div>
+    </div>
+
+    <div id="content">
+      <webgen:block name="content" />
+      <p>&copy; 2004-2009 The Apache Software Foundation. - <a href="{relocatable: /privacy-policy.html}">Privacy Policy</a></p>
+    </div>
+  </body>
+</html>
+
+

Added: activemq/sandbox/activemq-flow/webgen/src/styles/default/images/bodybg.gif
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/webgen/src/styles/default/images/bodybg.gif?rev=780079&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/activemq-flow/webgen/src/styles/default/images/bodybg.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/activemq-flow/webgen/src/styles/default/images/sidebarbg.gif
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/webgen/src/styles/default/images/sidebarbg.gif?rev=780079&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/activemq-flow/webgen/src/styles/default/images/sidebarbg.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/activemq-flow/webgen/src/todo.page
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/webgen/src/todo.page?rev=780079&view=auto
==============================================================================
    (empty)