Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 11992 invoked from network); 23 Sep 2007 22:02:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Sep 2007 22:02:02 -0000 Received: (qmail 60024 invoked by uid 500); 23 Sep 2007 22:01:49 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 59986 invoked by uid 500); 23 Sep 2007 22:01:49 -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 59975 invoked by uid 99); 23 Sep 2007 22:01:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Sep 2007 15:01:49 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [206.190.48.248] (HELO web52805.mail.re2.yahoo.com) (206.190.48.248) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 23 Sep 2007 22:01:50 +0000 Received: (qmail 41376 invoked by uid 60001); 23 Sep 2007 22:01:29 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=Aa9G4vkxKNuvNfPcM5J11fSao6iwMYUuDBSbNdPajcgzGX6QDSFCWCClwjfhpNV68zhZ2qMRH+6Tzcyps9tfnY9RT+HKJszec65mRkDKgXF4iknp7XoPXsfmHst57XkBXplVzLmT/AWVcnHGVuCvNC2laD8Vky6Ljo80yfEYvWQ=; X-YMail-OSG: GPhtWdQVM1mAOFJPF9dvHM3abyBZGL44YXXHONIvkS1kpQltX4z7uLxNUqhxbovWmLNObOg7TxGrgq5qeB0Wla_d7b61WSSoTNQZ1_DLaqqZ35f4UriLQP8owjnvrg-- Received: from [24.128.78.127] by web52805.mail.re2.yahoo.com via HTTP; Sun, 23 Sep 2007 15:01:29 PDT Date: Sun, 23 Sep 2007 15:01:29 -0700 (PDT) From: "Anthony N. Frasso" Reply-To: anf4@cornell.edu Subject: Setting the Endorsed Directory Location To: user@ant.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <707733.38465.qm@web52805.mail.re2.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org Hello, and thanks for all of your help in advance. I'm using Ant version 1.6.5 with the JDK v. 1.4.2. I'm attempting to compile a project that uses Xerces v. 2.9.1. In order to compile properly, the XML API included with Xerces needs to override the default XML API that comes with JDK.1.4.2. As I understand it, this is done by setting the "endorsed directory" location to be the location of the Xerces jar files. Unfortunately, using the tag inside the task doesn't seem to be accomplishing this. Here is my target: Here is the console output: $ ant Buildfile: build.xml init: clean: [delete] Deleting directory C:\Projects\Project\build compile: [mkdir] Created dir: C:\Projects\Project\build\classes [javac] Compiling 97 source files to C:\Projects\Project\build\classes [javac] javac: invalid flag: -endorseddirs lib [javac] Usage: javac [javac] where possible options include: [javac] -g Generate all debugging info [javac] -g:none Generate no debugging info [javac] -g:{lines,vars,source} Generate only some debugging info [javac] -nowarn Generate no warnings [javac] -verbose Output messages about what the compiler is doing [javac] -deprecation Output source locations where deprecated APIs are used [javac] -classpath Specify where to find user class files [javac] -sourcepath Specify where to find input source files [javac] -bootclasspath Override location of bootstrap class files [javac] -extdirs Override location of installed extensions [javac] -d Specify where to place generated class files [javac] -encoding Specify character encoding used by source files [javac] -source Provide source compatibility with specified release [javac] -target Generate class files for specific VM version [javac] -help Print a synopsis of standard options BUILD FAILED C:\Projects\Project\build.xml:141: Compile failed; see the compiler error output for details. Total time: 2 seconds Any ideas on what I'm doing incorrectly? Regards, Anthony Frasso ____________________________________________________________________________________ Pinpoint customers who are looking for what you sell. http://searchmarketing.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org