|
Ant example source code file (war.xml)
The war.xml source code<?xml version="1.0"?> <project name="war-test" basedir="." default="help"> <property name="working.dir" value="working"/> <target name="help"> <echo message="Test file for the war task"/> </target> <target name="setup"> <mkdir dir="${working.dir}"/> </target> <target name="testlibrefs" depends="setup"> <fileset id="test" dir="." includes="war.xml"/> <war webxml="war.xml" destfile="${working.dir}/test.war"> <lib refid="test"/> </war> <unzip src="${working.dir}/test.war" dest="${working.dir}"/> </target> <target name="clean"> <delete dir="${working.dir}"/> </target> </project> Other Ant examples (source code examples)Here is a short list of links related to this Ant war.xml source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.