forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r830459 [1/2] - in /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal: ./ resources/ resources/stylesheets/ src/ src/documentation/ src/documentation/classes/ src/documentation/content/ src/documentation/content/xdocs/ ...
Date Wed, 28 Oct 2009 08:24:54 GMT
Author: sjur
Date: Wed Oct 28 08:24:53 2009
New Revision: 830459

URL: http://svn.apache.org/viewvc?rev=830459&view=rev
Log:
First version of the iCal output plugin. Documentation provided in the plugin. Feedback welcome :)

Added:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/LICENSE.txt   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/NOTICE.txt   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/build.xml   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/default.plugin.properties.xml   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/forrest.properties
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/locationmap.xml   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/output.xmap
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/resources/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/resources/stylesheets/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/resources/stylesheets/date.add.template.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/resources/stylesheets/document-to-ics.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/classes/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/classes/CatalogManager.properties
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/Meeting_2009-10-21.jspwiki
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/images/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/images/group-logo.gif   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/images/group.svg
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/images/icon.png   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/images/project-logo.gif   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/images/project.svg
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/images/usemap.gif   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/index.xml   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/memos/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/memos/Meeting_2009-10-21.jspwiki
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/site.xml   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/tabs.xml   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/skinconf.xml   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/status.xml   (with props)

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/LICENSE.txt
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/LICENSE.txt?rev=830459&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/LICENSE.txt (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/LICENSE.txt Wed Oct 28 08:24:53 2009
@@ -0,0 +1,211 @@
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed 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.
+
+------------------------------------------------------------------------
+
+Apache Forrest includes a number of accompanying products with separate
+copyright notices and license terms. Your use of the source code for
+these products is subject to the terms and conditions of the relevant
+licenses. For more information, see: http://www.apache.org/legal/
+
+------------------------------------------------------------------------

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/LICENSE.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/NOTICE.txt
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/NOTICE.txt?rev=830459&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/NOTICE.txt (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/NOTICE.txt Wed Oct 28 08:24:53 2009
@@ -0,0 +1,15 @@
+Apache Forrest
+Copyright 2002-2009 The Apache Software Foundation.
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+See also the file LICENSE.txt
+
+------------------------------------------------------------------------
+The purpose of this NOTICE.txt file is to contain notices that are
+required by the copyright owner and their license. Some of the
+accompanying products have an attribution requirement, so see below.
+Other accompanying products do not require attribution, so are not listed.
+
+------------------------------------------------------------------------

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/NOTICE.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/build.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/build.xml?rev=830459&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/build.xml (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/build.xml Wed Oct 28 08:24:53 2009
@@ -0,0 +1,40 @@
+<?xml version="1.0"?>
+<!--
+  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.
+-->
+<project default="docs" basedir="." name="Forrest org.apache.forrest.plugin.output.iCal build file">
+  <property name="plugin-name" value="org.apache.forrest.plugin.output.iCal"/>
+  <property name="forrest.version" value="0.9"/>
+  <property name="type" value="output"/>
+  <property name="plugin-version" value="0.1"/>
+  <property name="description" value="This plugin extracts todo items from a document following certain conventions, and produce an ical file as output. The ical file can then be opened in your preferred calendaring/task management application."/>
+  <property name="author" value="Apache Forrest Project"/>
+  <property name="websiteURL" value="http://forrest.apache.org//pluginDocs/org.apache.forrest.plugin.output.iCal"/>
+  <property name="downloadURL" value="http://forrest.apache.org/plugins/plugins/"/>
+<!-- The plugin will only appear in the plugins list if pulish = true
+    <property name="publish" value="true"/> -->
+  <import file="../build.xml"/>
+<!-- Add any additional installation work here in the build target, for example:
+  <target name="build"
+          description="Extract the tools">
+     <unzip dest="${plugins.localDeploy-dir}/${plugin-name}/resources">
+       <fileset dir="tools">
+          <include name="pluginBionaryTools.zip"/>
+        </fileset>
+     </unzip>   
+  </target>
+  -->
+</project>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/default.plugin.properties.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/default.plugin.properties.xml?rev=830459&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/default.plugin.properties.xml (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/default.plugin.properties.xml Wed Oct 28 08:24:53 2009
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  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.
+-->
+<properties>
+  <property name="output.ical.URLprefix"       value="Tasks"/>
+  <property name="output.ical.FilePrefix"      value="Meeting"/>
+  <!-- Number of days before a task should be completed after the meeting
+       day. Default is 7 days, ie one week. -->
+  <property name="output.ical.defaultTimeSpan" value="7D"/>
+</properties>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/default.plugin.properties.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/forrest.properties
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/forrest.properties?rev=830459&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/forrest.properties (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/forrest.properties Wed Oct 28 08:24:53 2009
@@ -0,0 +1,26 @@
+# 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 is a minimal properties file.
+# These are defaults, un-comment them only if you need to change them.
+# See the full set of default properties in a 'forrest seed-sample' site.
+# Copy properties from there as needed.
+##############
+
+# FIXME: FOR-785
+forrest.validate.skinconf=false
+
+project.required.plugins=org.apache.forrest.plugin.output.iCal,org.apache.forrest.plugin.input.projectInfo,org.apache.forrest.plugin.input.wiki

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/locationmap.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/locationmap.xml?rev=830459&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/locationmap.xml (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/locationmap.xml Wed Oct 28 08:24:53 2009
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  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.
+-->
+<locationmap xmlns="http://apache.org/forrest/locationmap/1.0">
+  <components>
+    <matchers default="lm">
+      <matcher 
+        name="lm" 
+        src="org.apache.forrest.locationmap.WildcardLocationMapHintMatcher"/>
+    </matchers>
+    <selectors default="exists">
+      <selector name="exists" logger="sitemap.selector.exists"  
+                    src="org.apache.forrest.sourceexists.SourceExistsSelector" />
+    </selectors>
+  </components>
+  <locator>
+<!-- Uncomment the below matches once you have a stylesheet you wish to use.
+     Note that these are needed for the plugin to work on windows. See FOR-1108 -->
+  <match pattern="ical.transform.*.*">
+         <select>
+           <location src="resources/stylesheets/{1}-to-{2}.xsl" />
+           <location src="{forrest:forrest.plugins}/org.apache.forrest.plugin.output.iCal/resources/stylesheets/{1}-to-{2}.xsl"/>
+         </select>
+    </match>
+  </locator>
+</locationmap>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/locationmap.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/output.xmap
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/output.xmap?rev=830459&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/output.xmap (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/output.xmap Wed Oct 28 08:24:53 2009
@@ -0,0 +1,56 @@
+<?xml version="1.0"?>
+<!--
+  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.
+-->
+<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
+  <map:components>
+      <map:serializers>
+          <map:serializer logger="sitemap.serializer.text"
+                          mime-type="text/calendar" name="ical"
+                          src="org.apache.cocoon.serialization.TextSerializer">
+            <encoding>UTF-8</encoding>
+          </map:serializer>
+      </map:serializers>
+  </map:components>
+
+  <map:pipelines>
+    <map:pipeline>
+
+      <!--   Will match weekly meeting files {2}, and extract the tasks for the
+      person in {3}, returning the task list as an iCal TODO list -->
+      <map:match pattern="{properties:output.ical.URLprefix}_*_*.ics">
+          <map:generate src="cocoon://{properties:output.ical.FilePrefix}_{1}.xml" />
+          <map:transform src="{lm:ical.transform.document.ics}">
+              <map:parameter name="date" value="{1}" />
+              <map:parameter name="person" value="{2}" />
+              <map:parameter name="defaultTimeSpan" value="{properties:output.ical.defaultTimeSpan}" />
+          </map:transform>
+          <map:serialize type="ical" />
+      </map:match>
+
+      <map:match pattern="**/{properties:output.ical.URLprefix}_*_*.ics">
+          <map:generate src="cocoon://{1}/{properties:output.ical.FilePrefix}_{2}.xml" />
+          <map:transform src="{lm:ical.transform.document.ics}">
+              <map:parameter name="date" value="{2}" />
+              <map:parameter name="person" value="{3}" />
+              <map:parameter name="defaultTimeSpan" value="{properties:output.ical.defaultTimeSpan}" />
+          </map:transform>
+          <map:serialize type="ical" />
+      </map:match>
+
+    </map:pipeline>
+  </map:pipelines>
+</map:sitemap>

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/resources/stylesheets/date.add.template.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/resources/stylesheets/date.add.template.xsl?rev=830459&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/resources/stylesheets/date.add.template.xsl (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/resources/stylesheets/date.add.template.xsl Wed Oct 28 08:24:53 2009
@@ -0,0 +1,397 @@
+<?xml version="1.0"?>
+<xsl:stylesheet version="1.0"
+                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:date="http://exslt.org/dates-and-times"
+                extension-element-prefixes="date">
+ 
+<date:month-lengths>
+   <date:month>31</date:month>
+   <date:month>28</date:month>
+   <date:month>31</date:month>
+   <date:month>30</date:month>
+   <date:month>31</date:month>
+   <date:month>30</date:month>
+   <date:month>31</date:month>
+   <date:month>31</date:month>
+   <date:month>30</date:month>
+   <date:month>31</date:month>
+   <date:month>30</date:month>
+   <date:month>31</date:month>
+</date:month-lengths>
+
+<xsl:template name="date:add">
+	<xsl:param name="date-time" />
+   <xsl:param name="duration" />
+   <xsl:variable name="dt-neg" select="starts-with($date-time, '-')" />
+   <xsl:variable name="dt-no-neg">
+      <xsl:choose>
+         <xsl:when test="$dt-neg or starts-with($date-time, '+')">
+            <xsl:value-of select="substring($date-time, 2)" />
+         </xsl:when>
+         <xsl:otherwise>
+            <xsl:value-of select="$date-time" />
+         </xsl:otherwise>
+      </xsl:choose>
+   </xsl:variable>
+   <xsl:variable name="dt-no-neg-length" select="string-length($dt-no-neg)" />
+   <xsl:variable name="timezone">
+      <xsl:choose>
+         <xsl:when test="substring($dt-no-neg, $dt-no-neg-length) = 'Z'">Z</xsl:when>
+         <xsl:otherwise>
+            <xsl:variable name="tz" select="substring($dt-no-neg, $dt-no-neg-length - 5)" />
+            <xsl:if test="(substring($tz, 1, 1) = '-' or 
+                           substring($tz, 1, 1) = '+') and
+                          substring($tz, 4, 1) = ':'">
+               <xsl:value-of select="$tz" />
+            </xsl:if>
+         </xsl:otherwise>
+      </xsl:choose>
+   </xsl:variable>
+   <xsl:variable name="new-dt">
+      <xsl:if test="not(string($timezone)) or
+                    $timezone = 'Z' or 
+                    (substring($timezone, 2, 2) &lt;= 23 and
+                     substring($timezone, 5, 2) &lt;= 59)">
+         <xsl:variable name="dt" select="substring($dt-no-neg, 1, $dt-no-neg-length - string-length($timezone))" />
+         <xsl:variable name="dt-length" select="string-length($dt)" />
+         <xsl:variable name="du-neg" select="starts-with($duration, '-')" />
+         <xsl:variable name="du">
+            <xsl:choose>
+               <xsl:when test="$du-neg"><xsl:value-of select="substring($duration, 2)" /></xsl:when>
+               <xsl:otherwise><xsl:value-of select="$duration" /></xsl:otherwise>
+            </xsl:choose>
+         </xsl:variable>
+         <xsl:if test="starts-with($du, 'P') and
+                       not(translate($du, '0123456789PYMDTHS.', ''))">
+            <xsl:variable name="du-date">
+               <xsl:choose>
+                  <xsl:when test="contains($du, 'T')"><xsl:value-of select="substring-before(substring($du, 2), 'T')" /></xsl:when>
+                  <xsl:otherwise><xsl:value-of select="substring($du, 2)" /></xsl:otherwise>
+               </xsl:choose>
+            </xsl:variable>
+            <xsl:variable name="du-time">
+               <xsl:if test="contains($du, 'T')"><xsl:value-of select="substring-after($du, 'T')" /></xsl:if>
+            </xsl:variable>
+            <xsl:if test="(not($du-date) or
+                           (not(translate($du-date, '0123456789YMD', '')) and
+                            not(substring-after($du-date, 'D')) and
+                            (contains($du-date, 'D') or 
+                             (not(substring-after($du-date, 'M')) and
+                              (contains($du-date, 'M') or
+                               not(substring-after($du-date, 'Y'))))))) and
+                          (not($du-time) or
+                           (not(translate($du-time, '0123456789HMS.', '')) and
+                            not(substring-after($du-time, 'S')) and
+                            (contains($du-time, 'S') or
+                             not(substring-after($du-time, 'M')) and
+                             (contains($du-time, 'M') or
+                              not(substring-after($du-time, 'Y'))))))">
+               <xsl:variable name="duy-str">
+                  <xsl:choose>
+                     <xsl:when test="contains($du-date, 'Y')"><xsl:value-of select="substring-before($du-date, 'Y')" /></xsl:when>
+                     <xsl:otherwise>0</xsl:otherwise>
+                  </xsl:choose>
+               </xsl:variable>
+               <xsl:variable name="dum-str">
+                  <xsl:choose>
+                     <xsl:when test="contains($du-date, 'M')">
+                        <xsl:choose>
+                           <xsl:when test="contains($du-date, 'Y')"><xsl:value-of select="substring-before(substring-after($du-date, 'Y'), 'M')" /></xsl:when>
+                           <xsl:otherwise><xsl:value-of select="substring-before($du-date, 'M')" /></xsl:otherwise>
+                        </xsl:choose>
+                     </xsl:when>
+                     <xsl:otherwise>0</xsl:otherwise>
+                  </xsl:choose>
+               </xsl:variable>
+               <xsl:variable name="dud-str">
+                  <xsl:choose>
+                     <xsl:when test="contains($du-date, 'D')">
+                        <xsl:choose>
+                           <xsl:when test="contains($du-date, 'M')"><xsl:value-of select="substring-before(substring-after($du-date, 'M'), 'D')" /></xsl:when>
+                           <xsl:when test="contains($du-date, 'Y')"><xsl:value-of select="substring-before(substring-after($du-date, 'Y'), 'D')" /></xsl:when>
+                           <xsl:otherwise><xsl:value-of select="substring-before($du-date, 'D')" /></xsl:otherwise>
+                        </xsl:choose>
+                     </xsl:when>
+                     <xsl:otherwise>0</xsl:otherwise>
+                  </xsl:choose>
+               </xsl:variable>
+               <xsl:variable name="duh-str">
+                  <xsl:choose>
+                     <xsl:when test="contains($du-time, 'H')"><xsl:value-of select="substring-before($du-time, 'H')" /></xsl:when>
+                     <xsl:otherwise>0</xsl:otherwise>
+                  </xsl:choose>
+               </xsl:variable>
+               <xsl:variable name="dumin-str">
+                  <xsl:choose>
+                     <xsl:when test="contains($du-time, 'M')">
+                        <xsl:choose>
+                           <xsl:when test="contains($du-time, 'H')"><xsl:value-of select="substring-before(substring-after($du-time, 'H'), 'M')" /></xsl:when>
+                           <xsl:otherwise><xsl:value-of select="substring-before($du-time, 'M')" /></xsl:otherwise>
+                        </xsl:choose>
+                     </xsl:when>
+                     <xsl:otherwise>0</xsl:otherwise>
+                  </xsl:choose>
+               </xsl:variable>
+               <xsl:variable name="dus-str">
+                  <xsl:choose>
+                     <xsl:when test="contains($du-time, 'S')">
+                        <xsl:choose>
+                           <xsl:when test="contains($du-time, 'M')"><xsl:value-of select="substring-before(substring-after($du-time, 'M'), 'S')" /></xsl:when>
+                           <xsl:when test="contains($du-time, 'H')"><xsl:value-of select="substring-before(substring-after($du-time, 'H'), 'S')" /></xsl:when>
+                           <xsl:otherwise><xsl:value-of select="substring-before($du-time, 'S')" /></xsl:otherwise>
+                        </xsl:choose>
+                     </xsl:when>
+                     <xsl:otherwise>0</xsl:otherwise>
+                  </xsl:choose>
+               </xsl:variable>
+               <xsl:variable name="mult" select="($du-neg * -2) + 1" />
+               <xsl:variable name="duy" select="$duy-str * $mult" />
+               <xsl:variable name="dum" select="$dum-str * $mult" />
+               <xsl:variable name="dud" select="$dud-str * $mult" />
+               <xsl:variable name="duh" select="$duh-str * $mult" />
+               <xsl:variable name="dumin" select="$dumin-str * $mult" />
+               <xsl:variable name="dus" select="$dus-str * $mult" />
+
+               <xsl:variable name="year" select="substring($dt, 1, 4) * (($dt-neg * -2) + 1)" />
+               <xsl:choose>
+                  <xsl:when test="$year and
+                                  string($duy) = 'NaN' or 
+                                  string($dum) = 'NaN' or 
+                                  string($dud) = 'NaN' or 
+                                  string($duh) = 'NaN' or 
+                                  string($dumin) = 'NaN' or 
+                                  string($dus) = 'NaN'" />
+                  <xsl:when test="$dt-length > 4 or
+                                  $dum or $dud or $duh or $dumin or $dus">
+                     <xsl:variable name="month">
+                        <xsl:choose>
+                           <xsl:when test="$dt-length > 4">
+                              <xsl:if test="substring($dt, 5, 1) = '-'">
+                                 <xsl:value-of select="substring($dt, 6, 2)" />
+                              </xsl:if>
+                           </xsl:when>
+                           <xsl:otherwise>1</xsl:otherwise>
+                        </xsl:choose>
+                     </xsl:variable>
+                     <xsl:choose>
+                        <xsl:when test="not($month) or $month > 12" />
+                        <xsl:when test="$dt-length > 7 or
+                                        $dud or $duh or $dumin or $dus">
+                           <xsl:variable name="day">
+                              <xsl:choose>
+                                 <xsl:when test="$dt-length > 7">
+                                    <xsl:if test="substring($dt, 8, 1) = '-'">
+                                       <xsl:value-of select="substring($dt, 9, 2)" />
+                                    </xsl:if>
+                                 </xsl:when>
+                                 <xsl:otherwise>1</xsl:otherwise>
+                              </xsl:choose>
+                           </xsl:variable>
+                           <xsl:choose>
+                              <xsl:when test="not($day) or $day > 31" />
+                              <xsl:when test="$dt-length > 10 or
+                                              $duh or $dumin or $dus">
+                                 <xsl:if test="$dt-length = 10 or
+                                               (substring($dt, 11, 1) = 'T' and
+                                                substring($dt, 14, 1) = ':' and
+                                                substring($dt, 17, 1) = ':')">
+                                    <xsl:variable name="hour">
+                                       <xsl:choose>
+                                          <xsl:when test="$dt-length > 10"><xsl:value-of select="substring($dt, 12, 2)" /></xsl:when>
+                                          <xsl:otherwise>0</xsl:otherwise>
+                                       </xsl:choose>
+                                    </xsl:variable>
+                                    <xsl:variable name="minute">
+                                       <xsl:choose>
+                                          <xsl:when test="$dt-length > 10"><xsl:value-of select="substring($dt, 15, 2)" /></xsl:when>
+                                          <xsl:otherwise>0</xsl:otherwise>
+                                       </xsl:choose>
+                                    </xsl:variable>
+                                    <xsl:variable name="second">
+                                       <xsl:choose>
+                                          <xsl:when test="$dt-length > 10"><xsl:value-of select="substring($dt, 18)" /></xsl:when>
+                                          <xsl:otherwise>0</xsl:otherwise>
+                                       </xsl:choose>
+                                    </xsl:variable>
+                                    <xsl:if test="$hour &lt;= 23 and $minute &lt;= 59 and $second &lt;= 60">
+                                       <xsl:variable name="new-second" select="$second + $dus" />
+                                       <xsl:variable name="new-minute" select="$minute + $dumin + floor($new-second div 60)" />
+                                       <xsl:variable name="new-hour" select="$hour + $duh + floor($new-minute div 60)" />
+                                       <xsl:variable name="new-month" select="$month + $dum" />
+                                       <xsl:call-template name="date:_add-days">
+                                          <xsl:with-param name="year" select="$year + $duy + floor(($new-month - 1) div 12)" />
+                                          <xsl:with-param name="month">
+                                             <xsl:variable name="m">
+                                                <xsl:choose>
+                                                   <xsl:when test="$new-month &lt; 1"><xsl:value-of select="$new-month + 12" /></xsl:when>
+                                                   <xsl:otherwise><xsl:value-of select="$new-month" /></xsl:otherwise>
+                                                </xsl:choose>
+                                             </xsl:variable>
+                                             <xsl:choose>
+                                                <xsl:when test="$m mod 12">
+                                                   <xsl:value-of select="format-number($m mod 12, '00')" />
+                                                </xsl:when>
+                                                <xsl:otherwise>12</xsl:otherwise>
+                                             </xsl:choose>
+                                          </xsl:with-param>
+                                          <xsl:with-param name="day" select="$day" />
+                                          <xsl:with-param name="days" select="$dud + floor($new-hour div 24)" />
+                                       </xsl:call-template>
+                                       <xsl:text>T</xsl:text>
+                                       <xsl:value-of select="format-number(($new-hour + 24) mod 24, '00')" />
+                                       <xsl:text>:</xsl:text>
+                                       <xsl:value-of select="format-number($new-minute mod 60, '00')" />
+                                       <xsl:text>:</xsl:text>
+                                       <xsl:if test="$new-second mod 60 &lt; 10">0</xsl:if>
+                                       <xsl:value-of select="$new-second mod 60" />
+                                       <xsl:value-of select="$timezone" />
+                                    </xsl:if>
+                                 </xsl:if>
+                              </xsl:when>
+                              <xsl:otherwise>
+                                 <xsl:variable name="new-month" select="$month + $dum" />
+                                 <xsl:call-template name="date:_add-days">
+                                    <xsl:with-param name="year" select="$year + $duy + floor(($new-month - 1) div 12)" />
+                                    <xsl:with-param name="month">
+                                       <xsl:variable name="m">
+                                          <xsl:choose>
+                                             <xsl:when test="$new-month &lt; 1"><xsl:value-of select="$new-month + 12" /></xsl:when>
+                                             <xsl:otherwise><xsl:value-of select="$new-month" /></xsl:otherwise>
+                                          </xsl:choose>
+                                       </xsl:variable>
+                                       <xsl:choose>
+                                          <xsl:when test="$m mod 12">
+                                             <xsl:value-of select="format-number($m mod 12, '00')" />
+                                          </xsl:when>
+                                          <xsl:otherwise>12</xsl:otherwise>
+                                       </xsl:choose>
+                                    </xsl:with-param>
+                                    <xsl:with-param name="day" select="$day" />
+                                    <xsl:with-param name="days" select="$dud" />
+                                 </xsl:call-template>
+                                 <xsl:value-of select="$timezone" />
+                              </xsl:otherwise>
+                           </xsl:choose>
+                        </xsl:when>
+                        <xsl:otherwise>
+                           <xsl:variable name="new-month" select="$month + $dum" />
+                           <xsl:value-of select="format-number($year + $duy + floor(($new-month - 1) div 12), '0000')" />
+                           <xsl:text>-</xsl:text>
+                           <xsl:variable name="m">
+                              <xsl:choose>
+                                 <xsl:when test="$new-month &lt; 1"><xsl:value-of select="$new-month + 12" /></xsl:when>
+                                 <xsl:otherwise><xsl:value-of select="$new-month" /></xsl:otherwise>
+                              </xsl:choose>
+                           </xsl:variable>
+                           <xsl:choose>
+                              <xsl:when test="$m mod 12">
+                                 <xsl:value-of select="format-number($m mod 12, '00')" />
+                              </xsl:when>
+                              <xsl:otherwise>12</xsl:otherwise>
+                           </xsl:choose>
+                           <xsl:value-of select="$timezone" />
+                        </xsl:otherwise>
+                     </xsl:choose>
+                  </xsl:when>
+                  <xsl:otherwise>
+                     <xsl:value-of select="format-number($year + $duy, '0000')" />
+                     <xsl:value-of select="$timezone" />
+                  </xsl:otherwise>
+               </xsl:choose>
+            </xsl:if>
+         </xsl:if>
+      </xsl:if>
+   </xsl:variable>
+   <xsl:choose>
+     <xsl:when test="string-length($date-time) > 10">
+       <xsl:value-of select="$new-dt" />
+     </xsl:when>
+     <xsl:otherwise>
+       <xsl:value-of select="substring($new-dt, 1, string-length($date-time))" />
+     </xsl:otherwise>
+   </xsl:choose>
+</xsl:template>
+
+<xsl:template name="date:_add-days">
+   <xsl:param name="year" />
+   <xsl:param name="month" />
+   <xsl:param name="day" />
+   <xsl:param name="days" />
+   <xsl:param name="new-day" select="'NaN'" />
+   <xsl:variable name="leap" select="(not($year mod 4) and $year mod 100) or not($year mod 400)" />
+   <xsl:variable name="month-days" select="document('')/*/date:month-lengths/date:month" />
+   <xsl:variable name="days-in-month">
+      <xsl:choose>
+         <xsl:when test="$month = 2 and $leap">
+            <xsl:value-of select="$month-days[number($month)] + 1" />
+         </xsl:when>
+         <xsl:otherwise>
+            <xsl:value-of select="$month-days[number($month)]" />
+         </xsl:otherwise>
+      </xsl:choose>
+   </xsl:variable>
+   <xsl:choose>
+      <xsl:when test="$new-day = 'NaN'">
+         <xsl:call-template name="date:_add-days">
+            <xsl:with-param name="year" select="$year" />
+            <xsl:with-param name="month" select="$month" />
+            <xsl:with-param name="new-day">
+               <xsl:choose>
+                  <xsl:when test="$day > $days-in-month">
+                     <xsl:value-of select="$days-in-month + $days" />
+                  </xsl:when>
+                  <xsl:otherwise><xsl:value-of select="$day + $days" /></xsl:otherwise>
+               </xsl:choose>
+            </xsl:with-param>
+         </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+         <xsl:choose>
+            <xsl:when test="$new-day &lt; 1">
+               <xsl:call-template name="date:_add-days">
+                  <xsl:with-param name="year" select="$year - ($month = 1)" />
+                  <xsl:with-param name="month">
+                     <xsl:choose>
+                        <xsl:when test="$month = 1">12</xsl:when>
+                        <xsl:otherwise><xsl:value-of select="$month - 1" /></xsl:otherwise>
+                     </xsl:choose>
+                  </xsl:with-param>
+                  <xsl:with-param name="new-day">
+                     <xsl:variable name="days-in-new-month">
+                        <xsl:choose>
+                           <xsl:when test="$leap and $month = 3">29</xsl:when>
+                           <xsl:when test="$month = 1">31</xsl:when>
+                           <xsl:otherwise>
+                              <xsl:value-of select="$month-days[$month - 1]" />
+                           </xsl:otherwise>
+                        </xsl:choose>
+                     </xsl:variable>                     
+                     <xsl:value-of select="$new-day + $days-in-new-month" />
+                  </xsl:with-param>
+               </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="$new-day > $days-in-month">
+               <xsl:call-template name="date:_add-days">
+                  <xsl:with-param name="year" select="$year + ($month = 12)" />
+                  <xsl:with-param name="month">
+                     <xsl:choose>
+                        <xsl:when test="$month = 12">1</xsl:when>
+                        <xsl:otherwise><xsl:value-of select="$month + 1" /></xsl:otherwise>
+                     </xsl:choose>
+                  </xsl:with-param>
+                  <xsl:with-param name="new-day" select="$new-day - $days-in-month" />
+               </xsl:call-template>
+            </xsl:when>
+            <xsl:otherwise>
+               <xsl:value-of select="format-number($year, '0000')" />
+               <xsl:text>-</xsl:text>
+               <xsl:value-of select="format-number($month, '00')" />
+               <xsl:text>-</xsl:text>
+               <xsl:value-of select="format-number($new-day, '00')" />
+            </xsl:otherwise>
+         </xsl:choose>
+      </xsl:otherwise>
+   </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>
\ No newline at end of file

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/resources/stylesheets/document-to-ics.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/resources/stylesheets/document-to-ics.xsl?rev=830459&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/resources/stylesheets/document-to-ics.xsl (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/resources/stylesheets/document-to-ics.xsl Wed Oct 28 08:24:53 2009
@@ -0,0 +1,76 @@
+<?xml version="1.0"?>
+
+<!--+
+    | Transforms last section of meeting memos into iCal todo lists
+    +-->
+
+<xsl:stylesheet version="1.0"
+                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:date="http://exslt.org/dates-and-times"
+                extension-element-prefixes="date">
+
+  <xsl:import href="lm://transform-exslt/date/functions/add/date.add.template.xsl" />
+  <!--xsl:import href="date.add.template.xsl" /-->
+
+  <xsl:output method="text"/>
+  <xsl:param name="person"/>
+  <xsl:param name="date"/>
+  <xsl:param name="defaultTimeSpan"/>
+
+  <xsl:variable name="timeSpanString" >
+    <xsl:value-of select='concat("P", $defaultTimeSpan)'/>
+  </xsl:variable>
+
+  <xsl:variable name="tdate" >
+    <xsl:call-template name="date:add">
+      <xsl:with-param name="date-time" select="$date" />
+      <xsl:with-param name="duration" select="$timeSpanString" />
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="bgndate" select="translate($date,'-','')"/>
+  <xsl:variable name="duedate" select="translate($tdate,'-','')"/>
+
+  <xsl:template match="/document"
+>BEGIN:VCALENDAR
+VERSION:2.0
+PRODID:-//Divvun//Forrest Wiki iCal//EN
+CALSCALE:GREGORIAN
+<xsl:apply-templates select="body/section[last()]"/>END:VCALENDAR
+</xsl:template>
+
+  <xsl:template match="body/section[last()]">
+    <xsl:apply-templates select="section[contains(title,$person)]"/>
+  </xsl:template>
+
+  <xsl:template match="section[contains(title,$person)]">
+    <xsl:apply-templates select="ul/li"/>
+  </xsl:template>
+
+  <xsl:template match="section/ul/li"
+>BEGIN:VTODO
+DTSTAMP;VALUE=DATE:<xsl:value-of select="$bgndate"/>
+DUE;VALUE=DATE:<xsl:value-of select="$duedate"/>
+SUMMARY:<xsl:choose>
+<xsl:when test="./ul">
+<xsl:value-of select="text()"/>
+</xsl:when>
+<xsl:otherwise>
+<xsl:value-of select="string(.)"/>
+</xsl:otherwise>
+</xsl:choose>
+<xsl:apply-templates select="ul"/>
+<xsl:apply-templates select="link"/>
+END:VTODO
+</xsl:template>
+
+  <xsl:template match="ul/li/ul">
+DESCRIPTION:<xsl:apply-templates select="li"/></xsl:template>
+
+  <xsl:template match="ul/li/ul/li">• <xsl:apply-templates/>\n</xsl:template>
+
+  <xsl:template match="link">
+URL;VALUE=URI:<xsl:value-of select="@href"/>
+</xsl:template>
+
+</xsl:stylesheet>

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/classes/CatalogManager.properties
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/classes/CatalogManager.properties?rev=830459&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/classes/CatalogManager.properties (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/classes/CatalogManager.properties Wed Oct 28 08:24:53 2009
@@ -0,0 +1,20 @@
+# 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.
+
+#=======================================================================
+# CatalogManager.properties for Catalog Entity Resolver.
+#
+# This is a minimal properties file to prevent a confusing warning.
+catalogs=

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/Meeting_2009-10-21.jspwiki
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/Meeting_2009-10-21.jspwiki?rev=830459&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/Meeting_2009-10-21.jspwiki (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/Meeting_2009-10-21.jspwiki Wed Oct 28 08:24:53 2009
@@ -0,0 +1,18 @@
+!!!Demonstrating the iCal output plugin
+
+The iCal output plugin for Forrest will extract tasks from the last section of the document. Within this section, there is one subsection for each person for which we want to make task lists. The lists themselves are ordinary unordered lists.
+
+For now each task is given one week of execution time. This deadline is presently hardcoded, but should be turned into a default property which can be set by each project. Also, it would be nice to extend the present conventions for events such that one could set an arbitrary deadline directly on each task.
+
+!!!Tasks
+
+!!Joe
+[iCal tasks|Tasks_2009-10-21_Joe.ics]  - click this link to download the
+following tasks as iCal entries.
+* move default deadline into a property
+* extend the conventions for todo items to include an explicit deadline
+* allow more flexible naming conventions for the meeting documents and the
+  related iCal file
+* this task also contains a URL
+  [iCal info|http://en.wikipedia.org/wiki/ICalendar] - it should be rendered
+  properly in your iCal client

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/images/group-logo.gif
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/images/group-logo.gif?rev=830459&view=auto
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/images/group-logo.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/images/group.svg
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/images/group.svg?rev=830459&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/images/group.svg (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/images/group.svg Wed Oct 28 08:24:53 2009
@@ -0,0 +1,82 @@
+<?xml version="1.0" standalone="no"?>
+<!--
+  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.
+-->
+
+<!--
+       SVG Anteater logo
+
+To get started with SVG, I'd recommend getting the Adobe SVG plugin, and the
+xml-batik CVS module. Then have a look at the xml-batik/samples files. Use the
+SVG spec (http://www.w3.org/TR/SVG/) as a reference.
+-->
+
+<!-- See Forrest Issue: FOR-229
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
+"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"
+[
+ <!ATTLIST svg xmlns:for CDATA #FIXED "http://apache.org/forrest">
+ <!ENTITY % textExt "|for:group-name">
+ <!ELEMENT for:group-name (#PCDATA)>
+]>
+-->
+<svg xmlns="http://www.w3.org/2000/svg"
+     xmlns:xlink="http://www.w3.org/1999/xlink"
+     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+     xsl:version="1.0"
+     xmlns:for="http://apache.org/forrest"
+     width="220" height="65" >
+  <title>Anteater logo</title>
+
+  <defs>
+
+    <!--
+    <radialGradient id="radialGradient">
+      <stop style="stop-color:gold" offset="0"/>
+      <stop style="stop-color:orange" offset=".5"/>
+      <stop style="stop-color:crimson" offset="1"/>
+    </radialGradient>
+    <linearGradient id="linearGradient">
+      <stop style="stop-color:gold" offset="0"/>
+      <stop style="stop-color:orange" offset=".5"/>
+      <stop style="stop-color:crimson" offset="1"/>
+    </linearGradient>
+    -->
+
+    <linearGradient id="gradient" x1="0" y1="0" x2="0" y2="1">
+      <stop style="stop-color:white" offset="0"/>
+      <stop style="stop-color:lightgreen" offset="1"/>
+    </linearGradient>
+
+    <filter id="shadowFilter" filterUnits="objectBoundingBox" width="1.4" height="1.4">
+      <!-- Takes the alpha channel (black outline of the text), blurs it and saves as 'blur' -->
+      <feGaussianBlur in="SourceAlpha" stdDeviation="2 2" result="blur"/>
+      <!-- Takes saved 'blur' and offsets it by 4 pixels, saves as 'offsetBlur' -->
+      <feOffset in="blur" dx="4" dy="4" result="offsetBlur"/>
+      <!-- Merges SourceGraphic (original image) and 'offsetBlur', putting the
+      former 'over' the latter, and using the merged result as the finished
+      image -->
+      <feComposite in="SourceGraphic" in2="offsetBlur" operator="over"/>
+    </filter>
+
+  </defs>
+
+  <g filter="url(#shadowFilter)" fill="url(#gradient)">
+    <text x="40%" y="60%" style="font-size:24pt; font-family:Verdana ; text-anchor: middle">
+    <for:group-name />
+    </text>
+  </g>
+</svg>

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/images/icon.png
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/images/icon.png?rev=830459&view=auto
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/images/icon.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/images/project-logo.gif
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/images/project-logo.gif?rev=830459&view=auto
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/images/project-logo.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/images/project.svg
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/images/project.svg?rev=830459&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/images/project.svg (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/images/project.svg Wed Oct 28 08:24:53 2009
@@ -0,0 +1,82 @@
+<?xml version="1.0" standalone="no"?>
+<!--
+  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.
+-->
+
+<!--
+       SVG Anteater logo
+
+To get started with SVG, I'd recommend getting the Adobe SVG plugin, and the
+xml-batik CVS module. Then have a look at the xml-batik/samples files. Use the
+SVG spec (http://www.w3.org/TR/SVG/) as a reference.
+-->
+
+<!-- See Forrest Issue: FOR-229
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
+"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"
+[
+ <!ATTLIST svg xmlns:for CDATA #FIXED "http://apache.org/forrest">
+ <!ENTITY % textExt "|for:project-name">
+ <!ELEMENT for:project-name (#PCDATA)>
+]>
+-->
+<svg xmlns="http://www.w3.org/2000/svg"
+     xmlns:xlink="http://www.w3.org/1999/xlink"
+     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+     xsl:version="1.0"
+     xmlns:for="http://apache.org/forrest"
+     width="420" height="65" >
+  <title>Anteater logo</title>
+
+  <defs>
+
+    <!--
+    <radialGradient id="radialGradient">
+      <stop style="stop-color:gold" offset="0"/>
+      <stop style="stop-color:orange" offset=".5"/>
+      <stop style="stop-color:crimson" offset="1"/>
+    </radialGradient>
+    <linearGradient id="linearGradient">
+      <stop style="stop-color:gold" offset="0"/>
+      <stop style="stop-color:orange" offset=".5"/>
+      <stop style="stop-color:crimson" offset="1"/>
+    </linearGradient>
+    -->
+
+    <linearGradient id="gradient" x1="0" y1="0" x2="0" y2="1">
+      <stop style="stop-color:white" offset="0"/>
+      <stop style="stop-color:lightgreen" offset="1"/>
+    </linearGradient>
+
+    <filter id="shadowFilter" filterUnits="objectBoundingBox" width="1.4" height="1.4">
+      <!-- Takes the alpha channel (black outline of the text), blurs it and saves as 'blur' -->
+      <feGaussianBlur in="SourceAlpha" stdDeviation="2 2" result="blur"/>
+      <!-- Takes saved 'blur' and offsets it by 4 pixels, saves as 'offsetBlur' -->
+      <feOffset in="blur" dx="4" dy="4" result="offsetBlur"/>
+      <!-- Merges SourceGraphic (original image) and 'offsetBlur', putting the
+      former 'over' the latter, and using the merged result as the finished
+      image -->
+      <feComposite in="SourceGraphic" in2="offsetBlur" operator="over"/>
+    </filter>
+
+  </defs>
+
+  <g filter="url(#shadowFilter)" fill="url(#gradient)">
+    <text x="100%" y="60%" style="font-size:24pt; font-family:Verdana ; text-anchor: end" >
+    <for:project-name />
+    </text>
+  </g>
+</svg>

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/images/usemap.gif
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/images/usemap.gif?rev=830459&view=auto
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/images/usemap.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/index.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/index.xml?rev=830459&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/index.xml (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/index.xml Wed Oct 28 08:24:53 2009
@@ -0,0 +1,101 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  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.
+-->
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+<document>
+  <header>
+    <title>Welcome to the org.apache.forrest.plugin.output.iCal Plugin</title>
+  </header>
+  <body>
+    <section id="overview">
+      <title>Apache Forrest - org.apache.forrest.plugin.output.iCal Plugin</title>
+      <p>
+        This plugin extracts todo items from a document following certain conventions, and produce an ical file as output. The ical file can then be opened in your preferred calendaring/task management application.
+      </p>
+    </section>
+    <section id="samples">
+      <title>Samples</title>
+      <p>
+        This section includes links to a number of samples using this plugin.
+        The plugin is intended to be self documenting through these samples. If
+        you require further help please ask on the dev mailing list (you should
+        use the dev mailing list since this plugin is still in the whiteboard).
+      </p>
+      <ul>
+        <li>Here's a simple <a href="memos/Meeting_2009-10-21.html">memo with a
+            task list</a>. The memo is written in the <a
+            href="http://www.jspwiki.org">jspwiki format</a>, which is itself
+            supported as an input format in Forrest by the <a
+            href="http://forrest.apache.org/pluginDocs/plugins_0_80/org.apache.forrest.plugin.input.wiki/"
+            >org.apache.forrest.plugin.output.Wiki</a> plugin. This makes it
+            very easy to create task lists. See the <a
+            href="Meeting_2009-10-21.jspwiki">source</a> to see how easy it
+            is.</li>
+        <li>Here's another sample <a href="Meeting_2009-10-21.html">memo
+            with a task list</a>, this time in the root directory.</li>
+      </ul>
+      <note>
+        The more samples included here the easier it is for users to understand
+        this plugin. If you can provide additional samples please do so.
+      </note>
+    </section>
+    <section id="urlconvention">
+      <title>URL convention</title>
+      <p>The iCal output plugin requires some information to be able to produce
+        proper iCal entries:
+      </p>
+      <ul>
+        <li>start date</li>
+        <li>name of person / person ID</li>
+      </ul>
+      <p>This information is encoded in the url, according to the following
+        convention: <code>$FILENAME_$STARTDATE_$PERSON.ics</code>. The date is
+        on the format <code>YEAR-MONTH-DAY</code> ie <code>2009-10-21</code>.
+        The filename is either the real name of the file, or a mapping to a more
+        calendaring-like name of your choice, see the properties below. Also,
+        the date needs to be part of the filename as well in the present
+        implementation. That is, the filename
+        <code>Meeting_2009-10-21.xml</code> corresponds to the iCal URL
+        <code>Meeting_2009-10-21_Joe.ics</code> for the person Joe using no
+        mapping between filename and URL. Using the default mapping the iCal
+        URL would be <code>Tasks_2009-10-21_Joe.ics</code>.
+      </p>
+    </section>
+    <section id="settings">
+      <title>Configuration</title>
+      <p>The plugin can be configured using properties in the file
+        <code>forrest.properties.xml</code> in the root folder of your project
+        tree. The following properties are presently supported:
+      </p>
+      <dl>
+        <dt><code>output.ical.URLprefix</code></dt>
+        <dd>If specified, the first part of the URL filename is mapped to the
+            value of this property. Default value is <code>Tasks</code>.</dd>
+        <dt><code>output.ical.FilePrefix</code></dt>
+        <dd>If specified, the first part of the real filename is mapped to the
+            value of this property. Default value is <code>Meeting</code>.</dd>
+        <dt><code>output.ical.defaultTimeSpan</code></dt>
+        <dd>Specifies the standard duration for a task, ie the number of days
+            from the start until it should have been completed. Default value
+            is <code>7D</code>, that is, 7 days = one week. The timespan values
+            supported are those supported by the <a
+            href="http://www.exslt.org/date/functions/add/index.html">EXSLT
+            <code>add</code> function</a>.</dd>
+      </dl>
+    </section>
+  </body>
+</document>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/index.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/memos/Meeting_2009-10-21.jspwiki
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/memos/Meeting_2009-10-21.jspwiki?rev=830459&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/memos/Meeting_2009-10-21.jspwiki (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/memos/Meeting_2009-10-21.jspwiki Wed Oct 28 08:24:53 2009
@@ -0,0 +1,18 @@
+!!!Demonstrating the iCal output plugin
+
+The iCal output plugin for Forrest will extract tasks from the last section of the document. Within this section, there is one subsection for each person for which we want to make task lists. The lists themselves are ordinary unordered lists.
+
+For now each task is given one week of execution time. This deadline is presently hardcoded, but should be turned into a default property which can be set by each project. Also, it would be nice to extend the present conventions for events such that one could set an arbitrary deadline directly on each task.
+
+!!!Tasks
+
+!!Joe
+[iCal tasks|Tasks_2009-10-21_Joe.ics]  - click this link to download the
+following tasks as iCal entries.
+* move default deadline into a property
+* extend the conventions for todo items to include an explicit deadline
+* allow more flexible naming conventions for the meeting documents and the
+  related iCal file
+* this task also contains a URL
+  [iCal info|http://en.wikipedia.org/wiki/ICalendar] - it should be rendered
+  properly in your iCal client

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/site.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/site.xml?rev=830459&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/site.xml (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/site.xml Wed Oct 28 08:24:53 2009
@@ -0,0 +1,57 @@
+<?xml version="1.0"?>
+<!--
+  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.
+-->
+<!--
+Forrest site.xml
+
+This file contains an outline of the site's information content.  It is used to:
+- Generate the website menus (though these can be overridden - see docs)
+- Provide semantic, location-independent aliases for internal 'site:' URIs, eg
+<link href="site:changes"> links to changes.html (or ../changes.html if in
+  subdir).
+- Provide aliases for external URLs in the external-refs section.  Eg, <link
+  href="ext:cocoon"> links to http://cocoon.apache.org/ 
+
+See http://forrest.apache.org/docs/linking.html for more info
+-->
+<site label="org.apache.forrest.plugin.output.iCal" href="" xmlns="http://apache.org/forrest/linkmap/1.0" tab="">
+  <about label="About">
+    <index label="Index" href="index.html" description="Welcome to org.apache.forrest.plugin.output.iCal"/>
+    <forrestPlugins label="Plugins Index" href="ext:forrest/plugins" description="Index of Forrest Plugins"/>
+    <changes label="Changes" href="changes.html" description="History of Changes" />
+    <todo label="Todo" href="todo.html" description="Todo List" />
+  </about>
+  <samples label="Samples">
+    <sample-1 label="Sample-1" href="sample-1.html" description="Demonstration of functionality" />
+  </samples>
+<!--
+  The href must be wholesite.html/pdf  You can change the labels and node names
+  <all label="All">
+    <whole_site_html label="Whole Site HTML" href="wholesite.html"/>
+    <whole_site_pdf label="Whole Site PDF" href="wholesite.pdf"/>
+  </all>
+  -->
+  <external-refs>
+    <forrest href="http://forrest.apache.org/">
+      <linking href="docs/linking.html"/>
+      <validation href="docs/validation.html"/>
+      <webapp href="docs/your-project.html#webapp"/>
+      <dtd-docs href="docs/dtd-docs.html"/>
+      <plugins href="docs/plugins"/>
+    </forrest>
+  </external-refs>
+</site>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/site.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/tabs.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/tabs.xml?rev=830459&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/tabs.xml (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/tabs.xml Wed Oct 28 08:24:53 2009
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  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.
+-->
+<!DOCTYPE tabs PUBLIC "-//APACHE//DTD Cocoon Documentation Tab V1.1//EN" "http://forrest.apache.org/dtd/tab-cocoon-v11.dtd">
+<tabs software="MyProj"
+  title="MyProj"
+  copyright="Foo"
+  xmlns:xlink="http://www.w3.org/1999/xlink">
+<!-- The rules for tabs are:
+    @dir will always have '/@indexfile' added.
+    @indexfile gets appended to @dir if the tab is selected. Defaults to 'index.html'
+    @href is not modified unless it is root-relative and obviously specifies a
+    directory (ends in '/'), in which case /index.html will be added
+    If @id's are present, site.xml entries with a matching @tab will be in that tab.
+
+   Tabs can be embedded to a depth of two. The second level of tabs will only 
+    be displayed when their parent tab is selected.    
+  -->
+  <tab id="plugins" label="Forrest Plugins" href="http://forrest.apache.org/pluginDocs" indexfile="index.html"/>
+  <tab id="" label="Plugin Home" dir="" indexfile="index.html"/>
+<!-- Add new tabs here, eg:
+  <tab label="How-Tos" dir="community/howto/"/>
+  <tab label="XML Site" dir="xml-site/"/>
+  -->
+</tabs>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/content/xdocs/tabs.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/skinconf.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/skinconf.xml?rev=830459&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/skinconf.xml (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/skinconf.xml Wed Oct 28 08:24:53 2009
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<!--
+  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.
+-->
+<!DOCTYPE skinconfig PUBLIC "-//APACHE//DTD Skin Configuration V0.7-1//EN" "http://forrest.apache.org/dtd/skinconfig-v07-1.dtd"
+[
+  <!ENTITY skinconf-common PUBLIC "-//Apache Forrest//ENTITIES Skin Configuration common plugins V0.7-1//EN" "">
+]>
+<skinconfig>
+  &skinconf-common;
+
+  <project-name>Plugin: org.apache.forrest.plugin.output.iCal</project-name>
+  <project-description>org.apache.forrest.plugin.output.iCal plugin for Apache Forrest</project-description>
+</skinconfig>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/src/documentation/skinconf.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/status.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/status.xml?rev=830459&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/status.xml (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.iCal/status.xml Wed Oct 28 08:24:53 2009
@@ -0,0 +1,55 @@
+<?xml version="1.0"?>
+<!--
+  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.
+-->
+<status>
+  <developers>
+<!-- Add new developers here -->
+    <person name="Volunteer needed" email="dev@forrest.apache.org" id="open"/>
+  </developers>
+<!-- Define here the Title of the Context you want to display in the Changes pages.
+       id = the context value of actions
+       title = Title of the Context
+  -->
+  <contexts>
+<!-- Add new contexts here -->
+    <context id="code" title="Changes to the Code Base"/>
+    <context id="docs" title="Changes to Documentation"/>
+    <context id="admin" title="Changes to Project Administration"/>
+    <context id="design" title="Changes to Design"/>
+    <context id="build" title="Changes to Build"/>
+  </contexts>
+  <changes>
+<!-- Add new releases here -->
+    <release version="0.1" date="2009-10-28">
+      <action dev="SNM" type="add" context="admin">
+        Initial plugin code.
+      </action>
+    </release>
+  </changes>
+  <todo>
+    <actions priority="high">
+      <action context="code" dev="SNM">
+        Enable explicit deadlines.
+      </action>
+      <action context="docs" dev="open">
+        Create the documentation with lots of examples and samples.  
+        XML content goes in
+        <code>src/documentation/content/xdocs</code>.
+      </action>
+    </actions>
+  </todo>
+</status>



Mime
View raw message