| 36 |
|
|
| 37 |
<target name="servlet" depends="setup.shell,clean" |
<target name="servlet" depends="setup.shell,clean" |
| 38 |
description="--> Setup Servlet Delopment Environment"> |
description="--> Setup Servlet Delopment Environment"> |
|
<exec |
|
|
executable="${shell.cmd}" |
|
|
failonerror="true" |
|
|
dir="${basedir}" |
|
|
> |
|
|
<arg line="${shell.options} 'mvn clean'"/> |
|
|
</exec> |
|
|
<exec |
|
|
executable="${shell.cmd}" |
|
|
failonerror="true" |
|
|
dir="${basedir}" |
|
|
> |
|
|
<arg line="${shell.options} 'mvn install'"/> |
|
|
</exec> |
|
|
|
|
|
<mkdir dir="${src.main.webapp.webinf.classes}"/> |
|
|
<mkdir dir="${src.main.webapp.webinf.lib}"/> |
|
| 39 |
|
|
| 40 |
<copy todir="${src.main.webapp.webinf.lib}"> |
<delete dir="${basedir}/target"/> |
| 41 |
<fileset dir="${target.webapp.webinf.lib}"> |
<delete dir="${basedir}/work"/> |
|
<include name="*.jar"/> |
|
|
</fileset> |
|
|
</copy> |
|
|
<copy todir="${src.main.webapp.webinf.classes}"> |
|
|
<fileset dir="${target.webapp.webinf.classes}"> |
|
|
<include name="**"/> |
|
|
</fileset> |
|
|
</copy> |
|
|
|
|
|
<exec |
|
|
executable="${shell.cmd}" |
|
|
failonerror="true" |
|
|
dir="${basedir}" |
|
|
> |
|
|
<arg line="${shell.options} 'mvn clean'"/> |
|
|
</exec> |
|
| 42 |
|
|
| 43 |
<!-- pom.xml --> |
<!-- pom.xml --> |
| 44 |
<replace |
<replace |
| 68 |
> |
> |
| 69 |
</replace> |
</replace> |
| 70 |
|
|
| 71 |
|
<exec |
| 72 |
|
executable="${shell.cmd}" |
| 73 |
|
failonerror="true" |
| 74 |
|
dir="${basedir}" |
| 75 |
|
> |
| 76 |
|
<arg line="${shell.options} 'mvn install'"/> |
| 77 |
|
</exec> |
| 78 |
|
|
| 79 |
|
<mkdir dir="${src.main.webapp.webinf.classes}"/> |
| 80 |
|
<mkdir dir="${src.main.webapp.webinf.lib}"/> |
| 81 |
|
|
| 82 |
|
<copy todir="${src.main.webapp.webinf.lib}"> |
| 83 |
|
<fileset dir="${target.webapp.webinf.lib}"> |
| 84 |
|
<include name="*.jar"/> |
| 85 |
|
</fileset> |
| 86 |
|
</copy> |
| 87 |
|
<copy todir="${src.main.webapp.webinf.classes}"> |
| 88 |
|
<fileset dir="${target.webapp.webinf.classes}"> |
| 89 |
|
<include name="**"/> |
| 90 |
|
</fileset> |
| 91 |
|
</copy> |
| 92 |
|
|
| 93 |
|
<delete dir="${basedir}/target"/> |
| 94 |
|
|
| 95 |
</target> |
</target> |
| 96 |
|
|
| 100 |
|
|
| 101 |
<target name="portlet" depends="setup.shell,clean" |
<target name="portlet" depends="setup.shell,clean" |
| 102 |
description="--> Setup Portlet Delopment Environment"> |
description="--> Setup Portlet Delopment Environment"> |
| 103 |
<exec |
|
| 104 |
executable="${shell.cmd}" |
<delete dir="${basedir}/target"/> |
| 105 |
failonerror="true" |
<delete dir="${basedir}/work"/> |
|
dir="${basedir}" |
|
|
> |
|
|
<arg line="${shell.options} 'mvn clean'"/> |
|
|
</exec> |
|
| 106 |
|
|
| 107 |
<!-- pom.xml --> |
<!-- pom.xml --> |
| 108 |
<replace |
<replace |