Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 82975 invoked from network); 13 Feb 2002 14:29:37 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 13 Feb 2002 14:29:37 -0000 Received: (qmail 14122 invoked by uid 97); 13 Feb 2002 14:29:29 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 14094 invoked by uid 97); 13 Feb 2002 14:29:29 -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 3704 invoked from network); 13 Feb 2002 14:23:42 -0000 Message-ID: <3C6A708E.AA5BBACD@wuestenrot.de> Date: Wed, 13 Feb 2002 14:56:30 +0100 From: Michael Wenig X-Mailer: Mozilla 4.78 [de] (WinNT; U) X-Accept-Language: de MIME-Version: 1.0 To: ant-user@jakarta.apache.org Subject: Property of used target Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I do have a script which builds distributables for 2 systems (production and test-system). Which system will be used depends on command-line-called target. Because there are differences between these distributables (e.g. deployment-descriptors) I want to include the target given on command-line in the name of the resulting jar/war, without using another internal target to pack - this would result in much redundancy. I thought of a built-in-property like ant.project.name so I can use so calling "ant test" would result in "project-test.jar" and calling "ant production" would result in "project-production.jar" without defining two different targets which do the packing. Does anyone know if this is possible? Thanks Michael ***************************************************************************** Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese eMail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. ***************************************************************************** -- To unsubscribe, e-mail: For additional commands, e-mail: