Testing with /ng/ context path for temporary https://sling.apache.org/ng/ setup
Project: http://git-wip-us.apache.org/repos/asf/sling-site/repo Commit: http://git-wip-us.apache.org/repos/asf/sling-site/commit/b033d3d7 Tree: http://git-wip-us.apache.org/repos/asf/sling-site/tree/b033d3d7 Diff: http://git-wip-us.apache.org/repos/asf/sling-site/diff/b033d3d7 Branch: refs/heads/asf-site Commit: b033d3d713d5e85ccae6b331eaee085c42310073 Parents: 3a935d0 Author: Bertrand Delacretaz <bdelacre...@apache.org> Authored: Wed Jun 21 09:21:36 2017 +0200 Committer: Bertrand Delacretaz <bdelacre...@apache.org> Committed: Wed Jun 21 09:21:36 2017 +0200 ---------------------------------------------------------------------- documentation/bundles/2010-07-01_1036.png | Bin 0 -> 35073 bytes documentation/bundles/Slide14.jpg | Bin 0 -> 76316 bytes .../config-resource-lookup.png | Bin 0 -> 38694 bytes .../context-and-config-reference.png | Bin 0 -> 27362 bytes .../context-aware-config-example.png | Bin 0 -> 21149 bytes .../illustration-sources.pptx | Bin 0 -> 32227 bytes .../resource-inheritance.png | Bin 0 -> 28057 bytes .../bundles/discovery-impl-split-brain.png | Bin 0 -> 96082 bytes documentation/bundles/jconsole-hc.jpg | Bin 0 -> 148619 bytes documentation/bundles/mdc-filter-config.png | Bin 0 -> 35715 bytes documentation/bundles/metric-web-console.png | Bin 0 -> 97296 bytes documentation/bundles/mimetypes.png | Bin 0 -> 78378 bytes .../bundles/requesttracker-details.png | Bin 0 -> 116868 bytes documentation/bundles/requesttracker.png | Bin 0 -> 121842 bytes .../bundles/resource-editor-screenshot.png | Bin 0 -> 525087 bytes .../Scripting-Thymeleaf-Class-Diagram.png | Bin 0 -> 64028 bytes ...g-Thymeleaf-Pattern-TemplateModeProvider.png | Bin 0 -> 325263 bytes ...Thymeleaf-ResourceBundle-MessageResolver.png | Bin 0 -> 148700 bytes .../Scripting-Thymeleaf-ScriptEngineFactory.png | Bin 0 -> 346546 bytes ...hymeleaf-Sling-Resource-TemplateResolver.png | Bin 0 -> 133754 bytes .../bundles/scripting/sling-fling-sample.png | Bin 0 -> 227987 bytes documentation/bundles/sling-hc-plugin.jpg | Bin 0 -> 113760 bytes .../bundles/sling-main-servlet-config.png | Bin 0 -> 225507 bytes documentation/bundles/tracer-config.png | Bin 0 -> 68924 bytes .../eclipse-settings-null-analysis.png | Bin 0 -> 189331 bytes .../ide-tooling/add-remove-projects.png | Bin 0 -> 42031 bytes .../ide-tooling/content-navigator.png | Bin 0 -> 12498 bytes .../ide-tooling/convert-to-bundle-projects.png | Bin 0 -> 41976 bytes documentation/development/ide-tooling/debug.png | Bin 0 -> 83280 bytes .../development/ide-tooling/jcr-properties.png | Bin 0 -> 20510 bytes .../ide-tooling/launchpad-models-directory.png | Bin 0 -> 7214 bytes .../ide-tooling/missing-scr-descriptor.png | Bin 0 -> 33122 bytes .../ide-tooling/new-bundle-project-step-1.png | Bin 0 -> 29861 bytes .../ide-tooling/new-bundle-project-step-2.png | Bin 0 -> 28009 bytes .../ide-tooling/new-bundle-project-step-3.png | Bin 0 -> 30317 bytes .../ide-tooling/new-bundle-project-step-4.png | Bin 0 -> 37535 bytes .../ide-tooling/new-content-project-step-1.png | Bin 0 -> 28649 bytes .../ide-tooling/new-content-project-step-2.png | Bin 0 -> 23603 bytes .../ide-tooling/new-content-project-step-3.png | Bin 0 -> 37535 bytes .../development/ide-tooling/new-server-2.png | Bin 0 -> 51234 bytes .../development/ide-tooling/new-server.png | Bin 0 -> 42477 bytes .../ide-tooling/repository-export.png | Bin 0 -> 21165 bytes .../ide-tooling/repository-import.png | Bin 0 -> 27492 bytes .../ide-tooling/server-definition.png | Bin 0 -> 76595 bytes .../development/ide-tooling/servers-view.png | Bin 0 -> 11728 bytes .../development/ide-tooling/sightly-editor.png | Bin 0 -> 40387 bytes .../development/ide-tooling/sling-console.png | Bin 0 -> 29372 bytes .../development/ide-tooling/tracing.png | Bin 0 -> 46963 bytes .../development/sling-datasource-config.png | Bin 0 -> 69485 bytes documentation/development/sling-log-support.png | Bin 0 -> 92565 bytes .../development/sling-requests-plugin.jpg | Bin 0 -> 142155 bytes .../the-sling-engine/authentication.png | Bin 0 -> 27987 bytes .../tutorials-how-tos/DropBoxEventHandler.java | 82 + .../tutorials-how-tos/DropBoxService.java | 53 + obr/obr2html.xsl | 119 + obr/repository.xml | 7 + obr/sling.xml | 18233 +++++++++++++++++ obr/thirdparty.xml | 673 + res/css/icons/check.gif | Bin 0 -> 604 bytes res/css/icons/forbidden.gif | Bin 0 -> 613 bytes res/css/icons/information.gif | Bin 0 -> 1005 bytes res/css/icons/warning.gif | Bin 0 -> 569 bytes res/favicon.ico | Bin 0 -> 1150 bytes xsd/bundle-list-1.0.0.xsd | 86 + 64 files changed, 19253 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/bundles/2010-07-01_1036.png ---------------------------------------------------------------------- diff --git a/documentation/bundles/2010-07-01_1036.png b/documentation/bundles/2010-07-01_1036.png new file mode 100644 index 0000000..4b6ef56 Binary files /dev/null and b/documentation/bundles/2010-07-01_1036.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/bundles/Slide14.jpg ---------------------------------------------------------------------- diff --git a/documentation/bundles/Slide14.jpg b/documentation/bundles/Slide14.jpg new file mode 100644 index 0000000..f877c86 Binary files /dev/null and b/documentation/bundles/Slide14.jpg differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/bundles/context-aware-configuration/config-resource-lookup.png ---------------------------------------------------------------------- diff --git a/documentation/bundles/context-aware-configuration/config-resource-lookup.png b/documentation/bundles/context-aware-configuration/config-resource-lookup.png new file mode 100644 index 0000000..8255ca3 Binary files /dev/null and b/documentation/bundles/context-aware-configuration/config-resource-lookup.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/bundles/context-aware-configuration/context-and-config-reference.png ---------------------------------------------------------------------- diff --git a/documentation/bundles/context-aware-configuration/context-and-config-reference.png b/documentation/bundles/context-aware-configuration/context-and-config-reference.png new file mode 100644 index 0000000..9dbd0b9 Binary files /dev/null and b/documentation/bundles/context-aware-configuration/context-and-config-reference.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/bundles/context-aware-configuration/context-aware-config-example.png ---------------------------------------------------------------------- diff --git a/documentation/bundles/context-aware-configuration/context-aware-config-example.png b/documentation/bundles/context-aware-configuration/context-aware-config-example.png new file mode 100644 index 0000000..8c900a6 Binary files /dev/null and b/documentation/bundles/context-aware-configuration/context-aware-config-example.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/bundles/context-aware-configuration/illustration-sources.pptx ---------------------------------------------------------------------- diff --git a/documentation/bundles/context-aware-configuration/illustration-sources.pptx b/documentation/bundles/context-aware-configuration/illustration-sources.pptx new file mode 100644 index 0000000..324604e Binary files /dev/null and b/documentation/bundles/context-aware-configuration/illustration-sources.pptx differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/bundles/context-aware-configuration/resource-inheritance.png ---------------------------------------------------------------------- diff --git a/documentation/bundles/context-aware-configuration/resource-inheritance.png b/documentation/bundles/context-aware-configuration/resource-inheritance.png new file mode 100644 index 0000000..89cc9f4 Binary files /dev/null and b/documentation/bundles/context-aware-configuration/resource-inheritance.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/bundles/discovery-impl-split-brain.png ---------------------------------------------------------------------- diff --git a/documentation/bundles/discovery-impl-split-brain.png b/documentation/bundles/discovery-impl-split-brain.png new file mode 100644 index 0000000..d14c7fe Binary files /dev/null and b/documentation/bundles/discovery-impl-split-brain.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/bundles/jconsole-hc.jpg ---------------------------------------------------------------------- diff --git a/documentation/bundles/jconsole-hc.jpg b/documentation/bundles/jconsole-hc.jpg new file mode 100644 index 0000000..4087cf9 Binary files /dev/null and b/documentation/bundles/jconsole-hc.jpg differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/bundles/mdc-filter-config.png ---------------------------------------------------------------------- diff --git a/documentation/bundles/mdc-filter-config.png b/documentation/bundles/mdc-filter-config.png new file mode 100644 index 0000000..9f14b35 Binary files /dev/null and b/documentation/bundles/mdc-filter-config.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/bundles/metric-web-console.png ---------------------------------------------------------------------- diff --git a/documentation/bundles/metric-web-console.png b/documentation/bundles/metric-web-console.png new file mode 100644 index 0000000..561e199 Binary files /dev/null and b/documentation/bundles/metric-web-console.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/bundles/mimetypes.png ---------------------------------------------------------------------- diff --git a/documentation/bundles/mimetypes.png b/documentation/bundles/mimetypes.png new file mode 100644 index 0000000..ec54519 Binary files /dev/null and b/documentation/bundles/mimetypes.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/bundles/requesttracker-details.png ---------------------------------------------------------------------- diff --git a/documentation/bundles/requesttracker-details.png b/documentation/bundles/requesttracker-details.png new file mode 100644 index 0000000..3640579 Binary files /dev/null and b/documentation/bundles/requesttracker-details.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/bundles/requesttracker.png ---------------------------------------------------------------------- diff --git a/documentation/bundles/requesttracker.png b/documentation/bundles/requesttracker.png new file mode 100644 index 0000000..e625a5c Binary files /dev/null and b/documentation/bundles/requesttracker.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/bundles/resource-editor-screenshot.png ---------------------------------------------------------------------- diff --git a/documentation/bundles/resource-editor-screenshot.png b/documentation/bundles/resource-editor-screenshot.png new file mode 100644 index 0000000..0cfe87c Binary files /dev/null and b/documentation/bundles/resource-editor-screenshot.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/bundles/scripting/Scripting-Thymeleaf-Class-Diagram.png ---------------------------------------------------------------------- diff --git a/documentation/bundles/scripting/Scripting-Thymeleaf-Class-Diagram.png b/documentation/bundles/scripting/Scripting-Thymeleaf-Class-Diagram.png new file mode 100644 index 0000000..033bc39 Binary files /dev/null and b/documentation/bundles/scripting/Scripting-Thymeleaf-Class-Diagram.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/bundles/scripting/Scripting-Thymeleaf-Pattern-TemplateModeProvider.png ---------------------------------------------------------------------- diff --git a/documentation/bundles/scripting/Scripting-Thymeleaf-Pattern-TemplateModeProvider.png b/documentation/bundles/scripting/Scripting-Thymeleaf-Pattern-TemplateModeProvider.png new file mode 100644 index 0000000..6585ab5 Binary files /dev/null and b/documentation/bundles/scripting/Scripting-Thymeleaf-Pattern-TemplateModeProvider.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/bundles/scripting/Scripting-Thymeleaf-ResourceBundle-MessageResolver.png ---------------------------------------------------------------------- diff --git a/documentation/bundles/scripting/Scripting-Thymeleaf-ResourceBundle-MessageResolver.png b/documentation/bundles/scripting/Scripting-Thymeleaf-ResourceBundle-MessageResolver.png new file mode 100644 index 0000000..97686c1 Binary files /dev/null and b/documentation/bundles/scripting/Scripting-Thymeleaf-ResourceBundle-MessageResolver.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/bundles/scripting/Scripting-Thymeleaf-ScriptEngineFactory.png ---------------------------------------------------------------------- diff --git a/documentation/bundles/scripting/Scripting-Thymeleaf-ScriptEngineFactory.png b/documentation/bundles/scripting/Scripting-Thymeleaf-ScriptEngineFactory.png new file mode 100644 index 0000000..b11e5a4 Binary files /dev/null and b/documentation/bundles/scripting/Scripting-Thymeleaf-ScriptEngineFactory.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/bundles/scripting/Scripting-Thymeleaf-Sling-Resource-TemplateResolver.png ---------------------------------------------------------------------- diff --git a/documentation/bundles/scripting/Scripting-Thymeleaf-Sling-Resource-TemplateResolver.png b/documentation/bundles/scripting/Scripting-Thymeleaf-Sling-Resource-TemplateResolver.png new file mode 100644 index 0000000..59381ca Binary files /dev/null and b/documentation/bundles/scripting/Scripting-Thymeleaf-Sling-Resource-TemplateResolver.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/bundles/scripting/sling-fling-sample.png ---------------------------------------------------------------------- diff --git a/documentation/bundles/scripting/sling-fling-sample.png b/documentation/bundles/scripting/sling-fling-sample.png new file mode 100644 index 0000000..f5d1955 Binary files /dev/null and b/documentation/bundles/scripting/sling-fling-sample.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/bundles/sling-hc-plugin.jpg ---------------------------------------------------------------------- diff --git a/documentation/bundles/sling-hc-plugin.jpg b/documentation/bundles/sling-hc-plugin.jpg new file mode 100644 index 0000000..7aff1c8 Binary files /dev/null and b/documentation/bundles/sling-hc-plugin.jpg differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/bundles/sling-main-servlet-config.png ---------------------------------------------------------------------- diff --git a/documentation/bundles/sling-main-servlet-config.png b/documentation/bundles/sling-main-servlet-config.png new file mode 100644 index 0000000..cf667d5 Binary files /dev/null and b/documentation/bundles/sling-main-servlet-config.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/bundles/tracer-config.png ---------------------------------------------------------------------- diff --git a/documentation/bundles/tracer-config.png b/documentation/bundles/tracer-config.png new file mode 100644 index 0000000..897259f Binary files /dev/null and b/documentation/bundles/tracer-config.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/development/eclipse-settings-null-analysis.png ---------------------------------------------------------------------- diff --git a/documentation/development/eclipse-settings-null-analysis.png b/documentation/development/eclipse-settings-null-analysis.png new file mode 100644 index 0000000..036c5ad Binary files /dev/null and b/documentation/development/eclipse-settings-null-analysis.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/development/ide-tooling/add-remove-projects.png ---------------------------------------------------------------------- diff --git a/documentation/development/ide-tooling/add-remove-projects.png b/documentation/development/ide-tooling/add-remove-projects.png new file mode 100644 index 0000000..1c775f3 Binary files /dev/null and b/documentation/development/ide-tooling/add-remove-projects.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/development/ide-tooling/content-navigator.png ---------------------------------------------------------------------- diff --git a/documentation/development/ide-tooling/content-navigator.png b/documentation/development/ide-tooling/content-navigator.png new file mode 100644 index 0000000..be2468f Binary files /dev/null and b/documentation/development/ide-tooling/content-navigator.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/development/ide-tooling/convert-to-bundle-projects.png ---------------------------------------------------------------------- diff --git a/documentation/development/ide-tooling/convert-to-bundle-projects.png b/documentation/development/ide-tooling/convert-to-bundle-projects.png new file mode 100644 index 0000000..f879737 Binary files /dev/null and b/documentation/development/ide-tooling/convert-to-bundle-projects.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/development/ide-tooling/debug.png ---------------------------------------------------------------------- diff --git a/documentation/development/ide-tooling/debug.png b/documentation/development/ide-tooling/debug.png new file mode 100644 index 0000000..abb6609 Binary files /dev/null and b/documentation/development/ide-tooling/debug.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/development/ide-tooling/jcr-properties.png ---------------------------------------------------------------------- diff --git a/documentation/development/ide-tooling/jcr-properties.png b/documentation/development/ide-tooling/jcr-properties.png new file mode 100644 index 0000000..1a92157 Binary files /dev/null and b/documentation/development/ide-tooling/jcr-properties.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/development/ide-tooling/launchpad-models-directory.png ---------------------------------------------------------------------- diff --git a/documentation/development/ide-tooling/launchpad-models-directory.png b/documentation/development/ide-tooling/launchpad-models-directory.png new file mode 100644 index 0000000..a16030e Binary files /dev/null and b/documentation/development/ide-tooling/launchpad-models-directory.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/development/ide-tooling/missing-scr-descriptor.png ---------------------------------------------------------------------- diff --git a/documentation/development/ide-tooling/missing-scr-descriptor.png b/documentation/development/ide-tooling/missing-scr-descriptor.png new file mode 100644 index 0000000..5feab27 Binary files /dev/null and b/documentation/development/ide-tooling/missing-scr-descriptor.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/development/ide-tooling/new-bundle-project-step-1.png ---------------------------------------------------------------------- diff --git a/documentation/development/ide-tooling/new-bundle-project-step-1.png b/documentation/development/ide-tooling/new-bundle-project-step-1.png new file mode 100644 index 0000000..35c7a8f Binary files /dev/null and b/documentation/development/ide-tooling/new-bundle-project-step-1.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/development/ide-tooling/new-bundle-project-step-2.png ---------------------------------------------------------------------- diff --git a/documentation/development/ide-tooling/new-bundle-project-step-2.png b/documentation/development/ide-tooling/new-bundle-project-step-2.png new file mode 100644 index 0000000..84f1f3a Binary files /dev/null and b/documentation/development/ide-tooling/new-bundle-project-step-2.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/development/ide-tooling/new-bundle-project-step-3.png ---------------------------------------------------------------------- diff --git a/documentation/development/ide-tooling/new-bundle-project-step-3.png b/documentation/development/ide-tooling/new-bundle-project-step-3.png new file mode 100644 index 0000000..8fb1700 Binary files /dev/null and b/documentation/development/ide-tooling/new-bundle-project-step-3.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/development/ide-tooling/new-bundle-project-step-4.png ---------------------------------------------------------------------- diff --git a/documentation/development/ide-tooling/new-bundle-project-step-4.png b/documentation/development/ide-tooling/new-bundle-project-step-4.png new file mode 100644 index 0000000..9a45505 Binary files /dev/null and b/documentation/development/ide-tooling/new-bundle-project-step-4.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/development/ide-tooling/new-content-project-step-1.png ---------------------------------------------------------------------- diff --git a/documentation/development/ide-tooling/new-content-project-step-1.png b/documentation/development/ide-tooling/new-content-project-step-1.png new file mode 100644 index 0000000..38da77e Binary files /dev/null and b/documentation/development/ide-tooling/new-content-project-step-1.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/development/ide-tooling/new-content-project-step-2.png ---------------------------------------------------------------------- diff --git a/documentation/development/ide-tooling/new-content-project-step-2.png b/documentation/development/ide-tooling/new-content-project-step-2.png new file mode 100644 index 0000000..a800e32 Binary files /dev/null and b/documentation/development/ide-tooling/new-content-project-step-2.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/development/ide-tooling/new-content-project-step-3.png ---------------------------------------------------------------------- diff --git a/documentation/development/ide-tooling/new-content-project-step-3.png b/documentation/development/ide-tooling/new-content-project-step-3.png new file mode 100644 index 0000000..17bb6f4 Binary files /dev/null and b/documentation/development/ide-tooling/new-content-project-step-3.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/development/ide-tooling/new-server-2.png ---------------------------------------------------------------------- diff --git a/documentation/development/ide-tooling/new-server-2.png b/documentation/development/ide-tooling/new-server-2.png new file mode 100644 index 0000000..1030aeb Binary files /dev/null and b/documentation/development/ide-tooling/new-server-2.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/development/ide-tooling/new-server.png ---------------------------------------------------------------------- diff --git a/documentation/development/ide-tooling/new-server.png b/documentation/development/ide-tooling/new-server.png new file mode 100644 index 0000000..a24a2ca Binary files /dev/null and b/documentation/development/ide-tooling/new-server.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/development/ide-tooling/repository-export.png ---------------------------------------------------------------------- diff --git a/documentation/development/ide-tooling/repository-export.png b/documentation/development/ide-tooling/repository-export.png new file mode 100644 index 0000000..bef7623 Binary files /dev/null and b/documentation/development/ide-tooling/repository-export.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/development/ide-tooling/repository-import.png ---------------------------------------------------------------------- diff --git a/documentation/development/ide-tooling/repository-import.png b/documentation/development/ide-tooling/repository-import.png new file mode 100644 index 0000000..8833daa Binary files /dev/null and b/documentation/development/ide-tooling/repository-import.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/development/ide-tooling/server-definition.png ---------------------------------------------------------------------- diff --git a/documentation/development/ide-tooling/server-definition.png b/documentation/development/ide-tooling/server-definition.png new file mode 100644 index 0000000..914e5f7 Binary files /dev/null and b/documentation/development/ide-tooling/server-definition.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/development/ide-tooling/servers-view.png ---------------------------------------------------------------------- diff --git a/documentation/development/ide-tooling/servers-view.png b/documentation/development/ide-tooling/servers-view.png new file mode 100644 index 0000000..69581ab Binary files /dev/null and b/documentation/development/ide-tooling/servers-view.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/development/ide-tooling/sightly-editor.png ---------------------------------------------------------------------- diff --git a/documentation/development/ide-tooling/sightly-editor.png b/documentation/development/ide-tooling/sightly-editor.png new file mode 100644 index 0000000..89ddc84 Binary files /dev/null and b/documentation/development/ide-tooling/sightly-editor.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/development/ide-tooling/sling-console.png ---------------------------------------------------------------------- diff --git a/documentation/development/ide-tooling/sling-console.png b/documentation/development/ide-tooling/sling-console.png new file mode 100644 index 0000000..bd6727e Binary files /dev/null and b/documentation/development/ide-tooling/sling-console.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/development/ide-tooling/tracing.png ---------------------------------------------------------------------- diff --git a/documentation/development/ide-tooling/tracing.png b/documentation/development/ide-tooling/tracing.png new file mode 100644 index 0000000..be56784 Binary files /dev/null and b/documentation/development/ide-tooling/tracing.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/development/sling-datasource-config.png ---------------------------------------------------------------------- diff --git a/documentation/development/sling-datasource-config.png b/documentation/development/sling-datasource-config.png new file mode 100644 index 0000000..9ba5ddd Binary files /dev/null and b/documentation/development/sling-datasource-config.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/development/sling-log-support.png ---------------------------------------------------------------------- diff --git a/documentation/development/sling-log-support.png b/documentation/development/sling-log-support.png new file mode 100644 index 0000000..d37a7da Binary files /dev/null and b/documentation/development/sling-log-support.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/development/sling-requests-plugin.jpg ---------------------------------------------------------------------- diff --git a/documentation/development/sling-requests-plugin.jpg b/documentation/development/sling-requests-plugin.jpg new file mode 100644 index 0000000..82f8826 Binary files /dev/null and b/documentation/development/sling-requests-plugin.jpg differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/the-sling-engine/authentication.png ---------------------------------------------------------------------- diff --git a/documentation/the-sling-engine/authentication.png b/documentation/the-sling-engine/authentication.png new file mode 100644 index 0000000..d0995fe Binary files /dev/null and b/documentation/the-sling-engine/authentication.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/tutorials-how-tos/DropBoxEventHandler.java ---------------------------------------------------------------------- diff --git a/documentation/tutorials-how-tos/DropBoxEventHandler.java b/documentation/tutorials-how-tos/DropBoxEventHandler.java new file mode 100644 index 0000000..099415e --- /dev/null +++ b/documentation/tutorials-how-tos/DropBoxEventHandler.java @@ -0,0 +1,82 @@ + +package mypackage; + +import javax.jcr.Session; + +import org.apache.felix.scr.annotations.Component; +import org.apache.felix.scr.annotations.Property; +import org.apache.felix.scr.annotations.Reference; +import org.apache.felix.scr.annotations.Service; +import org.apache.sling.api.resource.Resource; +import org.apache.sling.api.resource.ResourceResolver; +import org.apache.sling.api.resource.ResourceResolverFactory; +import org.apache.sling.event.jobs.Job; +import org.apache.sling.event.jobs.consumer.JobConsumer; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * The <code>DropBoxEventHandler</code> moves files posted to /tmp/dropbox to the appropriate locations: + * images (MIME type: image/png) to /dropbox/images/ + * music (MIME type: audio/mpeg) to /dropbox/music/ + * movies (MIME type: video/x-msvideo) to /dropbox/movies/ + * otherwise to /dropbox/other/ + * + */ +@Component +@Service(value=JobConsumer.class) +@Property(name=JobConsumer.PROPERTY_TOPICS, value=DropBoxService.JOB_TOPIC) +public class DropBoxEventHandler implements JobConsumer { + + /** Default logger. */ + protected final Logger logger = LoggerFactory.getLogger(this.getClass()); + + @Reference + private ResourceResolverFactory resolverFactory; + + private final static String IMAGES_PATH = "/dropbox/images/"; + private final static String MUSIC_PATH = "/dropbox/music/"; + private final static String MOVIES_PATH = "/dropbox/movies/"; + private final static String OTHER_PATH = "/dropbox/other/"; + + @Override + public JobResult process(final Job job) { + ResourceResolver adminResolver = null; + try { + adminResolver = resolverFactory.getAdministrativeResourceResolver(null); + + final String resourcePath = (String) job.getProperty("resourcePath"); + final String resourceName = resourcePath.substring(resourcePath.lastIndexOf("/") + 1); + + final Resource res = adminResolver.getResource(resourcePath); + if ( res.isResourceType("nt:file") ) { + final String mimeType = res.getResourceMetadata().getContentType(); + String destDir; + if (mimeType.equals("image/png")) { + destDir = IMAGES_PATH; + } + else if (mimeType.equals("audio/mpeg")) { + destDir = MUSIC_PATH; + } + else if (mimeType.equals("video/x-msvideo")) { + destDir = MOVIES_PATH; + } + else { + destDir = OTHER_PATH; + } + final Session adminSession = adminResolver.adaptTo(Session.class); + adminSession.move(resourcePath, destDir + resourceName); + adminSession.save(); + logger.info("The file {} has been moved to {}", resourceName, destDir); + } + return JobResult.OK; + } catch (final Exception e) { + logger.error("Exception: " + e, e); + return JobResult.FAILED; + } finally { + if (adminResolver != null) { + adminResolver.close(); + } + } + } +} http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/documentation/tutorials-how-tos/DropBoxService.java ---------------------------------------------------------------------- diff --git a/documentation/tutorials-how-tos/DropBoxService.java b/documentation/tutorials-how-tos/DropBoxService.java new file mode 100644 index 0000000..b791e5f --- /dev/null +++ b/documentation/tutorials-how-tos/DropBoxService.java @@ -0,0 +1,53 @@ + +package mypackage; + +import java.util.HashMap; +import java.util.Map; + +import org.apache.felix.scr.annotations.Component; +import org.apache.felix.scr.annotations.Property; +import org.apache.felix.scr.annotations.Reference; +import org.apache.felix.scr.annotations.Service; +import org.apache.sling.api.SlingConstants; +import org.apache.sling.event.jobs.JobManager; +import org.osgi.service.event.Event; +import org.osgi.service.event.EventConstants; +import org.osgi.service.event.EventHandler; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * The <code>DropBoxService</code> is listening content added to /tmp/dropbox by using OSGI events + * + */ +@Component(immediate=true) +@Service(value=EventHandler.class) +@Property(name=EventConstants.EVENT_TOPIC, value=SlingConstants.TOPIC_RESOURCE_ADDED) +public class DropBoxService implements EventHandler { + + /** Default logger. */ + protected final Logger logger = LoggerFactory.getLogger(this.getClass()); + + /** The job manager for starting the jobs. */ + @Reference + private JobManager jobManager; + + /** The job topic for dropbox job events. */ + public static final String JOB_TOPIC = "com/sling/eventing/dropbox/job"; + + @Override + public void handleEvent(final Event event) { + // get the resource event information + final String propPath = (String) event.getProperty(SlingConstants.PROPERTY_PATH); + final String propResType = (String) event.getProperty(SlingConstants.PROPERTY_RESOURCE_TYPE); + // a job is started if a file is added to /tmp/dropbox + if ( propPath.startsWith("/tmp/dropbox") && "nt:file".equals(propResType) ) { + // create payload + final Map<String, Object> payload = new HashMap<String, Object>(); + payload.put("resourcePath", propPath); + // start job + this.jobManager.addJob(JOB_TOPIC, payload); + logger.info("the dropbox job has been started for: {}", propPath); + } + } +} http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/obr/obr2html.xsl ---------------------------------------------------------------------- diff --git a/obr/obr2html.xsl b/obr/obr2html.xsl new file mode 100644 index 0000000..b41765d --- /dev/null +++ b/obr/obr2html.xsl @@ -0,0 +1,119 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> + <xsl:output method="html"/> + + <xsl:template match="/"> + <html> + <xsl:apply-templates/> + </html> + </xsl:template> + + <xsl:template match="repository"> + <head> + + <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"/> + <title> + <xsl:value-of select="@name"/> + </title> + <link href="http://www2.osgi.org/www/osgi.css" type="text/css" rel="stylesheet"/> + + <script type='text/javascript'> + // <![CDATA[ + function toggle( /* String */ elementId ) + { + var element = document.getElementById( elementId ); + if (element) + { + if (element.style.display == "none") + { + element.style.display = "inline"; + } + else + { + element.style.display = "none"; + } + } + } + // ]]> + </script> + </head> + <body> + <h1> + <xsl:value-of select="@name"/> + </h1> + + <p>Last modified + <xsl:value-of select="@lastmodified"/>.</p> + + <h2><a href="javascript:toggle('referrals')" title="Click to toggle visibility of Referrals">Referrals</a></h2> + <table id="referrals" width="100%"> + <tr><th>Hop Count</th><th>Link</th></tr> + <xsl:apply-templates select="referral"> + </xsl:apply-templates> + </table> + + <h2><a href="javascript:toggle('resources')" title="Click to toggle visibility of Referrals">Resources</a></h2> + <table id="resources" width="100%"> + <tr><th>Link</th><th>Version</th><th>doc/src</th><th>Description</th><th>Bytes</th></tr> + <xsl:apply-templates select="resource"> + + <xsl:sort select="@presentationname"/> + </xsl:apply-templates> + </table> + </body> + </xsl:template> + + <xsl:template match="referral"> + <tr> + <td><xsl:value-of select="@depth"/></td> + <td> + <a href="{@url}"><xsl:value-of select="@url"/></a> + </td> + </tr> + + + </xsl:template> + + <xsl:template match="resource"> + <tr> + <td nowrap="true"> + <a href="{@uri}"><xsl:value-of select="@presentationname"/></a> + + + </td> + <td><xsl:value-of select="@version"/></td> + <td> + <xsl:if test="documentation"> + <a href="{documentation}">D</a> + </xsl:if> + <xsl:if test="source"> + <a href="{source}">S</a> + + </xsl:if> + </td> + <td> + <xsl:value-of select="description"/> + </td> + <td> + <xsl:value-of select="size"/> + </td> + </tr> + + + </xsl:template> + + <!-- + <xsl:template match="*"> + <tr> + <td><xsl:value-of select="name()"/></td> + <td><xsl:value-of select="."/></td> + </tr> + </xsl:template> + --> + <!-- + <xsl:template match="*"> + </xsl:template> + --> + +</xsl:stylesheet> + http://git-wip-us.apache.org/repos/asf/sling-site/blob/b033d3d7/obr/repository.xml ---------------------------------------------------------------------- diff --git a/obr/repository.xml b/obr/repository.xml new file mode 100644 index 0000000..467b111 --- /dev/null +++ b/obr/repository.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?> +<?xml-stylesheet type="text/xml" href="obr2html.xsl"?> +<repository lastmodified="20090518144500" name="Apache Sling Master Repository"> + <referral url="http://felix.apache.org/obr/releases.xml" depth="1" /> + <referral url="http://incubator.apache.org/sling/obr/sling.xml" depth="1" /> + <referral url="http://incubator.apache.org/sling/obr/thirdparty.xml" depth="1" /> +</repository>