From user-return-37195-apmail-ant-user-archive=ant.apache.org@ant.apache.org Thu Sep 25 13:51:51 2003 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 75034 invoked from network); 25 Sep 2003 13:51:50 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 25 Sep 2003 13:51:50 -0000 Received: (qmail 61072 invoked by uid 500); 25 Sep 2003 13:51:35 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 61035 invoked by uid 500); 25 Sep 2003 13:51:35 -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 61017 invoked from network); 25 Sep 2003 13:51:33 -0000 Received: from unknown (HELO zampo.edzen.net) (81.170.169.203) by daedalus.apache.org with SMTP; 25 Sep 2003 13:51:33 -0000 Received: from zampo.edzen.net (localhost.localdomain [127.0.0.1]) by zampo.edzen.net (8.12.8/8.12.8) with ESMTP id h8PDpY4M007344 for ; Thu, 25 Sep 2003 15:51:34 +0200 Received: (from soredz@localhost) by zampo.edzen.net (8.12.8/8.12.8/Submit) id h8PDpYYs007342 for user@ant.apache.org; Thu, 25 Sep 2003 15:51:34 +0200 X-Authentication-Warning: zampo.edzen.net: soredz set sender to soren@edzen.org using -f Date: Thu, 25 Sep 2003 15:51:34 +0200 From: =?iso-8859-1?Q?S=F6ren?= Edzen To: Ant Users List Subject: Is it possible to use property of to specify class on cmd line? Message-ID: <20030925135134.GA7259@zampo.edzen.net> Reply-To: Ant Users List Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.4.1i X-GPG-Key: http://www.edzen.org/key/gpg-pubkey.asc X-Operating-System: RedHat Linux 9 kernel: 2.4.20-4.ll.acpi Arch: i686 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 I would like to name the class to be run by the ant task on the command line when executing ant. ie ant execute [name of class] where execute is the task that runs java. Is this possible? If so, how do I set it up in the build.xml? I know that the task has the property. Can I use it to specify that the class I name in the above example will be the class executed by the task? If so, how? -- Sören Edzen, Sweden --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org