/[projects]/android/TrainInfoService/build.xml
ViewVC logotype

Diff of /android/TrainInfoService/build.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1611 by torben, Fri Oct 14 14:00:59 2011 UTC revision 1612 by torben, Fri Oct 14 15:37:38 2011 UTC
# Line 15  Line 15 
15    
16          <target name="init">          <target name="init">
17                  <mkdir dir="${builddir}" />                  <mkdir dir="${builddir}" />
18                    <mkdir dir="lib" />
19          </target>          </target>
20    
21    
# Line 63  Line 64 
64                  <delete dir="lib" />                  <delete dir="lib" />
65          </target>          </target>
66    
67    
68            <target name="jspvalidate" depends="compile">
69                    <taskdef classname="org.apache.jasper.JspC" name="jasper" >
70                            <classpath>
71                                    <path refid="path.base"/>
72                            </classpath>
73                    </taskdef>
74    
75                    <echo message="launching jasper jspc" />
76                    <jasper verbose="1"
77                            package="src"
78                            uriroot="WebContent"
79                            webXmlFragment="${build.dir}/generated_web.xml"
80                            outputDir="${jspdir}" />
81    
82                    <javac srcdir="jspdir/src" destdir="jspdir/" debug="on" optimize="on" includeantruntime="false" encoding="UTF-8">
83                            <classpath>
84                                    <path refid="path.base"/>
85                                    <pathelement location="${builddir}"/>
86                            </classpath>
87                    </javac>
88    
89            </target>
90    
91    <!--
92          <target name="jspvalidate" depends="compile">          <target name="jspvalidate" depends="compile">
93                  <echo message="executing glassfish jspc" />                  <echo message="executing glassfish jspc" />
94                  <exec executable="${glassfish}/bin/jspc" failonerror="true">                  <exec executable="${glassfish}/bin/jspc" failonerror="true">
# Line 76  Line 102 
102                          <arg value="WebContent" />                          <arg value="WebContent" />
103                  </exec>                  </exec>
104          </target>          </target>
105    -->
106    
107          <target name="war" depends="jspvalidate" description="Builds the WAR file for installation.">          <target name="war" depends="jspvalidate" description="Builds the WAR file for installation.">
108                  <war warfile="${warfile}" webxml="WebContent/WEB-INF/web.xml">                  <war warfile="${warfile}" webxml="WebContent/WEB-INF/web.xml">

Legend:
Removed from v.1611  
changed lines
  Added in v.1612

  ViewVC Help
Powered by ViewVC 1.1.20