2 |
<property name="builddir" value="antbuild" /> |
<property name="builddir" value="antbuild" /> |
3 |
<property name="warfile" value="${ant.project.name}.war" /> |
<property name="warfile" value="${ant.project.name}.war" /> |
4 |
<property name="jspdir" value="jspdir" /> |
<property name="jspdir" value="jspdir" /> |
5 |
|
<property name="glassfish" value="/home/app/glassfishv3/glassfish" /> |
6 |
|
|
7 |
<path id="path.base"> |
<path id="path.base"> |
8 |
<fileset dir="WebContent/WEB-INF/lib/"> |
<fileset dir="WebContent/WEB-INF/lib/"> |
9 |
<include name="*.jar" /> |
<include name="*.jar" /> |
10 |
</fileset> |
</fileset> |
11 |
<fileset dir="/home/app/glassfishv3/glassfish/modules/"> |
<fileset dir="${glassfish}/modules/"> |
12 |
<include name="*.jar" /> |
<include name="*.jar" /> |
13 |
</fileset> |
</fileset> |
14 |
</path> |
</path> |
37 |
</target> |
</target> |
38 |
|
|
39 |
<target name="jspvalidate" depends="compile"> |
<target name="jspvalidate" depends="compile"> |
40 |
<exec executable="/home/app/glassfishv3/glassfish/bin/jspc" failonerror="true"> |
<echo message="executing glassfish jspc" /> |
41 |
|
<exec executable="${glassfish}/bin/jspc" failonerror="true"> |
42 |
<arg value="-die1" /> |
<arg value="-die1" /> |
43 |
<arg value="-d" /> |
<arg value="-d" /> |
44 |
<arg value="${jspdir}" /> |
<arg value="${jspdir}" /> |