Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 70852 invoked from network); 8 Aug 2006 15:17:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Aug 2006 15:17:25 -0000 Received: (qmail 94974 invoked by uid 500); 8 Aug 2006 15:17:19 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 94894 invoked by uid 500); 8 Aug 2006 15:17:19 -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 94804 invoked by uid 99); 8 Aug 2006 15:17:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 08:17:18 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of ddevienne@gmail.com designates 66.249.82.226 as permitted sender) Received: from [66.249.82.226] (HELO wx-out-0506.google.com) (66.249.82.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 08:17:18 -0700 Received: by wx-out-0506.google.com with SMTP id s8so130041wxc for ; Tue, 08 Aug 2006 08:16:57 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=nqnKTpmfjGdKdvlIOlbqscOEofO85P44ZLz/AgP7MlXzOl3H/XGJnBnSOOIh/mr/nJMwTPICiQ+PXdmV/EtvRtQn0hzvPmlQj1YZQuE0yM1RhIMi0AFYsCrqcJGEgVweF7yIHaGWsnkG9oWYth3ryRqog3wZukvrIgZBoKBrqtY= Received: by 10.78.183.15 with SMTP id g15mr2801117huf; Tue, 08 Aug 2006 08:16:57 -0700 (PDT) Received: by 10.78.66.19 with HTTP; Tue, 8 Aug 2006 08:16:56 -0700 (PDT) Message-ID: <255d8d690608080816m69d2e7c8ga1f984cb720796f2@mail.gmail.com> Date: Tue, 8 Aug 2006 10:16:56 -0500 From: "Dominique Devienne" To: "Ant Users List" Subject: Re: Command line arguments with task. In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > So far that problem is still unresolved. Have you tried using -lib saxon.jar on the command line? This puts saxon first on the classpath, which makes Trax load it instead of the default JDK-provided XSLT engone. > > > To my eye, these appear to be indentical. Which one is wrong? the 'value' one is wrong. "-l -a" is not an argument. "-l" and "-a" are. > > > > > > Use 'line' instead. Better yet, using Notice the forward-slash. 'value' and 'line' are string-based args, that don't assume anything about the args. 'file' knows it's a filename, and "does the right thing" (TM) to convert into a proper filename for the current platform. > > Again, better to use 'file' above. > > > This is correct OTOH. Even if span (or the other properties) contain spaces, you most likely want to pass it in as a single argument. > > With these changes, should work fine. --DD --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org