Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 88600 invoked from network); 10 Jun 2005 15:37:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Jun 2005 15:37:50 -0000 Received: (qmail 87832 invoked by uid 500); 10 Jun 2005 15:37:41 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 87777 invoked by uid 500); 10 Jun 2005 15:37:40 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 87764 invoked by uid 99); 10 Jun 2005 15:37:40 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of mellists@gmail.com designates 64.233.184.196 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.196) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 10 Jun 2005 08:37:35 -0700 Received: by wproxy.gmail.com with SMTP id 68so685383wra for ; Fri, 10 Jun 2005 08:36:38 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dKn9/c7hqx0G8cMZ/bZ3tO9BeBuOehobserr39qAfWd+7Ibo80tWJDiL5W8Sm+/DMpihXZ9q/Jg+MBRESOwcoewvAdgevj6zRmyyeb7fA3KGqwIdcat1crKnKnCOl/9HtkBZxLGbtKBYKY8XSDYD98wojH9cGHKldgohMTejQeQ= Received: by 10.54.42.67 with SMTP id p67mr1132514wrp; Fri, 10 Jun 2005 08:36:38 -0700 (PDT) Received: by 10.54.42.36 with HTTP; Fri, 10 Jun 2005 08:36:38 -0700 (PDT) Message-ID: <7881d2f205061008364d1e9a02@mail.gmail.com> Date: Fri, 10 Jun 2005 16:36:38 +0100 From: Eric Tchepannou Reply-To: Eric Tchepannou To: Ant Users List Subject: Re: valid characters for target names In-Reply-To: <42a8eb05.669cb539.0248.ffffeb19SMTPIN_ADDED@mx.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <42a8eb05.669cb539.0248.ffffeb19SMTPIN_ADDED@mx.gmail.com> X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I will personally not use spaces, but I can remember a couple of times where I have used dots (.) in my target names. May be from the command line you may have to run your target like this: ant -f "install server" (I have never tested this, but it could work) On 6/10/05, ralapa@spamex.com wrote: > Hi, >=20 > Could someone please clarify what is a valid characters for > a target name? >=20 > I have been using spaces in the target names, e.g. "install server", > because it is more readable, and since I only invoke ant through > my IDE (IntelliJ) I don't care that spaces make it harder to use on > the commandline. >=20 > But I was reading the ant manual, and it seemed to say that the > target names should only be alphanumeric. That seems extreme > to me. Does that mean you can't use space, hypen, or underscore? >=20 > Thanks, > -Alex >=20 >=20 > "A target name can be any alphanumeric string valid in the encoding of th= e XML file. The empty string "" is in this set, as is comma "," and space "= ". Please avoid using these, as they will not be supported in future Ant v= ersions because of all the confusion they cause. IDE support of unusual tar= get names, or any target name containing spaces, varies with the IDE." >=20 > http://ant.apache.org/manual/using.html#targets >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org >=20 >=20 --=20 Best Regards, Eric Tchepannou --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org