Oak offline compaction steps

Download oak-run jar from, http://mvnrepository.com/artifact/org.apache.jackrabbit/oak-run Use 1.2.11 for AEM 6.1Take backup, java –jar oak-run-*.jar backup crx-quickstart/repository/segmentstore backup/segmentstoreFind all the checkpoints, java -jar oak-run-*.jar checkpoints crx-quickstart/repository/segmentstoreRemove all the unreferenced checkpoints, java -jar oak-run-*.jar…

Tomcat Maven plugin and IntelliJ IDEA issues

Tomcat Maven plugin helps to deploy WAR packages to Tomcat servlet container without manually downloading and installing it on your machine. It works without any issues for the maven "clean tomcat7:run" command from the terminal. But for some reason, IntelliJ IDEA doesn’t recognize the plugins…

Install 3rd party jar file in maven repository

Example: mvn install:install-file -Dfile=/Users/shamalroy/Dev/source/git_source/dependencies/my-jar-6.1.0-apis.jar -DgroupId=com.my.jar -DartifactId=my-jar -Dversion=6.1.0 -Dpackaging=jar Reference: https://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html…

[[Instagram]] সবাইকে নববর্ষের ΰ¦Άΰ§ΰ¦­ΰ§‡ΰ¦šΰ§ΰ¦›ΰ¦Ύ ... Happy Bangla new year to everyone... #১ΰ§ͺ২৩ #tostring

View this post on Instagram সবাইকে নববর্ষের ΰ¦Άΰ§ΰ¦­ΰ§‡ΰ¦šΰ§ΰ¦›ΰ¦Ύ ... Happy Bangla new year to everyone... #১ΰ§ͺ২৩ #tostring A post shared by πš‚πš‘πšŠπš–πšŠπš• 𝚁𝚘𝚒 (@tostring.me) on Apr 14, 2016 at 9:58am PDT…

AEM - Using PageFilter to filter children of a page

getPageFilter() method public static PageFilter getPageFilter (final String filterTemplatePath, final String filterValue) { PageFilter pageFilter = new PageFilter() { public boolean includes(Page p) { ValueMap props = p.getProperties(); String templatePath = props.get("cq:template", String.class); String customPropertyName = props.get("customPropertyName", String.class); return (filterTemplatePath.equals(templatePath) && customPropertyName.equalsIgnoreCase(filterValue)) ? true…