Ignore:
Timestamp:
May 25, 2010, 11:34:17 AM (14 years ago)
Author:
slederer
Message:

WAR-Target für Ant-Buildfile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vanHelsing/trunk/gui/build.xml

    r874 r875  
    249249        </target>
    250250        <property name="warfile" value="VanHelsingGUI.war"/>
    251         <property name="deploydir" value="/tmp"/>
     251        <property name="deploydir" value="."/>
    252252         <target name="war">
    253             <fileset dir="WebContent">
    254               <include name="**/*"/>
    255             </fileset>
    256253            <war destfile="${warfile}" webxml="WebContent/WEB-INF/web.xml">
    257254              <classes dir="build/classes" />
     255              <lib dir="WebContent/WEB-INF/lib"/>               
     256              <fileset dir="WebContent">
     257                <exclude name="WebContent/WEB-INF/*"/>
     258              </fileset>
    258259            </war>
    259             <echo>Copying ${warfile}...</echo>
     260           <!-- <echo>Copying ${warfile}...</echo>
    260261            <copy file="${warfile}" todir="${deploydir}" />
    261             <delete file="${warfile}" />
    262           </target>
     262            <delete file="${warfile}" /> -->
     263          </target> 
    263264
    264265</project>
Note: See TracChangeset for help on using the changeset viewer.