From user-return-70679-apmail-ant-user-archive=ant.apache.org@ant.apache.org Tue Jul 13 11:53:08 2010 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 33397 invoked from network); 13 Jul 2010 11:53:07 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Jul 2010 11:53:07 -0000 Received: (qmail 52971 invoked by uid 500); 13 Jul 2010 11:53:07 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 52801 invoked by uid 500); 13 Jul 2010 11:53:05 -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 52793 invoked by uid 99); 13 Jul 2010 11:53:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jul 2010 11:53:05 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [74.6.228.92] (HELO n12.bullet.mail.ac4.yahoo.com) (74.6.228.92) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 13 Jul 2010 11:52:56 +0000 Received: from [76.13.12.64] by n12.bullet.mail.ac4.yahoo.com with NNFMP; 13 Jul 2010 11:51:20 -0000 Received: from [76.13.10.184] by t5.bullet.mail.ac4.yahoo.com with NNFMP; 13 Jul 2010 11:51:20 -0000 Received: from [127.0.0.1] by omp125.mail.ac4.yahoo.com with NNFMP; 13 Jul 2010 11:51:20 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 229247.79016.bm@omp125.mail.ac4.yahoo.com Received: (qmail 75003 invoked by uid 60001); 13 Jul 2010 11:51:19 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1279021879; bh=wgb3GKhHPumVy69qZXceuY4t7l0rmvAUOvI436Nra48=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=GXumY7Kaf6PyTVAr/aMbubXOzu/mqI9yFadXRK1LIRTAXyY8QscnbhS8dOAJbme0tqHwDdVMAmc1jSXIL+t4LiH+HJ4Ow8kEfe31TtwBkjFoFi8w4z9vZJGLYwB05rfy7tQUQTfBHqtuYWUzQpI6OFx/XxESDK7zagDfZmxg4yg= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=OgZfYKn4gYs/RsuGGIr0LdeZSSnLuDo1kg23q9/6J5g5NrTkOPNBVPxL7B2qqz7wbX72v+XCpf4XXP5X4VQIWn4tXd4p+99v+EbTDjNuXTStxqQLepFx0eLGo9QOCyOms6HR0bNgch8zMrYsDRfhQ2LHfzDuh8ieDX+KPzYSocw=; Message-ID: <694862.74999.qm@web65715.mail.ac4.yahoo.com> X-YMail-OSG: 993fZVUVM1mrhYRBC.23RTRlK5Y.APVnu34QiAEcTfRf5Mg h296en1M22pwYBpcuSEeTyn.q3LoF25CeIP5uC3XYvD14fQ63yN.tnn7TZN2 Tgb8_chY4XUQ.9lJmeIaD8quHWPfYlMBUJD2KiPGPgULrMyYZXpHQdWF1hze r0c2h8tAfTkGrh2SjEciZLJQ8AiUFsRtPsPChEv44VelkWg9cmzzynlK7HBs 8Kdd8eiFerJoft_B6u._x5HEVYXnSCM27YaYonmLtJ_sVWgQfwdfFJLH5Blm YY_VnZsg5nu5faiEmVhyKC9.6TlgVLpAKAnp.kSyp6oSvMac2_nljwtbF Received: from [76.101.80.251] by web65715.mail.ac4.yahoo.com via HTTP; Tue, 13 Jul 2010 04:51:19 PDT X-Mailer: YahooMailWebService/0.8.104.274457 Date: Tue, 13 Jul 2010 04:51:19 -0700 (PDT) From: Eric Fetzer Subject: Re: property passed via ant to build file not being set To: Ant Users List MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked by ClamAV on apache.org Ok, that answers it. Thanks! On Jul 13, 2010, at 6:09 AM, "John W. Lewis" wrote: I am not clear on what you want. Are you wanting the label to be build.1 or not? Cc by design sets a property called label. From http://cruisecontrol.sourceforge.net/main/configxml.html: The default label incrementer () uses the format string.number, providing the initial default label of build.1. -----Original Message----- From: Eric Fetzer [mailto:elstonkers@yahoo.com] Sent: Monday, July 12, 2010 6:06 PM To: Ant Users Subject: property passed via ant to build file not being set OK, I am totally stumped! I have some behavior that works correctly when I call from the command line, but differently when cruise control calls it. I don't understand. Here's the skinny: 1) cc calls my build.xml file 2) my build file calls another build file 3) the other build file calls another build file like this: The label I'm going to pass is ${st.label} 4) note that the echo statement produces the correct label 5) the first thing the jcode.xml file puts out is a echo: 6) and label is set to "build.1" Now when this exact same build process is called directly from ant rather than cc, label is correct in jcode.xml. Anybody have any clue what's going on here. Thanks, Eric --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org