Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 64417 invoked from network); 12 Oct 2007 16:34:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Oct 2007 16:34:25 -0000 Received: (qmail 48499 invoked by uid 500); 12 Oct 2007 16:34:08 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 48470 invoked by uid 500); 12 Oct 2007 16:34:08 -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 23913 invoked by uid 99); 12 Oct 2007 16:18:08 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of info-rico@gmx.net designates 213.165.64.20 as permitted sender) Content-Type: text/plain; charset="us-ascii" Date: Fri, 12 Oct 2007 18:16:48 +0200 From: info-rico@gmx.net Message-ID: <20071012161648.111290@gmx.net> MIME-Version: 1.0 Subject: Passing property from subproject back to parent project To: user@ant.apache.org X-Authenticated: #24539349 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 X-Provags-ID: V01U2FsdGVkX187m1A2jxI7exNL+XCc5BftsPc9lLrt+fAChC5DmU xjWtYBa0eA82bZAKIiOFRku5A4i30gtEvz7w== Content-Transfer-Encoding: 7bit X-GMX-UID: o+lqNxFKZCEEULsKE20h9lF4IGhpZUaX X-Virus-Checked: Checked by ClamAV on apache.org Hi, I use ANT to build a number of subprojects all controlled from one master parent ANT build file. I use the task to call various targets in subprojects. In the subproject-targets I set properties, but they are not available in the parent project. The manual for the "ant" task says that a new project is created for each ant call, so I assume that's why the properties are not set in the parent project. Here my question: Is there a way how I can access properties set in a subproject in the parent project? Here is one use case: In subprojects I use the junit failureproperty option to indicate a test failure, I don't fail the build on a test failure, because I want to run tests for all subprojects and generate reports, etc. In my parent project I want to check for these properties and generate an HTML summary page with links to the detailed results. Any advice is appreciated. Thanks, Rico -- Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versionen downloaden: http://www.gmx.net/de/go/browser --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org