You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by sb...@apache.org on 2015/03/29 17:46:07 UTC

svn commit: r1669928 - in /sling/trunk/contrib/explorers/resourceeditor: frontend/ src/main/less/ src/main/resources/SLING-INF/libs/sling/resource-editor-static-content/3rd_party/ src/main/resources/SLING-INF/libs/sling/resource-editor-static-content/3...

Author: sboehme
Date: Sun Mar 29 15:46:07 2015
New Revision: 1669928

URL: http://svn.apache.org/r1669928
Log:
SLING-4205 Resource Editor: created a generated/3rd_party folder for libs that will be downloaded and copied via npm and Grunt and a /3rd_party folder for libs that have to be checked in. The 'generated' folder will be regenerated with Grunt.

Added:
    sling/trunk/contrib/explorers/resourceeditor/src/main/resources/SLING-INF/libs/sling/resource-editor-static-content/3rd_party/
    sling/trunk/contrib/explorers/resourceeditor/src/main/resources/SLING-INF/libs/sling/resource-editor-static-content/3rd_party/font/
    sling/trunk/contrib/explorers/resourceeditor/src/main/resources/SLING-INF/libs/sling/resource-editor-static-content/3rd_party/font/Michroma.eot
      - copied unchanged from r1669927, sling/trunk/contrib/explorers/resourceeditor/src/main/resources/SLING-INF/libs/sling/resource-editor-static-content/font/3rd_party/Michroma.eot
    sling/trunk/contrib/explorers/resourceeditor/src/main/resources/SLING-INF/libs/sling/resource-editor-static-content/3rd_party/font/Michroma.woff
      - copied unchanged from r1669584, sling/trunk/contrib/explorers/resourceeditor/src/main/resources/SLING-INF/libs/sling/resource-editor-static-content/font/3rd_party/Michroma.woff
    sling/trunk/contrib/explorers/resourceeditor/src/main/resources/SLING-INF/libs/sling/resource-editor-static-content/generated/
    sling/trunk/contrib/explorers/resourceeditor/src/main/resources/SLING-INF/libs/sling/resource-editor-static-content/js/LoginController.js
      - copied unchanged from r1660214, sling/trunk/contrib/explorers/resourceeditor/src/main/resources/SLING-INF/libs/sling/resource-editor-static-content/js/reseditor/LoginController.js
    sling/trunk/contrib/explorers/resourceeditor/src/main/resources/SLING-INF/libs/sling/resource-editor-static-content/js/MainController.js
      - copied unchanged from r1660214, sling/trunk/contrib/explorers/resourceeditor/src/main/resources/SLING-INF/libs/sling/resource-editor-static-content/js/reseditor/MainController.js
    sling/trunk/contrib/explorers/resourceeditor/src/main/resources/SLING-INF/libs/sling/resource-editor-static-content/js/tree/
      - copied from r1660214, sling/trunk/contrib/explorers/resourceeditor/src/main/resources/SLING-INF/libs/sling/resource-editor-static-content/js/reseditor/tree/
Removed:
    sling/trunk/contrib/explorers/resourceeditor/src/main/resources/SLING-INF/libs/sling/resource-editor-static-content/css/3rd_party/
    sling/trunk/contrib/explorers/resourceeditor/src/main/resources/SLING-INF/libs/sling/resource-editor-static-content/font/
    sling/trunk/contrib/explorers/resourceeditor/src/main/resources/SLING-INF/libs/sling/resource-editor-static-content/js/3rd_party/
    sling/trunk/contrib/explorers/resourceeditor/src/main/resources/SLING-INF/libs/sling/resource-editor-static-content/js/reseditor/
Modified:
    sling/trunk/contrib/explorers/resourceeditor/frontend/Gruntfile.js
    sling/trunk/contrib/explorers/resourceeditor/src/main/less/navs.less
    sling/trunk/contrib/explorers/resourceeditor/src/main/less/reseditor.less
    sling/trunk/contrib/explorers/resourceeditor/src/main/resources/SLING-INF/libs/sling/resource-editor-static-content/css/font.css
    sling/trunk/contrib/explorers/resourceeditor/src/main/resources/SLING-INF/libs/sling/resource-editor-static-content/css/font_ie.css
    sling/trunk/contrib/explorers/resourceeditor/src/main/resources/SLING-INF/libs/sling/resource-editor/html.jsp

Modified: sling/trunk/contrib/explorers/resourceeditor/frontend/Gruntfile.js
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/explorers/resourceeditor/frontend/Gruntfile.js?rev=1669928&r1=1669927&r2=1669928&view=diff
==============================================================================
--- sling/trunk/contrib/explorers/resourceeditor/frontend/Gruntfile.js (original)
+++ sling/trunk/contrib/explorers/resourceeditor/frontend/Gruntfile.js Sun Mar 29 15:46:07 2015
@@ -15,10 +15,10 @@ module.exports = function(grunt) {
 	          sourceMap: true,
 	          outputSourceFiles: true,
 	          sourceMapURL: 'bootstrap.css.map',
-	          sourceMapFilename: staticContentFolder+'/css/bootstrap.css.map'
+	          sourceMapFilename: staticContentFolder+'/generated/css/bootstrap.css.map'
 	        },
 	        src: '../src/main/less/reseditor.less',
-	        dest: staticContentFolder+'/css/bootstrap.css'
+	        dest: staticContentFolder+'/generated/css/bootstrap.css'
 	      }
 	    }, 
 	    watch: {
@@ -41,7 +41,7 @@ module.exports = function(grunt) {
 		                  'bootbox/bootbox.min.js',
 		                  'jstree/dist/jstree.min.js'
 		                 ], // Actual pattern(s) to match.
-		            dest: staticContentFolder+'/js/3rd_party',   // Destination path prefix.
+		            dest: staticContentFolder+'/generated/3rd_party/js',   // Destination path prefix.
 		            flatten: true
 		          },
 		        ],
@@ -56,7 +56,7 @@ module.exports = function(grunt) {
 	                  'select2/select2.png',
 	                  'animate.css/animate.min.css',
 	                 ], // Actual pattern(s) to match.
-	            dest: staticContentFolder+'/css/3rd_party',   // Destination path prefix.
+	            dest: staticContentFolder+'/generated/3rd_party/css',   // Destination path prefix.
 	            flatten: true
 	          },
 	        ],

Modified: sling/trunk/contrib/explorers/resourceeditor/src/main/less/navs.less
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/explorers/resourceeditor/src/main/less/navs.less?rev=1669928&r1=1669927&r2=1669928&view=diff
==============================================================================
--- sling/trunk/contrib/explorers/resourceeditor/src/main/less/navs.less (original)
+++ sling/trunk/contrib/explorers/resourceeditor/src/main/less/navs.less Sun Mar 29 15:46:07 2015
@@ -20,14 +20,14 @@
 #login .nav-tabs > li {
   float: right;
   margin-right: 15px;
-  background: transparent url(../img/alu.gif) repeat left top;
+  background: transparent url(../../img/alu.gif) repeat left top;
   margin-top: 0px;
 }
 
 #login .nav-pills > li {
   float: right;
   margin: 5px 10px 0px 0px;
-  background: transparent url(../img/alu.gif) repeat left top;
+  background: transparent url(../../img/alu.gif) repeat left top;
 }
 
 #login .tabs-below > .nav-tabs > .active > a, #login .tabs-below > .nav-pills > .active > a {

Modified: sling/trunk/contrib/explorers/resourceeditor/src/main/less/reseditor.less
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/explorers/resourceeditor/src/main/less/reseditor.less?rev=1669928&r1=1669927&r2=1669928&view=diff
==============================================================================
--- sling/trunk/contrib/explorers/resourceeditor/src/main/less/reseditor.less (original)
+++ sling/trunk/contrib/explorers/resourceeditor/src/main/less/reseditor.less Sun Mar 29 15:46:07 2015
@@ -49,7 +49,7 @@ html /* shows always scrollbar in Firefo
     
 body
 {
-    background: transparent url(../img/alu.gif) repeat left top;
+    background: transparent url(../../img/alu.gif) repeat left top;
 }
 
 /* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */
@@ -240,15 +240,15 @@ fieldset
 }
 
 .jstree-default .jstree-icon.open-icon{
-	background-image: url(../img/right_arrow_lightgray.png);
+	background-image: url(../../img/right_arrow_lightgray.png);
 }
 
 .jstree-default .jstree-icon.remove-icon{
-	background-image: url(../img/remove.png);
+	background-image: url(../../img/remove.png);
 }
 
 .jstree-default .jstree-icon.add-icon{
-	background-image: url(../img/add.png);
+	background-image: url(../../img/add.png);
     margin-right: 3px;
 }
 
@@ -261,12 +261,12 @@ fieldset
 
 
 .jstree-default ins.jstree-icon{ 
-	background-image: url(../img/folder_lightgray.png);
+	background-image: url(../../img/folder_lightgray.png);
 	background-position-y: 5px; 
 }
 
 .jstree-default .jstree-icon.jstree-themeicon { 
-	background-image: url(../img/folder_lightgray.png); 
+	background-image: url(../../img/folder_lightgray.png); 
 	background-position: 0 6px;
 }
 
@@ -332,17 +332,17 @@ input.jstree-rename-input{
     display: inline-block;
 }
 .info-icon-dark {
-	background-image: url(../img/info_darkgray.png);
+	background-image: url(../../img/info_darkgray.png);
 }
 .info-icon-dark:hover {
-	background-image: url(../img/info_black.png);
+	background-image: url(../../img/info_black.png);
 }
 
 .info-icon-lightgray {
-	background-image: url(../img/info_lightgray.png);
+	background-image: url(../../img/info_lightgray.png);
 }
 .info-icon-lightgray:hover {
-	background-image: url(../img/info_black.png);
+	background-image: url(../../img/info_black.png);
 }
 .modal-body.vertical-form .form-group {
 	margin-bottom: 10px;

Modified: sling/trunk/contrib/explorers/resourceeditor/src/main/resources/SLING-INF/libs/sling/resource-editor-static-content/css/font.css
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/explorers/resourceeditor/src/main/resources/SLING-INF/libs/sling/resource-editor-static-content/css/font.css?rev=1669928&r1=1669927&r2=1669928&view=diff
==============================================================================
--- sling/trunk/contrib/explorers/resourceeditor/src/main/resources/SLING-INF/libs/sling/resource-editor-static-content/css/font.css (original)
+++ sling/trunk/contrib/explorers/resourceeditor/src/main/resources/SLING-INF/libs/sling/resource-editor-static-content/css/font.css Sun Mar 29 15:46:07 2015
@@ -2,5 +2,5 @@
   font-family: 'Michroma';
   font-style: normal;
   font-weight: 400;
-  src: local('Michroma'), url(../font/3rd_party/Michroma.woff) format('woff');
+  src: local('Michroma'), url(../3rd_party/font/Michroma.woff) format('woff');
 }
\ No newline at end of file

Modified: sling/trunk/contrib/explorers/resourceeditor/src/main/resources/SLING-INF/libs/sling/resource-editor-static-content/css/font_ie.css
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/explorers/resourceeditor/src/main/resources/SLING-INF/libs/sling/resource-editor-static-content/css/font_ie.css?rev=1669928&r1=1669927&r2=1669928&view=diff
==============================================================================
--- sling/trunk/contrib/explorers/resourceeditor/src/main/resources/SLING-INF/libs/sling/resource-editor-static-content/css/font_ie.css (original)
+++ sling/trunk/contrib/explorers/resourceeditor/src/main/resources/SLING-INF/libs/sling/resource-editor-static-content/css/font_ie.css Sun Mar 29 15:46:07 2015
@@ -2,6 +2,6 @@
   font-family: 'Michroma';
   font-style: normal;
   font-weight: 400;
-  src: url(../font/3rd_party/Michroma.eot);
-  src: local('Michroma'), url(../font/3rd_party/Michroma.eot) format('embedded-opentype'), url(../font/3rd_party/Michroma.woff) format('woff');
+  src: url(../3rd_party/font/Michroma.eot);
+  src: local('Michroma'), url(../3rd_party/font/Michroma.eot) format('embedded-opentype'), url(../3rd_party/font/Michroma.woff) format('woff');
 }
\ No newline at end of file

Modified: sling/trunk/contrib/explorers/resourceeditor/src/main/resources/SLING-INF/libs/sling/resource-editor/html.jsp
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/explorers/resourceeditor/src/main/resources/SLING-INF/libs/sling/resource-editor/html.jsp?rev=1669928&r1=1669927&r2=1669928&view=diff
==============================================================================
--- sling/trunk/contrib/explorers/resourceeditor/src/main/resources/SLING-INF/libs/sling/resource-editor/html.jsp (original)
+++ sling/trunk/contrib/explorers/resourceeditor/src/main/resources/SLING-INF/libs/sling/resource-editor/html.jsp Sun Mar 29 15:46:07 2015
@@ -14,9 +14,9 @@
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
 
-<link href='<%= request.getContextPath() %>/libs/sling/resource-editor-static-content/css/font.css' rel='stylesheet' type='text/css'>
+<link href='<%= request.getContextPath() %>/libs/sling/resource-editor-static-content/3rd_party/css/font.css' rel='stylesheet' type='text/css'>
  <!--[if lt IE 9]>
-<link href='<%= request.getContextPath() %>/libs/sling/resource-editor-static-content/css/font_ie.css' rel='stylesheet' type='text/css'>
+<link href='<%= request.getContextPath() %>/libs/sling/resource-editor-static-content/3rd_party/css/font_ie.css' rel='stylesheet' type='text/css'>
   <![endif]-->
   
 <!-- 
@@ -26,28 +26,28 @@ original
 
 <script type="text/javascript" src="<%= request.getContextPath() %>/libs/jsnodetypes/js/jsnodetypes.js"></script>
 
-<script type="text/javascript" src="<%= request.getContextPath() %>/libs/sling/resource-editor-static-content/js/3rd_party/jquery.min.js"></script>
-<script type="text/javascript" src="<%= request.getContextPath() %>/libs/sling/resource-editor-static-content/js/3rd_party/bootstrap.min.js"></script>
-<script type="text/javascript" src="<%= request.getContextPath() %>/libs/sling/resource-editor-static-content/js/3rd_party/bootbox.min.js"></script>
-<script type="text/javascript" src="<%= request.getContextPath() %>/libs/sling/resource-editor-static-content/js/3rd_party/jstree.min.js"></script>
-<script type="text/javascript" src="<%= request.getContextPath() %>/libs/sling/resource-editor-static-content/js/3rd_party/select2.min.js"></script>
-
-<script type="text/javascript" src="<%= request.getContextPath() %>/libs/sling/resource-editor-static-content/js/reseditor/tree/JSTreeAdapter.js"></script>
-<script type="text/javascript" src="<%= request.getContextPath() %>/libs/sling/resource-editor-static-content/js/reseditor/tree/TreeController.js"></script>
-<script type="text/javascript" src="<%= request.getContextPath() %>/libs/sling/resource-editor-static-content/js/reseditor/tree/AddNodeController.js"></script>
-<script type="text/javascript" src="<%= request.getContextPath() %>/libs/sling/resource-editor-static-content/js/reseditor/LoginController.js"></script>
-<script type="text/javascript" src="<%= request.getContextPath() %>/libs/sling/resource-editor-static-content/js/reseditor/MainController.js"></script>
+<script type="text/javascript" src="<%= request.getContextPath() %>/libs/sling/resource-editor-static-content/generated/3rd_party/js/jquery.min.js"></script>
+<script type="text/javascript" src="<%= request.getContextPath() %>/libs/sling/resource-editor-static-content/generated/3rd_party/js/bootstrap.min.js"></script>
+<script type="text/javascript" src="<%= request.getContextPath() %>/libs/sling/resource-editor-static-content/generated/3rd_party/js/bootbox.min.js"></script>
+<script type="text/javascript" src="<%= request.getContextPath() %>/libs/sling/resource-editor-static-content/generated/3rd_party/js/jstree.min.js"></script>
+<script type="text/javascript" src="<%= request.getContextPath() %>/libs/sling/resource-editor-static-content/generated/3rd_party/js/select2.min.js"></script>
+
+<script type="text/javascript" src="<%= request.getContextPath() %>/libs/sling/resource-editor-static-content/js/tree/JSTreeAdapter.js"></script>
+<script type="text/javascript" src="<%= request.getContextPath() %>/libs/sling/resource-editor-static-content/js/tree/TreeController.js"></script>
+<script type="text/javascript" src="<%= request.getContextPath() %>/libs/sling/resource-editor-static-content/js/tree/AddNodeController.js"></script>
+<script type="text/javascript" src="<%= request.getContextPath() %>/libs/sling/resource-editor-static-content/js/LoginController.js"></script>
+<script type="text/javascript" src="<%= request.getContextPath() %>/libs/sling/resource-editor-static-content/js/MainController.js"></script>
 
 <!-- 
-<script type="text/javascript" src="<%= request.getContextPath() %>/libs/sling/resource-editor-static-content/js/jquery.scrollTo-min.js"></script>
-<script type="text/javascript" src="<%= request.getContextPath() %>/libs/sling/resource-editor-static-content/js/urlEncode.js"></script>
+<script type="text/javascript" src="<%= request.getContextPath() %>/libs/sling/resource-editor-static-content/generated/3rd_party/js/jquery.scrollTo-min.js"></script>
+<script type="text/javascript" src="<%= request.getContextPath() %>/libs/sling/resource-editor-static-content/generated/3rd_party/js/urlEncode.js"></script>
  -->
 
 <link rel="stylesheet" type="text/css" media="all" href="<%= request.getContextPath() %>/libs/sling/resource-editor-static-content/css/style.css">
-<link rel="stylesheet" type="text/css" media="all" href="<%= request.getContextPath() %>/libs/sling/resource-editor-static-content/css/bootstrap.css">
+<link rel="stylesheet" type="text/css" media="all" href="<%= request.getContextPath() %>/libs/sling/resource-editor-static-content/generated/css/bootstrap.css">
 <link rel="stylesheet" type="text/css" media="all" href="<%= request.getContextPath() %>/libs/sling/resource-editor-static-content/css/bootbox.reseditor.css">
-<link rel="stylesheet" type="text/css" media="all" href="<%= request.getContextPath() %>/libs/sling/resource-editor-static-content/css/3rd_party/animate.min.css">
-<link rel="stylesheet" type="text/css" media="all" href="<%= request.getContextPath() %>/libs/sling/resource-editor-static-content/css/3rd_party/select2.css">
+<link rel="stylesheet" type="text/css" media="all" href="<%= request.getContextPath() %>/libs/sling/resource-editor-static-content/generated/3rd_party/css/animate.min.css">
+<link rel="stylesheet" type="text/css" media="all" href="<%= request.getContextPath() %>/libs/sling/resource-editor-static-content/generated/3rd_party/css/select2.css">
 <link rel="stylesheet" type="text/css" media="all" href="<%= request.getContextPath() %>/libs/sling/resource-editor-static-content/css/select2.reseditor.css">
 
 <!--[if IE]>