From ant-user-return-23283-qmlist-jakarta-archive-ant-user=jakarta.apache.org@jakarta.apache.org Fri Jul 26 22:48:58 2002 Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 58241 invoked from network); 26 Jul 2002 22:48:58 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 26 Jul 2002 22:48:58 -0000 Received: (qmail 18377 invoked by uid 97); 26 Jul 2002 22:49:15 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 18353 invoked by uid 97); 26 Jul 2002 22:49:14 -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 18328 invoked by uid 98); 26 Jul 2002 22:49:13 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <28336AC23B25D411BEA300105AC7F5441199A5A4@ICEXCH2> From: "Shackelford, John-Mason" To: 'Ant Users List' Subject: strange behavior with antcall Date: Fri, 26 Jul 2002 17:48:50 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Greetings, I have a target (build.reporting.only) that gets executed twice in a build because I specify the command line $ ant build.shrserv build.reporting and build.shrserv has a dependency on a target that is also a dependency for build.reporting. This build.reporting.only target has an antcall which passes two parameters to a target (sign.applet). The sign.applet target has no dependencies. Now the problem I am having is that the first time build.reporting only call sign.applet both parameters are passed in, but the second time verbose logging indicates that one of the parameters is ignored (because it is an overide). The value it takes on is from a property file. I have verified that there is no recursion going on. I fired up WinMerge and the only difference in the verbose logging in the two antcalls comes right at the beginning, before : first run: ------------------- Project base dir set to: C:\emsbe [antcall] calling target sign.applet in build file C:\emsbe\build\build-v40.xml parsing buildfile C:\emsbe\build\build-v40.xml with URI = file:C:/emsbe/build/build-v40.xml ..... second run: ------------------- Project base dir set to: C:\emsbe Override ignored for property applet.name [antcall] calling target sign.applet in build file C:\emsbe\build\build-v40.xml parsing buildfile C:\emsbe\build\build-v40.xml with URI = file:C:/emsbe/build/build-v40.xml ..... Notice that this override shows up *before* any of the property files are loaded and it isn't defined anywhere else. Perhaps the logging is misleading due to threading in ant, I don't know; but I am completely flummoxed as to what could be happening here. Anyone have any idea what is going on? John-Mason Shackelford Software Developer NCS Pearson - Measurement Services 2510 North Dodge St. Iowa City, IA 52245 319-354-9200x6214 shacjo@ncs.com -- To unsubscribe, e-mail: For additional commands, e-mail: