Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 84608 invoked from network); 8 Aug 2002 07:30:18 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 8 Aug 2002 07:30:18 -0000 Received: (qmail 4719 invoked by uid 97); 8 Aug 2002 07:30:44 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 4653 invoked by uid 97); 8 Aug 2002 07:30:42 -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 4602 invoked by uid 98); 8 Aug 2002 07:30:41 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) From: "Nick Pellow" To: "Ant Users List" Subject: AW: Setting project name with a property? Date: Thu, 8 Aug 2002 09:30:03 +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) In-Reply-To: <20020807182002.41873.qmail@web13409.mail.yahoo.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > -----Ursprungliche Nachricht----- > Von: Diane Holt [mailto:holtdl@yahoo.com] > Gesendet: Mittwoch, 7. August 2002 20:20 > An: Ant Users List > Betreff: Re: Setting project name with a property? > > > --- Nick Pellow wrote: > > is it possible to set a project name using a property > > from the command line ala: > > ant -Dant.project.name="Dynamic Name :)" ? > > or via any other mechanism that can be declared outside the build file? > > No. Well, you could set the property, but it wouldn't actually become the > name of the project, since that's set via the 'name' attribute. And if > your tag does include a 'name' attr, then you're define would be > ineffectual anyway (ie., ant.project.name would still get set to whatever > the value of 'name' is). > > Why are you wanting to do it? Good question. It is not an ant problem at all... We are currently testing Cruise Control on our projects. We have many projects in CVS, but Cruise Control really only likes to know about one project. So we wrote a very generic wrapper build file that calls into each seperate project. We then start cruise control for each project, (with appropriate parameters for the project's dir). Problem is that Cruise Control uses the current project name as the subject for the emails it sends! So for each project, each email has the same project name, that of the wrapper build file. Cheers, Nick > > Diane > > ===== > (holtdl@yahoo.com) > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Health - Feel better, live better > http://health.yahoo.com > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > > > -- To unsubscribe, e-mail: For additional commands, e-mail: