Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 21987 invoked from network); 21 Jun 2002 14:48:49 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 21 Jun 2002 14:48:49 -0000 Received: (qmail 16610 invoked by uid 97); 21 Jun 2002 14:48:27 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 16406 invoked by uid 97); 21 Jun 2002 14:48:25 -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 16214 invoked by uid 98); 21 Jun 2002 14:48:24 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: From: Dominique Devienne To: "'Ant Users List'" Subject: RE: passing a classpath back to the parent? Date: Fri, 21 Jun 2002 09:48:07 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N No, not directly. The only known way to achieve this (that I know off at least) is to write out the classpath from b.xml into a properties file, which is read back in a.xml after it executed b.xml's target. It's not pretty, but it works. --- a.xml --- --- b.xml --- ... Not tested, but it should work. --DD -----Original Message----- From: lxjfswxuyw001@sneakemail.com [mailto:lxjfswxuyw001@sneakemail.com] Sent: Thursday, June 20, 2002 10:23 PM To: ant-user@jakarta.apache.org Subject: passing a classpath back to the parent? Hi all, I hope this doesn't seem too dumb a question: I'm having a project a.xml with a target "compile" that calls another compile target in b.xml. I would need a way to pass the classpath set in b.xml back to a.xml. Is there a way to do that? Thanks, Thanh Long -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: