[
https://issues.apache.org/jira/browse/SLING-4169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14224535#comment-14224535
]
Sandro Boehme commented on SLING-4169:
--------------------------------------
Currently the folder
'src/main/resources/SLING-INF/libs/sling/resource-editor-static-content' that
contains css files, JavaScript files, images and a font is not available in SVN.
There are three changes that need to be done to make the static content
available:
* removing the svn:ignore for the 'resource-editor-static-content' folder
* adding the svn:ignore for the
'src/main/resources/SLING-INF/libs/sling/resource-editor-static-content/css/bootstrap.css'
file
* applying the patch 'patch_folder_restructure_static_content_and_binaries.txt'
As a result there should be four folders below the
'resource-editor-static-content' folder: 'css', 'font', 'img', 'js' and all of
them should contain files.
Background:
A problem with my previous patch was, that binary content was not contained.
But it is now part of the patch file.
When I added the svn:ignore changes to the patch file got an error when trying
to apply it.
Eclipse: "Patch file does not contain a valid patch."
Command line: "Only garbage was found in the patch input." (This is insulting,
right? ;-) )
When I first remove the svn:ignore for the 'resource-editor-static-content'
folder and then apply the patch it works as expected.
> Resource Editor :: restructuring of folders
> -------------------------------------------
>
> Key: SLING-4169
> URL: https://issues.apache.org/jira/browse/SLING-4169
> Project: Sling
> Issue Type: Sub-task
> Reporter: Sandro Boehme
> Assignee: Bertrand Delacretaz
> Attachments: patch_folder_restructure_add_node_dialog.txt,
> patch_folder_restructure_add_node_dialog_with_lineending_fix.txt,
> patch_folder_restructure_static_content_and_binaries.txt
>
>
> This patch contains the new add-node dialog and restructures the folders to
> differentiate between static and non-static content.
> This makes the following files obsolete that have to be removed:
> *
> /resource-editor/src/main/java/org/apache/sling/reseditor/ResEditorResourceProvider.java
> *
> /resource-editor/src/main/java/org/apache/sling/reseditor/SelectorBasedResourceDecorator.java
> * /resource-editor/src/main/resources/SLING-INF/libs/reseditor
> * /resource-editor/src/main/resources/SLING-INF/libs/sling/servlet
> A leftover that needs to be removed:
> * /layout.js
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)