deprecated methods
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3000 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
parent
d3c5eddd79
commit
793872d253
|
@ -14,7 +14,7 @@
|
|||
<Call name="addAppProvider">
|
||||
<Arg>
|
||||
<New class="org.eclipse.jetty.deploy.providers.ContextProvider">
|
||||
<Set name="monitoredDir"><Property name="jetty.home" default="." />/contexts</Set>
|
||||
<Set name="monitoredDirName"><Property name="jetty.home" default="." />/contexts</Set>
|
||||
<Set name="scanInterval">1</Set>
|
||||
</New>
|
||||
</Arg>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<Call id="webappprovider" name="addAppProvider">
|
||||
<Arg>
|
||||
<New class="org.eclipse.jetty.deploy.providers.WebAppProvider">
|
||||
<Set name="monitoredDir"><Property name="jetty.home" default="." />/webapps</Set>
|
||||
<Set name="monitoredDirName"><Property name="jetty.home" default="." />/webapps</Set>
|
||||
<Set name="defaultsDescriptor"><Property name="jetty.home" default="."/>/etc/webdefault.xml</Set>
|
||||
<Set name="scanInterval">1</Set>
|
||||
<Set name="contextXmlDir"><Property name="jetty.home" default="." />/contexts</Set>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<Array type="org.eclipse.jetty.deploy.AppProvider">
|
||||
<Item>
|
||||
<New class="org.eclipse.jetty.deploy.providers.WebAppProvider">
|
||||
<Set name="monitoredDir"><SystemProperty name="jetty.home" />/webapps</Set>
|
||||
<Set name="monitoredDirName"><SystemProperty name="jetty.home" />/webapps</Set>
|
||||
<Set name="scanInterval">1</Set>
|
||||
<Set name="tempDir"><Property name="jetty.home" default="target" />/workish</Set>
|
||||
</New>
|
||||
|
|
|
@ -133,7 +133,7 @@ public class OSGiAppProvider extends ScanningAppProvider implements AppProvider
|
|||
public OSGiAppProvider(File contextsDir) throws IOException
|
||||
{
|
||||
this();
|
||||
setMonitoredDir(Resource.newResource(contextsDir.toURI()));
|
||||
setMonitoredDirResource(Resource.newResource(contextsDir.toURI()));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -303,7 +303,7 @@ public class OSGiAppProvider extends ScanningAppProvider implements AppProvider
|
|||
{
|
||||
try
|
||||
{
|
||||
Resource monitoredDir = getMonitoredDir();
|
||||
Resource monitoredDir = getMonitoredDirResource();
|
||||
if (monitoredDir == null)
|
||||
return null;
|
||||
return monitoredDir.getFile();
|
||||
|
@ -324,7 +324,7 @@ public class OSGiAppProvider extends ScanningAppProvider implements AppProvider
|
|||
{
|
||||
try
|
||||
{
|
||||
Resource monitoredDir = getMonitoredDir();
|
||||
Resource monitoredDir = getMonitoredDirResource();
|
||||
if (monitoredDir == null)
|
||||
return null;
|
||||
return monitoredDir.getFile().toURI().toString();
|
||||
|
@ -361,7 +361,7 @@ public class OSGiAppProvider extends ScanningAppProvider implements AppProvider
|
|||
*/
|
||||
public void setContextXmlDir(String contextsDir)
|
||||
{
|
||||
setMonitoredDir(contextsDir);
|
||||
setMonitoredDirName(contextsDir);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -340,7 +340,7 @@ public class ServerInstanceWrapper {
|
|||
try
|
||||
{
|
||||
_provider = new OSGiAppProvider();
|
||||
_provider.setMonitoredDir(
|
||||
_provider.setMonitoredDirResource(
|
||||
Resource.newResource(getDefaultOSGiContextsHome(
|
||||
new File(System.getProperty("jetty.home"))).toURI()));
|
||||
} catch (IOException e) {
|
||||
|
|
|
@ -83,7 +83,7 @@
|
|||
<Call name="addAppProvider">
|
||||
<Arg>
|
||||
<New class="org.eclipse.jetty.deploy.providers.WebAppProvider">
|
||||
<Set name="monitoredDir"><Property name="jetty.home" default="." />/webapps-plus</Set>
|
||||
<Set name="monitoredDirName"><Property name="jetty.home" default="." />/webapps-plus</Set>
|
||||
<Set name="defaultsDescriptor"><Property name="jetty.home" default="."/>/etc/webdefault.xml</Set>
|
||||
<Set name="scanInterval">5</Set>
|
||||
<Set name="contextXmlDir"><Property name="jetty.home" default="." />/contexts</Set>
|
||||
|
|
Loading…
Reference in New Issue