added web demos to broker by default

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@517790 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
James Strachan 2007-03-13 17:56:37 +00:00
parent fbd22b637c
commit 35fcee6a6b
3 changed files with 24 additions and 1 deletions

View File

@ -99,7 +99,7 @@
</includes> </includes>
</fileSet> </fileSet>
<!-- lets copy the portions of the web app we need - as we can't exclude stuff from the WAR --> <!-- lets copy the portions of the admin web app we need - as we can't exclude stuff from the WAR -->
<fileSet> <fileSet>
<directory>../activemq-web-console/src/main/webapp</directory> <directory>../activemq-web-console/src/main/webapp</directory>
<outputDirectory>/webapps/admin</outputDirectory> <outputDirectory>/webapps/admin</outputDirectory>
@ -115,6 +115,17 @@
<include>**/*.class</include> <include>**/*.class</include>
</includes> </includes>
</fileSet> </fileSet>
<!-- the web demo -->
<fileSet>
<directory>../activemq-web-demo/src/main/webapp</directory>
<outputDirectory>/webapps/demo</outputDirectory>
<excludes>
<exclude>**/activemq.xml</exclude>
<exclude>**/applicationContext.xml</exclude>
</excludes>
</fileSet>
</fileSets> </fileSets>
<dependencySets> <dependencySets>
<dependencySet> <dependencySet>

View File

@ -119,6 +119,17 @@
<include>**/*.class</include> <include>**/*.class</include>
</includes> </includes>
</fileSet> </fileSet>
<!-- the web demo -->
<fileSet>
<directory>../activemq-web-demo/src/main/webapp</directory>
<outputDirectory>/webapps/demo</outputDirectory>
<excludes>
<exclude>**/activemq.xml</exclude>
<exclude>**/applicationContext.xml</exclude>
</excludes>
</fileSet>
</fileSets> </fileSets>
<dependencySets> <dependencySets>

View File

@ -99,6 +99,7 @@
<handlers> <handlers>
<webAppContext contextPath="/admin" resourceBase="webapps/admin" parentLoaderPriority="false" /> <webAppContext contextPath="/admin" resourceBase="webapps/admin" parentLoaderPriority="false" />
<webAppContext contextPath="/demo" resourceBase="webapps/demo" parentLoaderPriority="false" />
</handlers> </handlers>
</jetty> </jetty>