blob: 74b99e876e4d9d9ac3b830399be7cf60b858d9b9 [file] [log] [blame]
#
# 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
# Start the Sling Launchpad including whatever is required to
# run the Sling integration tests.
#
# Currently those tests pass with 2 failures (WarSelectorServletTest)
# out of 529 tests, if started with
# java -Xmx1G -XX:MaxPermSize=256m \
# -Dsling.run.modes=:standalone,jackrabbit -Dsling.home=CRANKSTART \
# -jar target/org.apache.sling.crankstart.launcher-1.9.9-SNAPSHOT.jar \
# src/test/resources/crankstart-model.txt \
# src/test/resources/sling-launchpad.txt
[feature name=sling.launchpad]
[variables]
# TODO shouldn't be needed, remove once the mapping of slingfeature/slingstart
# artifact types to txt extension is implemented.
nested.models=org.apache.sling.launchpad,org.apache.sling.launchpad.test-bundles
[settings]
org.apache.sling.commons.log.julenabled=true
[artifacts]
# karaf bunde provides Sling Launchpad startup services
org.apache.sling/org.apache.sling.launchpad.karaf/0.1.1-SNAPSHOT
# artifacts that are usually provided by the Sling launchpad
org.apache.sling/org.apache.sling.launchpad.api/1.1.0
# The launchpad itself
org.apache.sling/org.apache.sling.launchpad/8-SNAPSHOT/txt/slingfeature
# Sling integration tests support
# TODO problem with the test-service bundles with 2 run modes
# org.apache.sling/org.apache.sling.launchpad.test-bundles/0.0.1-SNAPSHOT/txt
# TODO remove those once nested test-bundles model works
[artifacts startLevel=2]
org.apache.sling/org.apache.sling.servlets.compat/1.0.3-SNAPSHOT
org.apache.sling/org.apache.sling.junit.core/1.0.11-SNAPSHOT
org.apache.sling/org.apache.sling.junit.remote/1.0.11-SNAPSHOT
org.apache.sling/org.apache.sling.junit.scriptable/1.0.11-SNAPSHOT
org.apache.sling/org.apache.sling.launchpad.test-fragment/2.0.9-SNAPSHOT
org.apache.sling/org.apache.sling.launchpad.test-services-war/2.0.8/war
org.apache.sling/org.apache.sling.launchpad.test-services/2.0.9-SNAPSHOT
[configurations]
integrationTestsConfig
message="This test config should be loaded at startup"
org.apache.sling.servlets.resolver.SlingServletResolver
# Set the servlet resolver's cache size to zero for testing
servletresolver.cacheSize=I"0"