| 6 |
<property name="src.main.webapp.webinf.classes" value="${basedir}/src/main/webapp/WEB-INF/classes"/> |
<property name="src.main.webapp.webinf.classes" value="${basedir}/src/main/webapp/WEB-INF/classes"/> |
| 7 |
<property name="src.main.webapp.webinf.lib" value="${basedir}/src/main/webapp/WEB-INF/lib"/> |
<property name="src.main.webapp.webinf.lib" value="${basedir}/src/main/webapp/WEB-INF/lib"/> |
| 8 |
<property name="target.webapp.webinf.lib" value="${basedir}/target/${war.name}/WEB-INF/lib"/> |
<property name="target.webapp.webinf.lib" value="${basedir}/target/${war.name}/WEB-INF/lib"/> |
| 9 |
|
<property name="target.webapp.webinf.classes" value="${basedir}/target/${war.name}/WEB-INF/classes"/> |
| 10 |
|
|
| 11 |
<property name="shell.cmd" value="sh"/> |
<property name="shell.cmd" value="sh"/> |
| 12 |
<property name="shell.options" value="-c"/> |
<property name="shell.options" value="-c"/> |
| 59 |
<include name="*.jar"/> |
<include name="*.jar"/> |
| 60 |
</fileset> |
</fileset> |
| 61 |
</copy> |
</copy> |
| 62 |
|
<copy todir="${src.main.webapp.webinf.classes}"> |
| 63 |
|
<fileset dir="${target.webapp.webinf.classes}"> |
| 64 |
|
<include name="**"/> |
| 65 |
|
</fileset> |
| 66 |
|
</copy> |
| 67 |
|
|
| 68 |
|
<exec |
| 69 |
|
executable="${shell.cmd}" |
| 70 |
|
failonerror="true" |
| 71 |
|
dir="${basedir}" |
| 72 |
|
> |
| 73 |
|
<arg line="${shell.options} 'mvn clean'"/> |
| 74 |
|
</exec> |
| 75 |
|
|
| 76 |
|
<!-- pom.xml --> |
| 77 |
|
<replace |
| 78 |
|
file="${basedir}/pom.xml" |
| 79 |
|
token="<!-- SERVLET DEV: BEGIN @@@" |
| 80 |
|
value="<!-- SERVLET DEV: BEGIN -->" |
| 81 |
|
> |
| 82 |
|
</replace> |
| 83 |
|
<replace |
| 84 |
|
file="${basedir}/pom.xml" |
| 85 |
|
token="@@@@ SERVLET DEV: END -->" |
| 86 |
|
value="<!-- SERVLET DEV: END -->" |
| 87 |
|
> |
| 88 |
|
</replace> |
| 89 |
|
|
| 90 |
|
<!-- web.xml --> |
| 91 |
|
<replace |
| 92 |
|
file="${basedir}/src/main/webapp/WEB-INF/web.xml" |
| 93 |
|
token="<!-- SERVLET DEV: BEGIN @@@" |
| 94 |
|
value="<!-- SERVLET DEV: BEGIN -->" |
| 95 |
|
> |
| 96 |
|
</replace> |
| 97 |
|
<replace |
| 98 |
|
file="${basedir}/src/main/webapp/WEB-INF/web.xml" |
| 99 |
|
token="@@@@ SERVLET DEV: END -->" |
| 100 |
|
value="<!-- SERVLET DEV: END -->" |
| 101 |
|
> |
| 102 |
|
</replace> |
| 103 |
|
|
| 104 |
|
|
| 105 |
</target> |
</target> |
| 106 |
|
|
| 118 |
<arg line="${shell.options} 'mvn clean'"/> |
<arg line="${shell.options} 'mvn clean'"/> |
| 119 |
</exec> |
</exec> |
| 120 |
|
|
| 121 |
|
<!-- pom.xml --> |
| 122 |
|
<replace |
| 123 |
|
file="${basedir}/pom.xml" |
| 124 |
|
token="<!-- SERVLET DEV: BEGIN -->" |
| 125 |
|
value="<!-- SERVLET DEV: BEGIN @@@" |
| 126 |
|
> |
| 127 |
|
</replace> |
| 128 |
|
<replace |
| 129 |
|
file="${basedir}/pom.xml" |
| 130 |
|
token="<!-- SERVLET DEV: END -->" |
| 131 |
|
value="@@@@ SERVLET DEV: END -->" |
| 132 |
|
> |
| 133 |
|
</replace> |
| 134 |
|
|
| 135 |
|
<!-- web.xml --> |
| 136 |
|
<replace |
| 137 |
|
file="${basedir}/src/main/webapp/WEB-INF/web.xml" |
| 138 |
|
token="<!-- SERVLET DEV: BEGIN -->" |
| 139 |
|
value="<!-- SERVLET DEV: BEGIN @@@" |
| 140 |
|
> |
| 141 |
|
</replace> |
| 142 |
|
<replace |
| 143 |
|
file="${basedir}/src/main/webapp/WEB-INF/web.xml" |
| 144 |
|
token="<!-- SERVLET DEV: END -->" |
| 145 |
|
value="@@@@ SERVLET DEV: END -->" |
| 146 |
|
> |
| 147 |
|
</replace> |
| 148 |
|
|
| 149 |
</target> |
</target> |
| 150 |
|
|
| 151 |
</project> |
</project> |