diff --git a/jetty-documentation/src/main/asciidoc/development/frameworks/osgi.adoc b/jetty-documentation/src/main/asciidoc/development/frameworks/osgi.adoc index 79ad91b30cb..9f72bf7398c 100644 --- a/jetty-documentation/src/main/asciidoc/development/frameworks/osgi.adoc +++ b/jetty-documentation/src/main/asciidoc/development/frameworks/osgi.adoc @@ -107,7 +107,7 @@ Where `/opt/custom/jetty` contains: etc/jetty.xml etc/jetty-selector.xml -etc/jetty-deployer.xml +etc/jetty-deploy.xml etc/jetty-special.xml ---- @@ -130,7 +130,7 @@ Here's a partial listing of that jar that shows you the names of the xml files c ---- META-INF/MANIFEST.MF jettyhome/etc/jetty.xml -jettyhome/etc/jetty-deployer.xml +jettyhome/etc/jetty-deploy.xml jettyhome/etc/jetty-http.xml ---- @@ -140,7 +140,7 @@ If not specified, they default to: + [source, plain, subs="{sub-order}"] ---- -etc/jetty.xml,etc/jetty-http.xml,etc/jetty-deployer.xml +etc/jetty.xml,etc/jetty-http.xml,etc/jetty-deploy.xml ---- + @@ -150,7 +150,7 @@ You can use this ability to mix and match jetty configuration files to add funct Here's an example of adding a HTTPS connector, using the relevant files from the jetty-distribution: + .... -etc/jetty.xml, etc/jetty-http.xml, /opt/jetty/etc/jetty-ssl.xml, /opt/jetty/etc/jetty-https.xml, etc/jetty-deployer.xml +etc/jetty.xml, etc/jetty-http.xml, /opt/jetty/etc/jetty-ssl.xml, /opt/jetty/etc/jetty-https.xml, etc/jetty-deploy.xml .... + @@ -203,7 +203,7 @@ public class Activator implements BundleActivator serverProps.put("managedServerName", serverName); serverProps.put("jetty.http.port", "9999"); //let Jetty apply some configuration files to the Server instance - serverProps.put("jetty.etc.config.urls", "file:/opt/jetty/etc/jetty.xml,file:/opt/jetty/etc/jetty-selector.xml,file:/opt/jetty/etc/jetty-deployer.xml"); + serverProps.put("jetty.etc.config.urls", "file:/opt/jetty/etc/jetty.xml,file:/opt/jetty/etc/jetty-selector.xml,file:/opt/jetty/etc/jetty-deploy.xml"); //register as an OSGi Service for Jetty to find context.registerService(Server.class.getName(), server, serverProps); diff --git a/jetty-osgi/jetty-osgi-boot/jettyhome/etc/jetty-deployer.xml b/jetty-osgi/jetty-osgi-boot/jettyhome/etc/jetty-deploy.xml similarity index 100% rename from jetty-osgi/jetty-osgi-boot/jettyhome/etc/jetty-deployer.xml rename to jetty-osgi/jetty-osgi-boot/jettyhome/etc/jetty-deploy.xml diff --git a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/internal/serverfactory/DefaultJettyAtJettyHomeHelper.java b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/internal/serverfactory/DefaultJettyAtJettyHomeHelper.java index 0da50939743..47c053a7aae 100644 --- a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/internal/serverfactory/DefaultJettyAtJettyHomeHelper.java +++ b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/internal/serverfactory/DefaultJettyAtJettyHomeHelper.java @@ -62,7 +62,7 @@ public class DefaultJettyAtJettyHomeHelper /** * Set of config files to apply to a jetty Server instance if none are supplied by SYS_PROP_JETTY_ETC_FILES */ - public static final String DEFAULT_JETTY_ETC_FILES = "etc/jetty.xml,etc/jetty-http.xml,etc/jetty-deployer.xml"; + public static final String DEFAULT_JETTY_ETC_FILES = "etc/jetty.xml,etc/jetty-http.xml,etc/jetty-deploy.xml"; /** * Default location within bundle of a jetty home dir. diff --git a/jetty-osgi/test-jetty-osgi/src/test/config/etc/jetty-deployer.xml b/jetty-osgi/test-jetty-osgi/src/test/config/etc/jetty-deploy.xml similarity index 100% rename from jetty-osgi/test-jetty-osgi/src/test/config/etc/jetty-deployer.xml rename to jetty-osgi/test-jetty-osgi/src/test/config/etc/jetty-deploy.xml diff --git a/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestOSGiUtil.java b/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestOSGiUtil.java index 025069dac0f..6d0c7fe7ec0 100644 --- a/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestOSGiUtil.java +++ b/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestOSGiUtil.java @@ -79,7 +79,7 @@ public class TestOSGiUtil } xmlConfigs.append(new File(etc, jettySelectorFileName).toURI()); xmlConfigs.append(";"); - xmlConfigs.append(new File(etc, "jetty-deployer.xml").toURI()); + xmlConfigs.append(new File(etc, "jetty-deploy.xml").toURI()); xmlConfigs.append(";"); xmlConfigs.append(new File(etc, "jetty-testrealm.xml").toURI());