Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 29168 invoked from network); 14 Mar 2005 13:52:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 14 Mar 2005 13:52:25 -0000 Received: (qmail 45076 invoked by uid 500); 14 Mar 2005 13:52:24 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 45031 invoked by uid 500); 14 Mar 2005 13:52:24 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 45015 invoked by uid 500); 14 Mar 2005 13:52:24 -0000 Received: (qmail 45011 invoked by uid 99); 14 Mar 2005 13:52:23 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 14 Mar 2005 05:52:23 -0800 Received: (qmail 29139 invoked by uid 1539); 14 Mar 2005 13:52:22 -0000 Date: 14 Mar 2005 13:52:22 -0000 Message-ID: <20050314135222.29138.qmail@minotaur.apache.org> From: peterreilly@apache.org To: ant-cvs@apache.org Subject: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs War.java X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N peterreilly 2005/03/14 05:52:22 Modified: src/main/org/apache/tools/ant/taskdefs War.java Log: javadoc Revision Changes Path 1.41 +14 -0 ant/src/main/org/apache/tools/ant/taskdefs/War.java Index: War.java =================================================================== RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/War.java,v retrieving revision 1.40 retrieving revision 1.41 diff -u -r1.40 -r1.41 --- War.java 6 Jan 2005 12:05:05 -0000 1.40 +++ War.java 14 Mar 2005 13:52:22 -0000 1.41 @@ -57,6 +57,7 @@ private static final FileUtils FILE_UTILS = FileUtils.getFileUtils(); + /** Constructor for the War Task. */ public War() { super(); archiveType = "war"; @@ -66,6 +67,7 @@ /** * Deprecated name of the file to create * -use destfile instead. + * @param warFile the destination file * @deprecated Use setDestFile(File) instead * @ant.attribute ignore="true" */ @@ -76,6 +78,7 @@ /** * set the deployment descriptor to use (WEB-INF/web.xml); * required unless update=true + * @param descr the deployment descriptor file */ public void setWebxml(File descr) { deploymentDescriptor = descr; @@ -94,6 +97,7 @@ /** * add files under WEB-INF/lib/ + * @param fs the zip file set to add */ public void addLib(ZipFileSet fs) { @@ -104,6 +108,7 @@ /** * add files under WEB-INF/classes + * @param fs the zip file set to add */ public void addClasses(ZipFileSet fs) { // We just set the prefix for this fileset, and pass it up. @@ -113,6 +118,7 @@ /** * files to add under WEB-INF; + * @param fs the zip file set to add */ public void addWebinf(ZipFileSet fs) { // We just set the prefix for this fileset, and pass it up. @@ -123,6 +129,9 @@ /** * override of parent; validates configuration * before initializing the output stream. + * @param zOut the zip output stream + * @throws IOException on output error + * @throws BuildException if invalid configuration */ protected void initZipOutputStream(ZipOutputStream zOut) throws IOException, BuildException { @@ -136,6 +145,11 @@ /** * Overridden from Zip class to deal with web.xml + * @param file the file to add to the archive + * @param zOut the stream to write to + * @param vPath the name this entry shall have in the archive + * @param mode the Unix permissions to set. + * @throws IOException on output error */ protected void zipFile(File file, ZipOutputStream zOut, String vPath, int mode) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org