Fix images
Project: http://git-wip-us.apache.org/repos/asf/sling-site/repo Commit: http://git-wip-us.apache.org/repos/asf/sling-site/commit/cbf7ecbd Tree: http://git-wip-us.apache.org/repos/asf/sling-site/tree/cbf7ecbd Diff: http://git-wip-us.apache.org/repos/asf/sling-site/diff/cbf7ecbd Branch: refs/heads/master Commit: cbf7ecbdcf5858e674bca4f47c5feddb0569dd49 Parents: f0aa038 Author: Bertrand Delacretaz <bdelacre...@apache.org> Authored: Tue Jun 20 16:59:15 2017 +0200 Committer: Bertrand Delacretaz <bdelacre...@apache.org> Committed: Tue Jun 20 16:59:15 2017 +0200 ---------------------------------------------------------------------- .../documentation/bundles/2010-07-01_1036.png | Bin 0 -> 35073 bytes assets/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 assets/documentation/bundles/jconsole-hc.jpg | Bin 0 -> 148619 bytes .../documentation/bundles/mdc-filter-config.png | Bin 0 -> 35715 bytes .../bundles/metric-web-console.png | Bin 0 -> 97296 bytes assets/documentation/bundles/mimetypes.png | Bin 0 -> 78378 bytes .../bundles/requesttracker-details.png | Bin 0 -> 116868 bytes assets/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 assets/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 .../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 .../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 ++++++++++++ .../documentation/bundles/2010-07-01_1036.png | Bin 35073 -> 0 bytes assets/images/documentation/bundles/Slide14.jpg | Bin 76316 -> 0 bytes .../config-resource-lookup.png | Bin 38694 -> 0 bytes .../context-and-config-reference.png | Bin 27362 -> 0 bytes .../context-aware-config-example.png | Bin 21149 -> 0 bytes .../illustration-sources.pptx | Bin 32227 -> 0 bytes .../resource-inheritance.png | Bin 28057 -> 0 bytes .../bundles/discovery-impl-split-brain.png | Bin 96082 -> 0 bytes .../documentation/bundles/jconsole-hc.jpg | Bin 148619 -> 0 bytes .../documentation/bundles/mdc-filter-config.png | Bin 35715 -> 0 bytes .../bundles/metric-web-console.png | Bin 97296 -> 0 bytes .../images/documentation/bundles/mimetypes.png | Bin 78378 -> 0 bytes .../bundles/requesttracker-details.png | Bin 116868 -> 0 bytes .../documentation/bundles/requesttracker.png | Bin 121842 -> 0 bytes .../bundles/resource-editor-screenshot.png | Bin 525087 -> 0 bytes .../Scripting-Thymeleaf-Class-Diagram.png | Bin 64028 -> 0 bytes ...g-Thymeleaf-Pattern-TemplateModeProvider.png | Bin 325263 -> 0 bytes ...Thymeleaf-ResourceBundle-MessageResolver.png | Bin 148700 -> 0 bytes .../Scripting-Thymeleaf-ScriptEngineFactory.png | Bin 346546 -> 0 bytes ...hymeleaf-Sling-Resource-TemplateResolver.png | Bin 133754 -> 0 bytes .../bundles/scripting/sling-fling-sample.png | Bin 227987 -> 0 bytes .../documentation/bundles/sling-hc-plugin.jpg | Bin 113760 -> 0 bytes .../bundles/sling-main-servlet-config.png | Bin 225507 -> 0 bytes .../documentation/bundles/tracer-config.png | Bin 68924 -> 0 bytes .../eclipse-settings-null-analysis.png | Bin 189331 -> 0 bytes .../ide-tooling/add-remove-projects.png | Bin 42031 -> 0 bytes .../ide-tooling/content-navigator.png | Bin 12498 -> 0 bytes .../ide-tooling/convert-to-bundle-projects.png | Bin 41976 -> 0 bytes .../development/ide-tooling/debug.png | Bin 83280 -> 0 bytes .../development/ide-tooling/jcr-properties.png | Bin 20510 -> 0 bytes .../ide-tooling/launchpad-models-directory.png | Bin 7214 -> 0 bytes .../ide-tooling/missing-scr-descriptor.png | Bin 33122 -> 0 bytes .../ide-tooling/new-bundle-project-step-1.png | Bin 29861 -> 0 bytes .../ide-tooling/new-bundle-project-step-2.png | Bin 28009 -> 0 bytes .../ide-tooling/new-bundle-project-step-3.png | Bin 30317 -> 0 bytes .../ide-tooling/new-bundle-project-step-4.png | Bin 37535 -> 0 bytes .../ide-tooling/new-content-project-step-1.png | Bin 28649 -> 0 bytes .../ide-tooling/new-content-project-step-2.png | Bin 23603 -> 0 bytes .../ide-tooling/new-content-project-step-3.png | Bin 37535 -> 0 bytes .../development/ide-tooling/new-server-2.png | Bin 51234 -> 0 bytes .../development/ide-tooling/new-server.png | Bin 42477 -> 0 bytes .../ide-tooling/repository-export.png | Bin 21165 -> 0 bytes .../ide-tooling/repository-import.png | Bin 27492 -> 0 bytes .../ide-tooling/server-definition.png | Bin 76595 -> 0 bytes .../development/ide-tooling/servers-view.png | Bin 11728 -> 0 bytes .../development/ide-tooling/sightly-editor.png | Bin 40387 -> 0 bytes .../development/ide-tooling/sling-console.png | Bin 29372 -> 0 bytes .../development/ide-tooling/tracing.png | Bin 46963 -> 0 bytes .../development/sling-datasource-config.png | Bin 69485 -> 0 bytes .../development/sling-log-support.png | Bin 92565 -> 0 bytes .../development/sling-requests-plugin.jpg | Bin 142155 -> 0 bytes .../the-sling-engine/authentication.png | Bin 27987 -> 0 bytes .../tutorials-how-tos/DropBoxEventHandler.java | 82 ------------------- .../tutorials-how-tos/DropBoxService.java | 53 ------------ content/news/sling-ide-tooling-11-released.md | 4 +- conversion-scripts/files-with-images.sh | 30 +++++++ 110 files changed, 167 insertions(+), 137 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/bundles/2010-07-01_1036.png ---------------------------------------------------------------------- diff --git a/assets/documentation/bundles/2010-07-01_1036.png b/assets/documentation/bundles/2010-07-01_1036.png new file mode 100644 index 0000000..4b6ef56 Binary files /dev/null and b/assets/documentation/bundles/2010-07-01_1036.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/bundles/Slide14.jpg ---------------------------------------------------------------------- diff --git a/assets/documentation/bundles/Slide14.jpg b/assets/documentation/bundles/Slide14.jpg new file mode 100644 index 0000000..f877c86 Binary files /dev/null and b/assets/documentation/bundles/Slide14.jpg differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/bundles/context-aware-configuration/config-resource-lookup.png ---------------------------------------------------------------------- diff --git a/assets/documentation/bundles/context-aware-configuration/config-resource-lookup.png b/assets/documentation/bundles/context-aware-configuration/config-resource-lookup.png new file mode 100644 index 0000000..8255ca3 Binary files /dev/null and b/assets/documentation/bundles/context-aware-configuration/config-resource-lookup.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/bundles/context-aware-configuration/context-and-config-reference.png ---------------------------------------------------------------------- diff --git a/assets/documentation/bundles/context-aware-configuration/context-and-config-reference.png b/assets/documentation/bundles/context-aware-configuration/context-and-config-reference.png new file mode 100644 index 0000000..9dbd0b9 Binary files /dev/null and b/assets/documentation/bundles/context-aware-configuration/context-and-config-reference.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/bundles/context-aware-configuration/context-aware-config-example.png ---------------------------------------------------------------------- diff --git a/assets/documentation/bundles/context-aware-configuration/context-aware-config-example.png b/assets/documentation/bundles/context-aware-configuration/context-aware-config-example.png new file mode 100644 index 0000000..8c900a6 Binary files /dev/null and b/assets/documentation/bundles/context-aware-configuration/context-aware-config-example.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/bundles/context-aware-configuration/illustration-sources.pptx ---------------------------------------------------------------------- diff --git a/assets/documentation/bundles/context-aware-configuration/illustration-sources.pptx b/assets/documentation/bundles/context-aware-configuration/illustration-sources.pptx new file mode 100644 index 0000000..324604e Binary files /dev/null and b/assets/documentation/bundles/context-aware-configuration/illustration-sources.pptx differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/bundles/context-aware-configuration/resource-inheritance.png ---------------------------------------------------------------------- diff --git a/assets/documentation/bundles/context-aware-configuration/resource-inheritance.png b/assets/documentation/bundles/context-aware-configuration/resource-inheritance.png new file mode 100644 index 0000000..89cc9f4 Binary files /dev/null and b/assets/documentation/bundles/context-aware-configuration/resource-inheritance.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/bundles/discovery-impl-split-brain.png ---------------------------------------------------------------------- diff --git a/assets/documentation/bundles/discovery-impl-split-brain.png b/assets/documentation/bundles/discovery-impl-split-brain.png new file mode 100644 index 0000000..d14c7fe Binary files /dev/null and b/assets/documentation/bundles/discovery-impl-split-brain.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/bundles/jconsole-hc.jpg ---------------------------------------------------------------------- diff --git a/assets/documentation/bundles/jconsole-hc.jpg b/assets/documentation/bundles/jconsole-hc.jpg new file mode 100644 index 0000000..4087cf9 Binary files /dev/null and b/assets/documentation/bundles/jconsole-hc.jpg differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/bundles/mdc-filter-config.png ---------------------------------------------------------------------- diff --git a/assets/documentation/bundles/mdc-filter-config.png b/assets/documentation/bundles/mdc-filter-config.png new file mode 100644 index 0000000..9f14b35 Binary files /dev/null and b/assets/documentation/bundles/mdc-filter-config.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/bundles/metric-web-console.png ---------------------------------------------------------------------- diff --git a/assets/documentation/bundles/metric-web-console.png b/assets/documentation/bundles/metric-web-console.png new file mode 100644 index 0000000..561e199 Binary files /dev/null and b/assets/documentation/bundles/metric-web-console.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/bundles/mimetypes.png ---------------------------------------------------------------------- diff --git a/assets/documentation/bundles/mimetypes.png b/assets/documentation/bundles/mimetypes.png new file mode 100644 index 0000000..ec54519 Binary files /dev/null and b/assets/documentation/bundles/mimetypes.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/bundles/requesttracker-details.png ---------------------------------------------------------------------- diff --git a/assets/documentation/bundles/requesttracker-details.png b/assets/documentation/bundles/requesttracker-details.png new file mode 100644 index 0000000..3640579 Binary files /dev/null and b/assets/documentation/bundles/requesttracker-details.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/bundles/requesttracker.png ---------------------------------------------------------------------- diff --git a/assets/documentation/bundles/requesttracker.png b/assets/documentation/bundles/requesttracker.png new file mode 100644 index 0000000..e625a5c Binary files /dev/null and b/assets/documentation/bundles/requesttracker.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/bundles/resource-editor-screenshot.png ---------------------------------------------------------------------- diff --git a/assets/documentation/bundles/resource-editor-screenshot.png b/assets/documentation/bundles/resource-editor-screenshot.png new file mode 100644 index 0000000..0cfe87c Binary files /dev/null and b/assets/documentation/bundles/resource-editor-screenshot.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/bundles/scripting/Scripting-Thymeleaf-Class-Diagram.png ---------------------------------------------------------------------- diff --git a/assets/documentation/bundles/scripting/Scripting-Thymeleaf-Class-Diagram.png b/assets/documentation/bundles/scripting/Scripting-Thymeleaf-Class-Diagram.png new file mode 100644 index 0000000..033bc39 Binary files /dev/null and b/assets/documentation/bundles/scripting/Scripting-Thymeleaf-Class-Diagram.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/bundles/scripting/Scripting-Thymeleaf-Pattern-TemplateModeProvider.png ---------------------------------------------------------------------- diff --git a/assets/documentation/bundles/scripting/Scripting-Thymeleaf-Pattern-TemplateModeProvider.png b/assets/documentation/bundles/scripting/Scripting-Thymeleaf-Pattern-TemplateModeProvider.png new file mode 100644 index 0000000..6585ab5 Binary files /dev/null and b/assets/documentation/bundles/scripting/Scripting-Thymeleaf-Pattern-TemplateModeProvider.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/bundles/scripting/Scripting-Thymeleaf-ResourceBundle-MessageResolver.png ---------------------------------------------------------------------- diff --git a/assets/documentation/bundles/scripting/Scripting-Thymeleaf-ResourceBundle-MessageResolver.png b/assets/documentation/bundles/scripting/Scripting-Thymeleaf-ResourceBundle-MessageResolver.png new file mode 100644 index 0000000..97686c1 Binary files /dev/null and b/assets/documentation/bundles/scripting/Scripting-Thymeleaf-ResourceBundle-MessageResolver.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/bundles/scripting/Scripting-Thymeleaf-ScriptEngineFactory.png ---------------------------------------------------------------------- diff --git a/assets/documentation/bundles/scripting/Scripting-Thymeleaf-ScriptEngineFactory.png b/assets/documentation/bundles/scripting/Scripting-Thymeleaf-ScriptEngineFactory.png new file mode 100644 index 0000000..b11e5a4 Binary files /dev/null and b/assets/documentation/bundles/scripting/Scripting-Thymeleaf-ScriptEngineFactory.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/bundles/scripting/Scripting-Thymeleaf-Sling-Resource-TemplateResolver.png ---------------------------------------------------------------------- diff --git a/assets/documentation/bundles/scripting/Scripting-Thymeleaf-Sling-Resource-TemplateResolver.png b/assets/documentation/bundles/scripting/Scripting-Thymeleaf-Sling-Resource-TemplateResolver.png new file mode 100644 index 0000000..59381ca Binary files /dev/null and b/assets/documentation/bundles/scripting/Scripting-Thymeleaf-Sling-Resource-TemplateResolver.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/bundles/scripting/sling-fling-sample.png ---------------------------------------------------------------------- diff --git a/assets/documentation/bundles/scripting/sling-fling-sample.png b/assets/documentation/bundles/scripting/sling-fling-sample.png new file mode 100644 index 0000000..f5d1955 Binary files /dev/null and b/assets/documentation/bundles/scripting/sling-fling-sample.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/bundles/sling-hc-plugin.jpg ---------------------------------------------------------------------- diff --git a/assets/documentation/bundles/sling-hc-plugin.jpg b/assets/documentation/bundles/sling-hc-plugin.jpg new file mode 100644 index 0000000..7aff1c8 Binary files /dev/null and b/assets/documentation/bundles/sling-hc-plugin.jpg differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/bundles/sling-main-servlet-config.png ---------------------------------------------------------------------- diff --git a/assets/documentation/bundles/sling-main-servlet-config.png b/assets/documentation/bundles/sling-main-servlet-config.png new file mode 100644 index 0000000..cf667d5 Binary files /dev/null and b/assets/documentation/bundles/sling-main-servlet-config.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/bundles/tracer-config.png ---------------------------------------------------------------------- diff --git a/assets/documentation/bundles/tracer-config.png b/assets/documentation/bundles/tracer-config.png new file mode 100644 index 0000000..897259f Binary files /dev/null and b/assets/documentation/bundles/tracer-config.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/development/eclipse-settings-null-analysis.png ---------------------------------------------------------------------- diff --git a/assets/documentation/development/eclipse-settings-null-analysis.png b/assets/documentation/development/eclipse-settings-null-analysis.png new file mode 100644 index 0000000..036c5ad Binary files /dev/null and b/assets/documentation/development/eclipse-settings-null-analysis.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/development/ide-tooling/add-remove-projects.png ---------------------------------------------------------------------- diff --git a/assets/documentation/development/ide-tooling/add-remove-projects.png b/assets/documentation/development/ide-tooling/add-remove-projects.png new file mode 100644 index 0000000..1c775f3 Binary files /dev/null and b/assets/documentation/development/ide-tooling/add-remove-projects.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/development/ide-tooling/content-navigator.png ---------------------------------------------------------------------- diff --git a/assets/documentation/development/ide-tooling/content-navigator.png b/assets/documentation/development/ide-tooling/content-navigator.png new file mode 100644 index 0000000..be2468f Binary files /dev/null and b/assets/documentation/development/ide-tooling/content-navigator.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/development/ide-tooling/convert-to-bundle-projects.png ---------------------------------------------------------------------- diff --git a/assets/documentation/development/ide-tooling/convert-to-bundle-projects.png b/assets/documentation/development/ide-tooling/convert-to-bundle-projects.png new file mode 100644 index 0000000..f879737 Binary files /dev/null and b/assets/documentation/development/ide-tooling/convert-to-bundle-projects.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/development/ide-tooling/debug.png ---------------------------------------------------------------------- diff --git a/assets/documentation/development/ide-tooling/debug.png b/assets/documentation/development/ide-tooling/debug.png new file mode 100644 index 0000000..abb6609 Binary files /dev/null and b/assets/documentation/development/ide-tooling/debug.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/development/ide-tooling/jcr-properties.png ---------------------------------------------------------------------- diff --git a/assets/documentation/development/ide-tooling/jcr-properties.png b/assets/documentation/development/ide-tooling/jcr-properties.png new file mode 100644 index 0000000..1a92157 Binary files /dev/null and b/assets/documentation/development/ide-tooling/jcr-properties.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/development/ide-tooling/launchpad-models-directory.png ---------------------------------------------------------------------- diff --git a/assets/documentation/development/ide-tooling/launchpad-models-directory.png b/assets/documentation/development/ide-tooling/launchpad-models-directory.png new file mode 100644 index 0000000..a16030e Binary files /dev/null and b/assets/documentation/development/ide-tooling/launchpad-models-directory.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/development/ide-tooling/missing-scr-descriptor.png ---------------------------------------------------------------------- diff --git a/assets/documentation/development/ide-tooling/missing-scr-descriptor.png b/assets/documentation/development/ide-tooling/missing-scr-descriptor.png new file mode 100644 index 0000000..5feab27 Binary files /dev/null and b/assets/documentation/development/ide-tooling/missing-scr-descriptor.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/development/ide-tooling/new-bundle-project-step-1.png ---------------------------------------------------------------------- diff --git a/assets/documentation/development/ide-tooling/new-bundle-project-step-1.png b/assets/documentation/development/ide-tooling/new-bundle-project-step-1.png new file mode 100644 index 0000000..35c7a8f Binary files /dev/null and b/assets/documentation/development/ide-tooling/new-bundle-project-step-1.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/development/ide-tooling/new-bundle-project-step-2.png ---------------------------------------------------------------------- diff --git a/assets/documentation/development/ide-tooling/new-bundle-project-step-2.png b/assets/documentation/development/ide-tooling/new-bundle-project-step-2.png new file mode 100644 index 0000000..84f1f3a Binary files /dev/null and b/assets/documentation/development/ide-tooling/new-bundle-project-step-2.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/development/ide-tooling/new-bundle-project-step-3.png ---------------------------------------------------------------------- diff --git a/assets/documentation/development/ide-tooling/new-bundle-project-step-3.png b/assets/documentation/development/ide-tooling/new-bundle-project-step-3.png new file mode 100644 index 0000000..8fb1700 Binary files /dev/null and b/assets/documentation/development/ide-tooling/new-bundle-project-step-3.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/development/ide-tooling/new-bundle-project-step-4.png ---------------------------------------------------------------------- diff --git a/assets/documentation/development/ide-tooling/new-bundle-project-step-4.png b/assets/documentation/development/ide-tooling/new-bundle-project-step-4.png new file mode 100644 index 0000000..9a45505 Binary files /dev/null and b/assets/documentation/development/ide-tooling/new-bundle-project-step-4.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/development/ide-tooling/new-content-project-step-1.png ---------------------------------------------------------------------- diff --git a/assets/documentation/development/ide-tooling/new-content-project-step-1.png b/assets/documentation/development/ide-tooling/new-content-project-step-1.png new file mode 100644 index 0000000..38da77e Binary files /dev/null and b/assets/documentation/development/ide-tooling/new-content-project-step-1.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/development/ide-tooling/new-content-project-step-2.png ---------------------------------------------------------------------- diff --git a/assets/documentation/development/ide-tooling/new-content-project-step-2.png b/assets/documentation/development/ide-tooling/new-content-project-step-2.png new file mode 100644 index 0000000..a800e32 Binary files /dev/null and b/assets/documentation/development/ide-tooling/new-content-project-step-2.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/development/ide-tooling/new-content-project-step-3.png ---------------------------------------------------------------------- diff --git a/assets/documentation/development/ide-tooling/new-content-project-step-3.png b/assets/documentation/development/ide-tooling/new-content-project-step-3.png new file mode 100644 index 0000000..17bb6f4 Binary files /dev/null and b/assets/documentation/development/ide-tooling/new-content-project-step-3.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/development/ide-tooling/new-server-2.png ---------------------------------------------------------------------- diff --git a/assets/documentation/development/ide-tooling/new-server-2.png b/assets/documentation/development/ide-tooling/new-server-2.png new file mode 100644 index 0000000..1030aeb Binary files /dev/null and b/assets/documentation/development/ide-tooling/new-server-2.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/development/ide-tooling/new-server.png ---------------------------------------------------------------------- diff --git a/assets/documentation/development/ide-tooling/new-server.png b/assets/documentation/development/ide-tooling/new-server.png new file mode 100644 index 0000000..a24a2ca Binary files /dev/null and b/assets/documentation/development/ide-tooling/new-server.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/development/ide-tooling/repository-export.png ---------------------------------------------------------------------- diff --git a/assets/documentation/development/ide-tooling/repository-export.png b/assets/documentation/development/ide-tooling/repository-export.png new file mode 100644 index 0000000..bef7623 Binary files /dev/null and b/assets/documentation/development/ide-tooling/repository-export.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/development/ide-tooling/repository-import.png ---------------------------------------------------------------------- diff --git a/assets/documentation/development/ide-tooling/repository-import.png b/assets/documentation/development/ide-tooling/repository-import.png new file mode 100644 index 0000000..8833daa Binary files /dev/null and b/assets/documentation/development/ide-tooling/repository-import.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/development/ide-tooling/server-definition.png ---------------------------------------------------------------------- diff --git a/assets/documentation/development/ide-tooling/server-definition.png b/assets/documentation/development/ide-tooling/server-definition.png new file mode 100644 index 0000000..914e5f7 Binary files /dev/null and b/assets/documentation/development/ide-tooling/server-definition.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/development/ide-tooling/servers-view.png ---------------------------------------------------------------------- diff --git a/assets/documentation/development/ide-tooling/servers-view.png b/assets/documentation/development/ide-tooling/servers-view.png new file mode 100644 index 0000000..69581ab Binary files /dev/null and b/assets/documentation/development/ide-tooling/servers-view.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/development/ide-tooling/sightly-editor.png ---------------------------------------------------------------------- diff --git a/assets/documentation/development/ide-tooling/sightly-editor.png b/assets/documentation/development/ide-tooling/sightly-editor.png new file mode 100644 index 0000000..89ddc84 Binary files /dev/null and b/assets/documentation/development/ide-tooling/sightly-editor.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/development/ide-tooling/sling-console.png ---------------------------------------------------------------------- diff --git a/assets/documentation/development/ide-tooling/sling-console.png b/assets/documentation/development/ide-tooling/sling-console.png new file mode 100644 index 0000000..bd6727e Binary files /dev/null and b/assets/documentation/development/ide-tooling/sling-console.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/development/ide-tooling/tracing.png ---------------------------------------------------------------------- diff --git a/assets/documentation/development/ide-tooling/tracing.png b/assets/documentation/development/ide-tooling/tracing.png new file mode 100644 index 0000000..be56784 Binary files /dev/null and b/assets/documentation/development/ide-tooling/tracing.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/development/sling-datasource-config.png ---------------------------------------------------------------------- diff --git a/assets/documentation/development/sling-datasource-config.png b/assets/documentation/development/sling-datasource-config.png new file mode 100644 index 0000000..9ba5ddd Binary files /dev/null and b/assets/documentation/development/sling-datasource-config.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/development/sling-log-support.png ---------------------------------------------------------------------- diff --git a/assets/documentation/development/sling-log-support.png b/assets/documentation/development/sling-log-support.png new file mode 100644 index 0000000..d37a7da Binary files /dev/null and b/assets/documentation/development/sling-log-support.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/development/sling-requests-plugin.jpg ---------------------------------------------------------------------- diff --git a/assets/documentation/development/sling-requests-plugin.jpg b/assets/documentation/development/sling-requests-plugin.jpg new file mode 100644 index 0000000..82f8826 Binary files /dev/null and b/assets/documentation/development/sling-requests-plugin.jpg differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/the-sling-engine/authentication.png ---------------------------------------------------------------------- diff --git a/assets/documentation/the-sling-engine/authentication.png b/assets/documentation/the-sling-engine/authentication.png new file mode 100644 index 0000000..d0995fe Binary files /dev/null and b/assets/documentation/the-sling-engine/authentication.png differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/documentation/tutorials-how-tos/DropBoxEventHandler.java ---------------------------------------------------------------------- diff --git a/assets/documentation/tutorials-how-tos/DropBoxEventHandler.java b/assets/documentation/tutorials-how-tos/DropBoxEventHandler.java new file mode 100644 index 0000000..099415e --- /dev/null +++ b/assets/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/cbf7ecbd/assets/documentation/tutorials-how-tos/DropBoxService.java ---------------------------------------------------------------------- diff --git a/assets/documentation/tutorials-how-tos/DropBoxService.java b/assets/documentation/tutorials-how-tos/DropBoxService.java new file mode 100644 index 0000000..b791e5f --- /dev/null +++ b/assets/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/cbf7ecbd/assets/images/documentation/bundles/2010-07-01_1036.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/bundles/2010-07-01_1036.png b/assets/images/documentation/bundles/2010-07-01_1036.png deleted file mode 100644 index 4b6ef56..0000000 Binary files a/assets/images/documentation/bundles/2010-07-01_1036.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/bundles/Slide14.jpg ---------------------------------------------------------------------- diff --git a/assets/images/documentation/bundles/Slide14.jpg b/assets/images/documentation/bundles/Slide14.jpg deleted file mode 100644 index f877c86..0000000 Binary files a/assets/images/documentation/bundles/Slide14.jpg and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/bundles/context-aware-configuration/config-resource-lookup.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/bundles/context-aware-configuration/config-resource-lookup.png b/assets/images/documentation/bundles/context-aware-configuration/config-resource-lookup.png deleted file mode 100644 index 8255ca3..0000000 Binary files a/assets/images/documentation/bundles/context-aware-configuration/config-resource-lookup.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/bundles/context-aware-configuration/context-and-config-reference.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/bundles/context-aware-configuration/context-and-config-reference.png b/assets/images/documentation/bundles/context-aware-configuration/context-and-config-reference.png deleted file mode 100644 index 9dbd0b9..0000000 Binary files a/assets/images/documentation/bundles/context-aware-configuration/context-and-config-reference.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/bundles/context-aware-configuration/context-aware-config-example.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/bundles/context-aware-configuration/context-aware-config-example.png b/assets/images/documentation/bundles/context-aware-configuration/context-aware-config-example.png deleted file mode 100644 index 8c900a6..0000000 Binary files a/assets/images/documentation/bundles/context-aware-configuration/context-aware-config-example.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/bundles/context-aware-configuration/illustration-sources.pptx ---------------------------------------------------------------------- diff --git a/assets/images/documentation/bundles/context-aware-configuration/illustration-sources.pptx b/assets/images/documentation/bundles/context-aware-configuration/illustration-sources.pptx deleted file mode 100644 index 324604e..0000000 Binary files a/assets/images/documentation/bundles/context-aware-configuration/illustration-sources.pptx and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/bundles/context-aware-configuration/resource-inheritance.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/bundles/context-aware-configuration/resource-inheritance.png b/assets/images/documentation/bundles/context-aware-configuration/resource-inheritance.png deleted file mode 100644 index 89cc9f4..0000000 Binary files a/assets/images/documentation/bundles/context-aware-configuration/resource-inheritance.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/bundles/discovery-impl-split-brain.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/bundles/discovery-impl-split-brain.png b/assets/images/documentation/bundles/discovery-impl-split-brain.png deleted file mode 100644 index d14c7fe..0000000 Binary files a/assets/images/documentation/bundles/discovery-impl-split-brain.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/bundles/jconsole-hc.jpg ---------------------------------------------------------------------- diff --git a/assets/images/documentation/bundles/jconsole-hc.jpg b/assets/images/documentation/bundles/jconsole-hc.jpg deleted file mode 100644 index 4087cf9..0000000 Binary files a/assets/images/documentation/bundles/jconsole-hc.jpg and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/bundles/mdc-filter-config.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/bundles/mdc-filter-config.png b/assets/images/documentation/bundles/mdc-filter-config.png deleted file mode 100644 index 9f14b35..0000000 Binary files a/assets/images/documentation/bundles/mdc-filter-config.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/bundles/metric-web-console.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/bundles/metric-web-console.png b/assets/images/documentation/bundles/metric-web-console.png deleted file mode 100644 index 561e199..0000000 Binary files a/assets/images/documentation/bundles/metric-web-console.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/bundles/mimetypes.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/bundles/mimetypes.png b/assets/images/documentation/bundles/mimetypes.png deleted file mode 100644 index ec54519..0000000 Binary files a/assets/images/documentation/bundles/mimetypes.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/bundles/requesttracker-details.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/bundles/requesttracker-details.png b/assets/images/documentation/bundles/requesttracker-details.png deleted file mode 100644 index 3640579..0000000 Binary files a/assets/images/documentation/bundles/requesttracker-details.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/bundles/requesttracker.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/bundles/requesttracker.png b/assets/images/documentation/bundles/requesttracker.png deleted file mode 100644 index e625a5c..0000000 Binary files a/assets/images/documentation/bundles/requesttracker.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/bundles/resource-editor-screenshot.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/bundles/resource-editor-screenshot.png b/assets/images/documentation/bundles/resource-editor-screenshot.png deleted file mode 100644 index 0cfe87c..0000000 Binary files a/assets/images/documentation/bundles/resource-editor-screenshot.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/bundles/scripting/Scripting-Thymeleaf-Class-Diagram.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/bundles/scripting/Scripting-Thymeleaf-Class-Diagram.png b/assets/images/documentation/bundles/scripting/Scripting-Thymeleaf-Class-Diagram.png deleted file mode 100644 index 033bc39..0000000 Binary files a/assets/images/documentation/bundles/scripting/Scripting-Thymeleaf-Class-Diagram.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/bundles/scripting/Scripting-Thymeleaf-Pattern-TemplateModeProvider.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/bundles/scripting/Scripting-Thymeleaf-Pattern-TemplateModeProvider.png b/assets/images/documentation/bundles/scripting/Scripting-Thymeleaf-Pattern-TemplateModeProvider.png deleted file mode 100644 index 6585ab5..0000000 Binary files a/assets/images/documentation/bundles/scripting/Scripting-Thymeleaf-Pattern-TemplateModeProvider.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/bundles/scripting/Scripting-Thymeleaf-ResourceBundle-MessageResolver.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/bundles/scripting/Scripting-Thymeleaf-ResourceBundle-MessageResolver.png b/assets/images/documentation/bundles/scripting/Scripting-Thymeleaf-ResourceBundle-MessageResolver.png deleted file mode 100644 index 97686c1..0000000 Binary files a/assets/images/documentation/bundles/scripting/Scripting-Thymeleaf-ResourceBundle-MessageResolver.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/bundles/scripting/Scripting-Thymeleaf-ScriptEngineFactory.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/bundles/scripting/Scripting-Thymeleaf-ScriptEngineFactory.png b/assets/images/documentation/bundles/scripting/Scripting-Thymeleaf-ScriptEngineFactory.png deleted file mode 100644 index b11e5a4..0000000 Binary files a/assets/images/documentation/bundles/scripting/Scripting-Thymeleaf-ScriptEngineFactory.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/bundles/scripting/Scripting-Thymeleaf-Sling-Resource-TemplateResolver.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/bundles/scripting/Scripting-Thymeleaf-Sling-Resource-TemplateResolver.png b/assets/images/documentation/bundles/scripting/Scripting-Thymeleaf-Sling-Resource-TemplateResolver.png deleted file mode 100644 index 59381ca..0000000 Binary files a/assets/images/documentation/bundles/scripting/Scripting-Thymeleaf-Sling-Resource-TemplateResolver.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/bundles/scripting/sling-fling-sample.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/bundles/scripting/sling-fling-sample.png b/assets/images/documentation/bundles/scripting/sling-fling-sample.png deleted file mode 100644 index f5d1955..0000000 Binary files a/assets/images/documentation/bundles/scripting/sling-fling-sample.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/bundles/sling-hc-plugin.jpg ---------------------------------------------------------------------- diff --git a/assets/images/documentation/bundles/sling-hc-plugin.jpg b/assets/images/documentation/bundles/sling-hc-plugin.jpg deleted file mode 100644 index 7aff1c8..0000000 Binary files a/assets/images/documentation/bundles/sling-hc-plugin.jpg and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/bundles/sling-main-servlet-config.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/bundles/sling-main-servlet-config.png b/assets/images/documentation/bundles/sling-main-servlet-config.png deleted file mode 100644 index cf667d5..0000000 Binary files a/assets/images/documentation/bundles/sling-main-servlet-config.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/bundles/tracer-config.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/bundles/tracer-config.png b/assets/images/documentation/bundles/tracer-config.png deleted file mode 100644 index 897259f..0000000 Binary files a/assets/images/documentation/bundles/tracer-config.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/development/eclipse-settings-null-analysis.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/development/eclipse-settings-null-analysis.png b/assets/images/documentation/development/eclipse-settings-null-analysis.png deleted file mode 100644 index 036c5ad..0000000 Binary files a/assets/images/documentation/development/eclipse-settings-null-analysis.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/development/ide-tooling/add-remove-projects.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/development/ide-tooling/add-remove-projects.png b/assets/images/documentation/development/ide-tooling/add-remove-projects.png deleted file mode 100644 index 1c775f3..0000000 Binary files a/assets/images/documentation/development/ide-tooling/add-remove-projects.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/development/ide-tooling/content-navigator.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/development/ide-tooling/content-navigator.png b/assets/images/documentation/development/ide-tooling/content-navigator.png deleted file mode 100644 index be2468f..0000000 Binary files a/assets/images/documentation/development/ide-tooling/content-navigator.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/development/ide-tooling/convert-to-bundle-projects.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/development/ide-tooling/convert-to-bundle-projects.png b/assets/images/documentation/development/ide-tooling/convert-to-bundle-projects.png deleted file mode 100644 index f879737..0000000 Binary files a/assets/images/documentation/development/ide-tooling/convert-to-bundle-projects.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/development/ide-tooling/debug.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/development/ide-tooling/debug.png b/assets/images/documentation/development/ide-tooling/debug.png deleted file mode 100644 index abb6609..0000000 Binary files a/assets/images/documentation/development/ide-tooling/debug.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/development/ide-tooling/jcr-properties.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/development/ide-tooling/jcr-properties.png b/assets/images/documentation/development/ide-tooling/jcr-properties.png deleted file mode 100644 index 1a92157..0000000 Binary files a/assets/images/documentation/development/ide-tooling/jcr-properties.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/development/ide-tooling/launchpad-models-directory.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/development/ide-tooling/launchpad-models-directory.png b/assets/images/documentation/development/ide-tooling/launchpad-models-directory.png deleted file mode 100644 index a16030e..0000000 Binary files a/assets/images/documentation/development/ide-tooling/launchpad-models-directory.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/development/ide-tooling/missing-scr-descriptor.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/development/ide-tooling/missing-scr-descriptor.png b/assets/images/documentation/development/ide-tooling/missing-scr-descriptor.png deleted file mode 100644 index 5feab27..0000000 Binary files a/assets/images/documentation/development/ide-tooling/missing-scr-descriptor.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/development/ide-tooling/new-bundle-project-step-1.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/development/ide-tooling/new-bundle-project-step-1.png b/assets/images/documentation/development/ide-tooling/new-bundle-project-step-1.png deleted file mode 100644 index 35c7a8f..0000000 Binary files a/assets/images/documentation/development/ide-tooling/new-bundle-project-step-1.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/development/ide-tooling/new-bundle-project-step-2.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/development/ide-tooling/new-bundle-project-step-2.png b/assets/images/documentation/development/ide-tooling/new-bundle-project-step-2.png deleted file mode 100644 index 84f1f3a..0000000 Binary files a/assets/images/documentation/development/ide-tooling/new-bundle-project-step-2.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/development/ide-tooling/new-bundle-project-step-3.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/development/ide-tooling/new-bundle-project-step-3.png b/assets/images/documentation/development/ide-tooling/new-bundle-project-step-3.png deleted file mode 100644 index 8fb1700..0000000 Binary files a/assets/images/documentation/development/ide-tooling/new-bundle-project-step-3.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/development/ide-tooling/new-bundle-project-step-4.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/development/ide-tooling/new-bundle-project-step-4.png b/assets/images/documentation/development/ide-tooling/new-bundle-project-step-4.png deleted file mode 100644 index 9a45505..0000000 Binary files a/assets/images/documentation/development/ide-tooling/new-bundle-project-step-4.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/development/ide-tooling/new-content-project-step-1.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/development/ide-tooling/new-content-project-step-1.png b/assets/images/documentation/development/ide-tooling/new-content-project-step-1.png deleted file mode 100644 index 38da77e..0000000 Binary files a/assets/images/documentation/development/ide-tooling/new-content-project-step-1.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/development/ide-tooling/new-content-project-step-2.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/development/ide-tooling/new-content-project-step-2.png b/assets/images/documentation/development/ide-tooling/new-content-project-step-2.png deleted file mode 100644 index a800e32..0000000 Binary files a/assets/images/documentation/development/ide-tooling/new-content-project-step-2.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/development/ide-tooling/new-content-project-step-3.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/development/ide-tooling/new-content-project-step-3.png b/assets/images/documentation/development/ide-tooling/new-content-project-step-3.png deleted file mode 100644 index 17bb6f4..0000000 Binary files a/assets/images/documentation/development/ide-tooling/new-content-project-step-3.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/development/ide-tooling/new-server-2.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/development/ide-tooling/new-server-2.png b/assets/images/documentation/development/ide-tooling/new-server-2.png deleted file mode 100644 index 1030aeb..0000000 Binary files a/assets/images/documentation/development/ide-tooling/new-server-2.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/development/ide-tooling/new-server.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/development/ide-tooling/new-server.png b/assets/images/documentation/development/ide-tooling/new-server.png deleted file mode 100644 index a24a2ca..0000000 Binary files a/assets/images/documentation/development/ide-tooling/new-server.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/development/ide-tooling/repository-export.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/development/ide-tooling/repository-export.png b/assets/images/documentation/development/ide-tooling/repository-export.png deleted file mode 100644 index bef7623..0000000 Binary files a/assets/images/documentation/development/ide-tooling/repository-export.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/development/ide-tooling/repository-import.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/development/ide-tooling/repository-import.png b/assets/images/documentation/development/ide-tooling/repository-import.png deleted file mode 100644 index 8833daa..0000000 Binary files a/assets/images/documentation/development/ide-tooling/repository-import.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/development/ide-tooling/server-definition.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/development/ide-tooling/server-definition.png b/assets/images/documentation/development/ide-tooling/server-definition.png deleted file mode 100644 index 914e5f7..0000000 Binary files a/assets/images/documentation/development/ide-tooling/server-definition.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/development/ide-tooling/servers-view.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/development/ide-tooling/servers-view.png b/assets/images/documentation/development/ide-tooling/servers-view.png deleted file mode 100644 index 69581ab..0000000 Binary files a/assets/images/documentation/development/ide-tooling/servers-view.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/development/ide-tooling/sightly-editor.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/development/ide-tooling/sightly-editor.png b/assets/images/documentation/development/ide-tooling/sightly-editor.png deleted file mode 100644 index 89ddc84..0000000 Binary files a/assets/images/documentation/development/ide-tooling/sightly-editor.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/development/ide-tooling/sling-console.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/development/ide-tooling/sling-console.png b/assets/images/documentation/development/ide-tooling/sling-console.png deleted file mode 100644 index bd6727e..0000000 Binary files a/assets/images/documentation/development/ide-tooling/sling-console.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/development/ide-tooling/tracing.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/development/ide-tooling/tracing.png b/assets/images/documentation/development/ide-tooling/tracing.png deleted file mode 100644 index be56784..0000000 Binary files a/assets/images/documentation/development/ide-tooling/tracing.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/development/sling-datasource-config.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/development/sling-datasource-config.png b/assets/images/documentation/development/sling-datasource-config.png deleted file mode 100644 index 9ba5ddd..0000000 Binary files a/assets/images/documentation/development/sling-datasource-config.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/development/sling-log-support.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/development/sling-log-support.png b/assets/images/documentation/development/sling-log-support.png deleted file mode 100644 index d37a7da..0000000 Binary files a/assets/images/documentation/development/sling-log-support.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/development/sling-requests-plugin.jpg ---------------------------------------------------------------------- diff --git a/assets/images/documentation/development/sling-requests-plugin.jpg b/assets/images/documentation/development/sling-requests-plugin.jpg deleted file mode 100644 index 82f8826..0000000 Binary files a/assets/images/documentation/development/sling-requests-plugin.jpg and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/the-sling-engine/authentication.png ---------------------------------------------------------------------- diff --git a/assets/images/documentation/the-sling-engine/authentication.png b/assets/images/documentation/the-sling-engine/authentication.png deleted file mode 100644 index d0995fe..0000000 Binary files a/assets/images/documentation/the-sling-engine/authentication.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/assets/images/documentation/tutorials-how-tos/DropBoxEventHandler.java ---------------------------------------------------------------------- diff --git a/assets/images/documentation/tutorials-how-tos/DropBoxEventHandler.java b/assets/images/documentation/tutorials-how-tos/DropBoxEventHandler.java deleted file mode 100644 index 099415e..0000000 --- a/assets/images/documentation/tutorials-how-tos/DropBoxEventHandler.java +++ /dev/null @@ -1,82 +0,0 @@ - -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/cbf7ecbd/assets/images/documentation/tutorials-how-tos/DropBoxService.java ---------------------------------------------------------------------- diff --git a/assets/images/documentation/tutorials-how-tos/DropBoxService.java b/assets/images/documentation/tutorials-how-tos/DropBoxService.java deleted file mode 100644 index b791e5f..0000000 --- a/assets/images/documentation/tutorials-how-tos/DropBoxService.java +++ /dev/null @@ -1,53 +0,0 @@ - -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/cbf7ecbd/content/news/sling-ide-tooling-11-released.md ---------------------------------------------------------------------- diff --git a/content/news/sling-ide-tooling-11-released.md b/content/news/sling-ide-tooling-11-released.md index 4dad4f6..53ae5ac 100644 --- a/content/news/sling-ide-tooling-11-released.md +++ b/content/news/sling-ide-tooling-11-released.md @@ -16,7 +16,7 @@ This feature provides the following enhancements: * wizards for creating new Sightly scripts and Use Classes ( Java and Javascript ) * Sightly-aware validation for HTML files -![Sightly Editor](../documentation/development/ide-tooling/sightly-editor.png) +![Sightly Editor](/documentation/development/ide-tooling/sightly-editor.png) These enhancements are enabled once the Sightly facet is added to a project. This is done automatically when converting a project to content project, but can also be done manually via the project properties, under the _Project Facets_ page. @@ -25,7 +25,7 @@ Automatic configuration of debug classpath based on the bundles deployed on the When first connecting to a Sling instance, the IDE tooling tries to bind all the sources associated with the bundles deployed on the server and retrieves the associated source artifacts using Maven. Therefore, the debug classpath is as close as possible to sources used to build the bundles deployed on the server. -![Debugging](../documentation/development/ide-tooling/debug.png) +![Debugging](/documentation/development/ide-tooling/debug.png) Since a first source bundle resolution can potentially take a long time, this behaviour can be disabled from the server configuration page. http://git-wip-us.apache.org/repos/asf/sling-site/blob/cbf7ecbd/conversion-scripts/files-with-images.sh ---------------------------------------------------------------------- diff --git a/conversion-scripts/files-with-images.sh b/conversion-scripts/files-with-images.sh new file mode 100755 index 0000000..835a50f --- /dev/null +++ b/conversion-scripts/files-with-images.sh @@ -0,0 +1,30 @@ +#Â Extracts files which have images or embedded files +# Currently that's +# http://localhost:8820/documentation/bundles/context-aware-configuration/context-aware-configuration-default-implementation.html +# http://localhost:8820/documentation/bundles/context-aware-configuration/context-aware-configuration.html +# http://localhost:8820/documentation/bundles/datasource-providers.html +# http://localhost:8820/documentation/bundles/discovery-api-and-impl.html +# http://localhost:8820/documentation/bundles/log-tracers.html +# http://localhost:8820/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.html +# http://localhost:8820/documentation/bundles/metrics.html +# http://localhost:8820/documentation/bundles/mime-type-support-commons-mime.html +# http://localhost:8820/documentation/bundles/osgi-installer.html +# http://localhost:8820/documentation/bundles/request-analysis.html +# http://localhost:8820/documentation/bundles/resource-editor.html +# http://localhost:8820/documentation/bundles/scripting/scripting-thymeleaf.html +# http://localhost:8820/documentation/bundles/sling-health-check-tool.html +# http://localhost:8820/documentation/development/ide-tooling.html +# http://localhost:8820/documentation/development/jsr-305.html +# http://localhost:8820/documentation/development/logging.html +# http://localhost:8820/documentation/development/monitoring-requests.html +# http://localhost:8820/documentation/the-sling-engine/authentication.html +# http://localhost:8820/documentation/tutorials-how-tos/how-to-manage-events-in-sling.html +# http://localhost:8820/news/sling-ide-tooling-11-released.html +GREPOPT="$1" +find assets -type f | \ +egrep -v 'assets/res|assets/apidocs|assets/components|assets/logos' | \ +egrep 'png|jpg|java|pptx' | \ +while read f +do + find content -type f | xargs grep $GREPOPT $(basename $f); +done \ No newline at end of file