Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 13058 invoked from network); 4 Nov 2003 12:36:50 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 4 Nov 2003 12:36:50 -0000 Received: (qmail 80509 invoked by uid 500); 4 Nov 2003 12:36:47 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 80454 invoked by uid 500); 4 Nov 2003 12:36:46 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 80441 invoked from network); 4 Nov 2003 12:36:46 -0000 Received: from unknown (HELO exchange.sun.com) (192.18.33.10) by daedalus.apache.org with SMTP; 4 Nov 2003 12:36:46 -0000 Received: (qmail 2029 invoked by uid 50); 4 Nov 2003 12:36:46 -0000 Date: 4 Nov 2003 12:36:46 -0000 Message-ID: <20031104123646.2028.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: dev@ant.apache.org Cc: Subject: DO NOT REPLY [Bug 24280] - Empty value attribute for behaves differently on Windows and Unix X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24280 Empty value attribute for behaves differently on Windows and Unix ------- Additional Comments From peter.reilly@corvil.com 2003-11-04 12:36 ------- I have tested this on windows. I can only see this behaviour if one does: The reason for this is the fact that Runtime.exec(String[] ...) is platform specific and for windows J2SE (at least up to 1.4.1) uses CreateProcess(0, commandline, ....) Where the second parameter is a string containing the commandline including all the arguements. In the conversion to a string, the second arguement gets lost. The code for the conversion is in the constructor of the class W32Process (available under sun's community source license) looking at the code and at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/createprocess.asp I cannot see a way to make this work correctly. I would be inclined to set this to WONTFIX as in CANTFIX --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org