This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2c2 | |
< TERM_PROGRAM=Apple_Terminal | |
--- | |
> TERM_PROGRAM=iTerm.app | |
4c4 | |
< TERM=xterm-256color | |
--- | |
> TERM=xterm | |
9d8 | |
< TERM_PROGRAM_VERSION=297 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.apache.commons.httpclient.HttpClient; | |
import org.apache.commons.httpclient.HttpStatus; | |
import org.apache.commons.httpclient.methods.PostMethod; | |
import org.apache.commons.httpclient.methods.StringRequestEntity; | |
import org.apache.commons.logging.Log; | |
import org.apache.commons.logging.LogFactory; | |
public class HttpPostBody { | |
private static Log log = LogFactory.getLog(HttpPostBody.class); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git clone git://github.com/justinedelson/jruby-osgi-testing.git | |
$ cd jruby-osgi-testing/tests | |
$ mvn -Djruby.version=1.6.0.RC1 clean install | |
blah blah blah... the service implementation tests fail due to JRUBY-5414 | |
apply patch to JRUBY-5414 and rebuild... | |
$ cd $JRUBY_SRC | |
$ ant jar-complete | |
Then rerun tests |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git clone git://github.com/justinedelson/jruby-osgi-testing.git | |
$ cd jruby-osgi-testing/tests | |
$ mvn -Djruby.version=1.6.0.RC1 clean test | |
blah blah blah... all tests pass | |
$ mvn -Djruby.version=1.5.6 clean test | |
blah blah blah... all tests fail |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git clone git://github.com/justinedelson/jruby-osgi-testing.git | |
$ cd jruby-osgi-testing/tests | |
$ mvn -Djruby.version=1.6.0.RC1 clean test | |
blah blah blah... all tests pass | |
$ mvn -Djruby.version=1.5.6 clean test | |
blah blah blah... all tests fail |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Component(immediate = true) | |
public class Configurer { | |
@Reference | |
private ConfigurationAdmin cfgAdmin; | |
protected void activate(ComponentContext ctx) throws Exception { | |
Configuration cfg = cfgAdmin.getConfiguration( | |
"org.apache.sling.jcr.resource.internal.JcrResourceResolverFactoryImpl", null); | |
Dictionary props = new Hashtable(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void clearAcl(AccessControlList acl) { | |
acl.accessControlEntries.each { | |
acl.removeAccessControlEntry it | |
} | |
} | |
private AccessControlList findAcl(String path) { | |
def acl = null | |
getSession().getAccessControlManager().getPolicies(path).each { AccessControlPolicy policy -> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="ISO-8859-1"?> | |
<!-- | |
Licensed to the Apache Software Foundation (ASF) under one | |
or more contributor license agreements. See the NOTICE file | |
distributed with this work for additional information | |
regarding copyright ownership. The ASF licenses this file | |
to you under the Apache License, Version 2.0 (the | |
"License"); you may not use this file except in compliance | |
with the License. You may obtain a copy of the License at |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/maven/maven-launchpad-plugin/src/main/java/org/apache/sling/maven/projectsupport/bundlelist/BaseBundleList.java b/maven/mave | |
index cd838c8..43b78fc 100644 | |
--- a/maven/maven-launchpad-plugin/src/main/java/org/apache/sling/maven/projectsupport/bundlelist/BaseBundleList.java | |
+++ b/maven/maven-launchpad-plugin/src/main/java/org/apache/sling/maven/projectsupport/bundlelist/BaseBundleList.java | |
@@ -85,6 +85,7 @@ public abstract class BaseBundleList { | |
} | |
StartLevel sl = new StartLevel(); | |
+ getStartLevels().add(sl); | |
sl.setLevel(startLevel); |