Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 9930 invoked from network); 14 Feb 2006 22:16:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Feb 2006 22:16:33 -0000 Received: (qmail 41936 invoked by uid 500); 14 Feb 2006 22:16:27 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 41893 invoked by uid 500); 14 Feb 2006 22:16:27 -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 41882 invoked by uid 99); 14 Feb 2006 22:16:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Feb 2006 14:16:27 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [204.127.192.81] (HELO rwcrmhc11.comcast.net) (204.127.192.81) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Feb 2006 14:16:25 -0800 Received: from wcx1000 (c-71-198-217-54.hsd1.ca.comcast.net[71.198.217.54]) by comcast.net (rwcrmhc11) with SMTP id <20060214221603m1100psq52e>; Tue, 14 Feb 2006 22:16:04 +0000 From: "bill/wilandra" To: "'Ant Users List'" Subject: RE: problem with compiler settings Date: Tue, 14 Feb 2006 14:16:09 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <251BDD141C490545813A304E8352287601336E@dalmail01.realpulse.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Thread-Index: AcYxsRbpyr8YDACfQ9ekMyi2MIksygAAnYxA X-Virus-Checked: Checked by ClamAV on apache.org Message-Id: <20060214221626.9F37010FB016@asf.osuosl.org> X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I don't think the compiler version has anything to do with the error. It looks like you have presented 2 packages (com.sun.net.ssl and class javax.net.ssl) to the compiler each of which contains the TrustManager class. Since the reference to the TrustManager class in the SSLSocketThread class is not fully qualified the compiler is having trouble resolving which TrustManager class to use. I would guess that you either need to remove one of the packages or fully qualify the reference to the TrustManager class. It might also help to see which compiler is being used to run the Ant file with -verbose. HTH Bill -----Original Message----- From: Casey Daniell [mailto:CDaniell@realm.com] Sent: Tuesday, February 14, 2006 1:52 PM To: 'Ant Users List' Subject: RE: problem with compiler settings Try setting just the javac process... OR -----Original Message----- From: erikweibust@gmail.com [mailto:erikweibust@gmail.com] On Behalf Of Erik Weibust Sent: Tuesday, February 14, 2006 12:55 PM To: user@ant.apache.org Subject: problem with compiler settings i'm looking for some help with the compiler options. i have a project that requires me to compile code written against java 1.2. my system is running java 5.0. i'm using ant 1.6.5. at the top of my build file i have set build.compiler = javac1.2 per the ant manual. i figured that would do the trick. no luck. i've pasted the error message from my compile-profile target. ant is giving an error message that my version of java doesn't support a "classic" compiler. i'll also paste my javac task below this error message. thanks... erik compile-profile: [javac] Compiling 44 source files to C:\dev\work\D6893\D6893\FJPKVPSourceCode_fromCVS\fj_dev61\build\classes [javac] This version of java does not support the classic compiler; upgradin g to modern [javac] C:\dev\work\D6893\D6893\FJPKVPSourceCode_fromCVS\fj_dev61\src\ProfileArch\co m\sprint\fj\arch\utility\SSLSocketThread.java:14: reference to TrustManager is ambiguous, both class com.sun.net.ssl.TrustManager in com.sun.net.ssl and class javax.net.ssl.TrustManager in javax.net.ssl match [javac] private TrustManager tm = null; [javac] ^ -- Erik Weibust developer, blogger - http://erik.weibust.net co-leader Spring Dallas User Group - http://SpringDallasUG.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org NOTICE: This communication contains information which is confidential to Realm Business Solutions, Inc. or its subsidiary ("Realm"). If you are not the intended recipient of this communication, please delete and destroy all copies. If you are the intended recipient of this communication, you should not copy, disclose or distribute this communication without Realm's authority. Any views expressed in this communication are those of the individual sender, except where the sender specifically states them to be Realm's views. Except as required by law, Realm does not represent, warrant or guarantee that the integrity of this communication has been maintained nor that the communication is free of errors, harmful code, interception or interference. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org