Return-Path: X-Original-To: apmail-ant-user-archive@www.apache.org Delivered-To: apmail-ant-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C35A110D58 for ; Fri, 30 Aug 2013 12:33:59 +0000 (UTC) Received: (qmail 98232 invoked by uid 500); 30 Aug 2013 12:33:59 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 98003 invoked by uid 500); 30 Aug 2013 12:33:59 -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 97995 invoked by uid 99); 30 Aug 2013 12:33:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Aug 2013 12:33:58 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of richard.kerry@atos.net designates 160.92.103.80 as permitted sender) Received: from [160.92.103.80] (HELO smtp1.mail.atosorigin.com) (160.92.103.80) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Aug 2013 12:33:50 +0000 Received: from localhost (localhost [127.0.0.1]) by smtp1.mail.atosorigin.com (Postfix) with ESMTP id E99845E00D for ; Fri, 30 Aug 2013 14:33:29 +0200 (CEST) Received: from mail1-ext.my-it-solutions.net (mail1-ext.my-it-solutions.net [217.115.65.11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail1-ext.my-it-solutions.net", Issuer "Entrust Certification Authority - L1C" (verified OK)) by smtp1.mail.atosorigin.com (Postfix) with ESMTPS id DB9015E00C for ; Fri, 30 Aug 2013 14:33:29 +0200 (CEST) X-ME-UUID: 20130830123329899.DB9015E00C@smtp1.mail.atosorigin.com Received: from mail1-int.my-it-solutions.net ([10.92.32.11]) by mail1-ext.my-it-solutions.net (8.14.3/8.14.3) with ESMTP id r7UCXTXp028800 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 30 Aug 2013 14:33:29 +0200 Received: from DEERLM99ETQMSX.ww931.my-it-solutions.net ([10.86.142.102]) by mail1-int.my-it-solutions.net (8.14.3/8.14.3) with ESMTP id r7UCXTqm023286 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Fri, 30 Aug 2013 14:33:29 +0200 Received: from DEFTHW99EZ1MSX.ww931.my-it-solutions.net ([169.254.1.201]) by DEERLM99ETQMSX.ww931.my-it-solutions.net ([10.86.142.102]) with mapi id 14.03.0146.000; Fri, 30 Aug 2013 14:34:20 +0200 From: "Kerry, Richard" To: Ant Users List Subject: RE: Use of XML Catalog with Ant (xslt task) - request for example Thread-Topic: Use of XML Catalog with Ant (xslt task) - request for example Thread-Index: AQHOoBDsDvdgCbWqS/6TwG1jXRRSMZmixwuAgAAt6NOAAAFePYAAHsqAgAqXQH6AAA3O6g== Date: Fri, 30 Aug 2013 12:34:20 +0000 Message-ID: <61C67DC73308BD49B2D4B65072480DBA154019AE@DEFTHW99EZ1MSX.ww931.my-it-solutions.net> References: <61C67DC73308BD49B2D4B65072480DBA153FFB57@DEFTHW99EZ1MSX.ww931.my-it-solutions.net>,<87ioz51ngw.fsf@v35516.1blu.de>,<61C67DC73308BD49B2D4B65072480DBA15400B03@DEFTHW99EZ1MSX.ww931.my-it-solutions.net>,<87eh9k78x9.fsf@v35516.1blu.de>,<87974F52-7DC4-4588-8EB4-4B865C3456AB@pbw.id.au>,<61C67DC73308BD49B2D4B65072480DBA15400BA4@DEFTHW99EZ1MSX.ww931.my-it-solutions.net>, In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.86.142.10] Content-Type: multipart/alternative; boundary="_000_61C67DC73308BD49B2D4B65072480DBA154019AEDEFTHW99EZ1MSXw_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_61C67DC73308BD49B2D4B65072480DBA154019AEDEFTHW99EZ1MSXw_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable "PATH is for shell scripts to locate binaries (C++ programs)" Yep, got that. My uncertainty is because the Ant docs use "path" and "classpath" in consec= utive sentences - I think one of them is wrong. (in http://ant.apache.org/manual/Types/xmlcatalog.html) "the xml-commons resolver library ("resolver.jar") must be in your path" vs= "If the xml-commons resolver library is not found in the classpath" I'm assuming it should be classpath but given the lack of workingness I'd l= ike to be absolutely sure. "CLASSPATH is for java classes (.jar)" Up to now I haven't had a CLASSPATH environment variable. I don't use Jav= a much but I'm sure I've read that CLASSPATH as an environment variable is = deprecated and -cp should be used. If this is so then (at least in the lon= g term) I'd rather not have CLASSPATH as an environment variable, though fo= r the moment it's ok in order to get anything working. The target has its own @classpath attribute, which the docs describe= as "the classpath to use when looking up the XSLT processor". Is it stric= tly for that purpose or should I include the location of resolver.jar here = ? Should I use in Ant's config file to set up a class= path for use by Ant ? The docs refer to "resolver.jar" which is the name of the resolver under xm= l-commons-resolver-1.2. Under apache-ant-1.8.4/lib I find "ant-apache-reso= lver.jar". I note that Martin's response refers to this latter name. Which one is rig= ht ? Whatever I've tried I've got "Apache resolver library not found, internal r= esolver will be used" in my debug output. "lets get this working before moving onto step 2" Absolutely ! Appreciatively, Richard. Richard Kerry BNCS Engineer, SI SOL Telco & Media Vertical Practice T: +44 (0)20 82259063 M: +44 (0)7812 325518 G300, Stadium House, Wood Lane, London, W12 7TA richard.kerry@atos.net This e-mail and the documents attached are confidential and intended solely= for the addressee; it may also be privileged. If you receive this e-mail i= n error, please notify the sender immediately and destroy it. As its integr= ity cannot be secured on the Internet, the Atos group liability cannot be t= riggered for the message content. Although the sender endeavours to maintai= n a computer virus-free network, the sender does not warrant that this tran= smission is virus-free and will not be liable for any damages resulting fro= m any virus transmitte ________________________________ From: Martin Gainty [mgainty@hotmail.com] Sent: 23 August 2013 21:00 To: Ant Users List Subject: RE: Use of XML Catalog with Ant (xslt task) - request for example PATH is for shell scripts to locate binaries (C++ programs) CLASSPATH is for java classes (.jar) My location is ant-apache-resolver.jar $APACHE_HOME/lib/ant-apache-resolver= .jar CLASSPATH=3D$APACHE_HOME/lib/ant-apache-resolver.jar;%CLASSPATH% lets get this working before moving onto step 2 Martin ______________________________________________ --_000_61C67DC73308BD49B2D4B65072480DBA154019AEDEFTHW99EZ1MSXw_--