The name of the examples webapp is now automatically inserted in the sample server configuration file.
This commit is contained in:
parent
01cee9270c
commit
40404ad83c
2 changed files with 4 additions and 1 deletions
|
@ -34,6 +34,9 @@
|
||||||
<target name="examples" depends="build" description="Builds the Examples WAR">
|
<target name="examples" depends="build" description="Builds the Examples WAR">
|
||||||
<copy todir="${path.ex.build}">
|
<copy todir="${path.ex.build}">
|
||||||
<fileset dir="${path.ex}"/>
|
<fileset dir="${path.ex}"/>
|
||||||
|
<filterset>
|
||||||
|
<filter token="EX.NAME" value="${ex.name}"/>
|
||||||
|
</filterset>
|
||||||
</copy>
|
</copy>
|
||||||
<copy file="${path.dist}/${jar.name}.jar" todir="${path.ex.build}/WEB-INF/lib/"/>
|
<copy file="${path.dist}/${jar.name}.jar" todir="${path.ex.build}/WEB-INF/lib/"/>
|
||||||
<touch>
|
<touch>
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<Host name="localhost" appBase="webapps">
|
<Host name="localhost" appBase="webapps">
|
||||||
|
|
||||||
<!-- Define our application context -->
|
<!-- Define our application context -->
|
||||||
<Context path="/simplepool-examples" docBase="simplepool-examples"
|
<Context path="/@EX.NAME@" docBase="@EX.NAME@"
|
||||||
debug="5" reloadable="true" crossContext="true">
|
debug="5" reloadable="true" crossContext="true">
|
||||||
|
|
||||||
<!-- Define our JDNI DataSource -->
|
<!-- Define our JDNI DataSource -->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue