Skip to content

Instantly share code, notes, and snippets.

View klcodanr's full-sized avatar

Dan Klco klcodanr

View GitHub Profile
@klcodanr
klcodanr / 1636-org.apache.sling.distribution.core-build.log
Created February 16, 2017 16:22
Build Logs for Apache Sling release #1636 for project org.apache.sling.distribution.core
A /tmp/sling-build/build/1636/org.apache.sling.distribution.core
A /tmp/sling-build/build/1636/org.apache.sling.distribution.core/src
A /tmp/sling-build/build/1636/org.apache.sling.distribution.core/src/test
A /tmp/sling-build/build/1636/org.apache.sling.distribution.core/src/test/java
A /tmp/sling-build/build/1636/org.apache.sling.distribution.core/src/test/java/org
A /tmp/sling-build/build/1636/org.apache.sling.distribution.core/src/test/java/org/apache
A /tmp/sling-build/build/1636/org.apache.sling.distribution.core/src/test/java/org/apache/sling
A /tmp/sling-build/build/1636/org.apache.sling.distribution.core/src/test/java/org/apache/sling/distribution
A /tmp/sling-build/build/1636/org.apache.sling.distribution.core/src/test/java/org/apache/sling/distribution/component
A /tmp/sling-build/build/1636/org.apache.sling.distribution.core/src/test/java/org/apache/sling/distribution/component/impl
This file has been truncated, but you can view the full file.
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Sling Integration Tests 1.0.3-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java) @ org.apache.sling.launchpad.integration-tests ---
[INFO]
[INFO] --- maven-antrun-plugin:1.8:run (set-bundle-required-execution-environment) @ org.apache.sling.launchpad.integration-tests ---
This file has been truncated, but you can view the full file.
16.02.2017 23:29:48.695 *INFO* [FelixStartLevel] org.apache.sling.commons.log.logback.internal.Activator LogbackManager initialized at bundle startup
16.02.2017 23:29:48.700 *INFO* [FelixStartLevel] org.apache.sling.commons.logservice Service [org.apache.sling.commons.logservice.internal.LogServiceFactory,18, [org.osgi.service.log.LogService]] ServiceEvent REGISTERED
16.02.2017 23:29:48.700 *INFO* [FelixStartLevel] org.apache.sling.commons.logservice Service [org.apache.sling.commons.logservice.internal.LogReaderServiceFactory,19, [org.osgi.service.log.LogReaderService]] ServiceEvent REGISTERED
16.02.2017 23:29:48.701 *INFO* [FelixStartLevel] org.apache.sling.commons.logservice BundleEvent STARTED
16.02.2017 23:29:48.704 *INFO* [FelixStartLevel] org.apache.sling.installer.core BundleEvent RESOLVED
16.02.2017 23:29:48.704 *INFO* [FelixStartLevel] org.apache.sling.installer.core BundleEvent STARTING
16.02.2017 23:29:48.717 *INFO* [FelixStartLevel] org.apache.sling.installer.core Service [Apache Sling Bundle Ins
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Sling Integration Tests 1.0.3-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java) @ org.apache.sling.launchpad.integration-tests ---
[INFO]
[INFO] --- maven-antrun-plugin:1.8:run (set-bundle-required-execution-environment) @ org.apache.sling.launchpad.integration-tests ---
[INFO] Executing tasks
<baseline version="1.0.0" vendor="The Apache Software Foundation" vendorURL="http://www.apache.org/" generator="Apache Felix Maven Bundle Plugin" generatorURL="http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html" analyzer="Bnd" analyzerURL="http://www.aqute.biz/Bnd/Bnd" generatedOn="2017-05-18T14:59Z" bundleName="org.apache.sling.scripting.jsp.taglib" currentVersion="2.2.7-SNAPSHOT" previousVersion="2.2.6-53compat">
<package name="org.apache.sling.scripting.jsp.taglib" delta="minor">
<mismatch>true</mismatch>
<newerVersion>2.2.0</newerVersion>
<olderVersion>2.2.0</olderVersion>
<suggestedVersion>2.3.0</suggestedVersion>
<error>Version increase required</error>
<attributes>
<version>2.2.0</version>
<uses>javax.servlet,javax.servlet.jsp,javax.servlet.jsp.tagext,org.apache.sling.api.adapter,org.apache.sling.api.resource</uses>
<baseline version="1.0.0" vendor="The Apache Software Foundation" vendorURL="http://www.apache.org/" generator="Apache Felix Maven Bundle Plugin" generatorURL="http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html" analyzer="Bnd" analyzerURL="http://www.aqute.biz/Bnd/Bnd" generatedOn="2017-05-18T14:59Z" bundleName="org.apache.sling.scripting.jsp.taglib" currentVersion="2.2.7-SNAPSHOT" previousVersion="2.2.6-53compat">
<package name="org.apache.sling.scripting.jsp.taglib" delta="minor">
<mismatch>true</mismatch>
<newerVersion>2.2.0</newerVersion>
<olderVersion>2.2.0</olderVersion>
<suggestedVersion>2.3.0</suggestedVersion>
<error>Version increase required</error>
<attributes>
<version>2.2.0</version>
<uses>javax.servlet,javax.servlet.jsp,javax.servlet.jsp.tagext,org.apache.sling.api.adapter,org.apache.sling.api.resource</uses>
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'ubuntu/xenial64'...
Progress: 10%
Progress: 90%
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'ubuntu/xenial64' is up to date...
==> default: A newer version of the box 'ubuntu/xenial64' for provider 'virtualbox' is
==> default: available! You currently have version '20180329.0.0'. The latest is version
==> default: '20180410.0.0'. Run `vagrant box update` to update.
@klcodanr
klcodanr / AbstractIntegrationTest.java
Last active March 25, 2019 16:41
An abstract class for creating integration tests to use the Sling Remote Testing Tools to test AEM / Adobe CQ5 projects.
package com.sixdimensions.wcm.cq.it;
import java.io.IOException;
import org.apache.sling.testing.tools.http.RequestExecutor;
import org.apache.sling.testing.tools.sling.SlingClient;
import org.apache.sling.testing.tools.sling.SlingTestBase;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@klcodanr
klcodanr / sc-renderings.js
Created July 16, 2019 03:34
A simple script to dump out the renderings in a Sitecore 8 / 9 instance. To use, login to the instance, expand the nodes under renderings you want to log and then execute this script in the console.
var renderings = [];
var getName = function(el){
return el.querySelector('a span').innerText;
}
var isFolder = function(el){
return el.querySelector('a span img').src.indexOf('folder') !== -1;
}
var traverseTree = function(el, parentPath){
parentPath = parentPath+"/"+getName(el);
let children = el.children[3];
<%--
Copyright 2019 Perficient Digital
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE