Skip to content

Commit

Permalink
SLING-3479 - Upgrade to Oak 1.0
Browse files Browse the repository at this point in the history
Upgraded Oak to 1.0.9

-- Add Felix JAAS bundle to the Pax Bundle list
-- Fix the setup logic in CommonTests to break if service reference is found instead of returning back

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1649333 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
chetanmeh committed Jan 4, 2015
1 parent e299832 commit 21d927d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bundles/jcr/it-jackrabbit-oak/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
WARNING make sure oak.version and sling.oak.server.version
are in sync with bundles/jcr/oak-server
-->
<oak.version>1.0.7</oak.version>
<oak.version>1.0.9</oak.version>
<sling.oak.server.version>${project.version}</sling.oak.server.version>

<!-- optionally activate the webconsole -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -565,11 +565,11 @@ public void setup() throws Exception {
while(System.currentTimeMillis() < timeoutAt) {
ref = bundleContext.getServiceReference(ResourceResolverFactory.class.getName());
if(ref != null) {
return;
break;
}
}

assertNotNull("Expecting ResourceResolverFactory within " + timeout + " seconds");
assertNotNull("Expecting ResourceResolverFactory within " + timeout + " seconds", ref);
ResourceResolver rr = null;
try {
final ResourceResolverFactory f = (ResourceResolverFactory)bundleContext.getService(ref);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,12 @@ public Option[] config() {
// embedded for now opt.add(mavenBundle("org.apache.jackrabbit", "oak-jcr", oakVersion));
opt.add(mavenBundle("org.apache.jackrabbit", "oak-commons", oakVersion));

// not needed anymore?
opt.add(mavenBundle("org.apache.jackrabbit", "oak-mk", oakVersion));
opt.add(mavenBundle("org.apache.jackrabbit", "oak-mk-api", oakVersion));
opt.add(mavenBundle("org.apache.jackrabbit", "oak-mk-remote", oakVersion));

opt.add(mavenBundle("org.apache.jackrabbit", "oak-lucene", oakVersion));
opt.add(mavenBundle("org.apache.jackrabbit", "oak-blob", oakVersion));

opt.add(mavenBundle("org.apache.felix", "org.apache.felix.jaas", "0.0.2"));

return opt.toArray(new Option[]{});
}

Expand Down

0 comments on commit 21d927d

Please sign in to comment.