Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 1088 invoked from network); 29 Sep 2003 11:45:29 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 29 Sep 2003 11:45:29 -0000 Received: (qmail 96359 invoked by uid 500); 29 Sep 2003 11:45:18 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 96185 invoked by uid 500); 29 Sep 2003 11:45:17 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 96172 invoked from network); 29 Sep 2003 11:45:17 -0000 Received: from unknown (HELO 137100.vserver.de) (62.75.137.100) by daedalus.apache.org with SMTP; 29 Sep 2003 11:45:17 -0000 Received: from D2CFT80J (localhost.localdomain [127.0.0.1]) (authenticated) by 137100.vserver.de (8.11.6/8.11.6) with ESMTP id h8TBjEd16781 for ; Mon, 29 Sep 2003 13:45:15 +0200 From: =?us-ascii?Q?Antoine_Levy-Lambert?= To: "Ant Users List" Subject: AW: BUILD SUCCESSFUL? Date: Mon, 29 Sep 2003 13:44:22 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <000001c3867d$94075b90$211e1dd3@minek27bpy4dg8> Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Paul, I think you should read the manual under http://ant.apache.org Your build file does not contain the instructions necessary to build a war file. It should contain the task to build a war file. Ant does not yet detect automatically what should be the deliverables of your project. Cheers, Antoine -----Ursprungliche Nachricht----- Von: Paul Wallace [mailto:paul_wallace@optusnet.com.au] Gesendet: Montag, 29. September 2003 13:34 An: user@ant.apache.org Betreff: BUILD SUCCESSFUL? Hello, After running my first attempt at Ant on a very simple couple of compiled Java classes, I get various messages during execution (below). It seems to have built the WAR successfully, but I fail to see find any trace of the said WAR file? I am running Ant, in the same directory as build.xml generated by the Eclipse IDE using the standard doclet. The optional JAVA_HOME is not yet set. While the process is creating lovely documentation, I really desire a WAR file. Any thoughts? Please be gentle. Paul. >From dos window: C:\projects\ant\Jsrc>ant Warning: JAVA_HOME environment variable is not set. If build fails because sun.* classes could not be found you will need to set the JAVA_HOME environment variable to the installation directory of java. Buildfile: build.xml javadoc: [javadoc] Generating Javadoc [javadoc] Javadoc execution [javadoc] Loading source files for package com.ant.admin... [javadoc] Loading source files for package com.ant.servlets... [javadoc] Constructing Javadoc information... [javadoc] Standard Doclet version 1.4.1 [javadoc] Building tree for all the packages and classes... [javadoc] Building index for all the packages and classes... [javadoc] C:\projects\ant\Jsrc\com\ant\admin\MyObject.java:24: warning - @return tag has no arguments. [javadoc] C:\projects\ant\Jsrc\com\ant\admin\MyObject.java:31: warning - @return tag has no arguments. [javadoc] Building index for all classes... [javadoc] Generating C:\projects\ant\doc\stylesheet.css... [javadoc] 2 warnings BUILD SUCCESSFUL Total time: 2 seconds C:\projects\ant\Jsrc> Build.xml: - - --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org