Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 95418 invoked from network); 9 Apr 2002 09:50:57 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 9 Apr 2002 09:50:57 -0000 Received: (qmail 21567 invoked by uid 97); 9 Apr 2002 09:51:03 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 21551 invoked by uid 97); 9 Apr 2002 09:51:03 -0000 Mailing-List: contact ant-user-help@jakarta.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 ant-user@jakarta.apache.org Received: (qmail 21534 invoked from network); 9 Apr 2002 09:51:02 -0000 Message-ID: <72D488FDEADFD41185C100D0B781F93A01059431@INDIA> From: Sujan Digumarti To: 'Ant Users List' Subject: RE: Ant start on a given file Date: Tue, 9 Apr 2002 15:18:29 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N You can create two targets in the build.xml file for this purpose and call them accordingly for ex: $ ant $ ant For compiling only specific files or excluding specific files you can use the include and exclude tags with javac Have a look at the docs for javac Rgds, Sujan -----Original Message----- From: comp boy [mailto:compboy80@hotmail.com] Sent: Tuesday, April 09, 2002 9:48 AM To: ant-user@jakarta.apache.org Subject: Ant start on a given file I have source code directory that has files to create both an applet version and a standalone application version. Most of the src files are needed by both versions but some have files only necessary for one or the other. Is there a tag in the build.xml file where I can specify a target and it will compile just a applet version (ant applet) or a standalone (ant standalone) and it will start compiling at the main file for each and not compile all the files in the src directory. I am new to Ant and have read through much of the documentation but haven't been able to find something taht will satisfy my need. I used to just run javac and the file name to do it, but I decided to finally move into the 21st century and automate this process. TIA This is what I have right now: -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: