Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 94228 invoked from network); 23 Jul 2005 12:52:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Jul 2005 12:52:04 -0000 Received: (qmail 40352 invoked by uid 500); 23 Jul 2005 12:51:52 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 40319 invoked by uid 500); 23 Jul 2005 12:51:52 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 40306 invoked by uid 99); 23 Jul 2005 12:51:52 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Jul 2005 05:51:52 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of davanum@gmail.com designates 64.233.170.202 as permitted sender) Received: from [64.233.170.202] (HELO rproxy.gmail.com) (64.233.170.202) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Jul 2005 05:51:47 -0700 Received: by rproxy.gmail.com with SMTP id 34so63519rns for ; Sat, 23 Jul 2005 05:51:51 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Ecp8+fhbXJta4S+AZsJu8DNTSNziM0WGU1d9qRY83A6HZypBESnKuo2wvEjE83Jj/uf5pSzhSOm3o5qE+9ErD1iiAimc7mjj2QuVsPwukPafcMLBuL1Vp57JCwfi/OHp9c2lz0WmtCned1HN7nXcRpaTWdo4a61Mr8XnQ5vgEsQ= Received: by 10.38.6.14 with SMTP id 14mr66957rnf; Sat, 23 Jul 2005 05:51:51 -0700 (PDT) Received: by 10.38.8.28 with HTTP; Sat, 23 Jul 2005 05:51:51 -0700 (PDT) Message-ID: <19e0530f05072305515d4b7590@mail.gmail.com> Date: Sat, 23 Jul 2005 08:51:51 -0400 From: Davanum Srinivas Reply-To: dims@apache.org To: axis-dev@ws.apache.org Subject: Re: Problems compiling Axis1.2.1 In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <19e0530f05072302027887aacf@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N plz drop them in ws-axis/java/lib directory -- dims On 7/23/05, Luis Rivera wrote: >=20 > Hi again, >=20 > Thanks for the reply. I am now compiling with the j2sdk1.4.2_08. Now I ha= ve > a new problem, which I think has to do with the endorsed standards classe= s. > But I can't find a way to specify them in the ant build.xml file. The err= or > is below. I have the two jar files (xercesImpl.jar and xmlParserAPIs.jar) > that have the required classes, but java refuses to see them. I know ther= e > is a property (java.endorsed.dirs), which I believe I could specify as > ${lib.dir} somewhere in the ant file .. or should it be in each target? >=20 > java.lang.NoClassDefFoundError: org/w3c/dom/ranges/DocumentRange > at > org.apache.xerces.validators.dtd.DTDGrammar.callStartDTD(DTDGrammar.java:= 194) > at > org.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTDScanner.j= ava:1079) > at > org.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(XMLDocumen= tScanner.java:22 > 01) > at > org.apache.xerces.framework.XMLDocumentScanner.access$0(XMLDocumentScanne= r.java:2156) > at > org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispatch(= XMLDocumentScanner.java:887) > at > org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScann= er.java:381) > at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:103= 5) > at > org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:217) > at > org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:140) > at > org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:91= ) > at org.apache.tools.ant.Main.runBuild(Main.java:653) > at org.apache.tools.ant.Main.startAnt(Main.java:187) > at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246) > at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67) >=20 > Any help will be appreicated, >=20 > --Luis R. >=20 > >From: Davanum Srinivas > >Reply-To: dims@apache.org > >To: axis-dev@ws.apache.org > >Subject: Re: Problems compiling Axis1.2.1 > >Date: Sat, 23 Jul 2005 05:02:27 -0400 > > > >there are some steps to doing this using jdk1.5...but i'd rather you > >compile using JDK1.4 using the ant/build.xml from the command line. > > > >-- dims > > > >On 7/22/05, Luis Rivera wrote: > > > > > > Hi, > > > > > > Well, I finally found time to try to build Axis1.2.1 to see if I can = get > >rid > > > of the NullSecManager() when using axis in an applet. However, I cann= ot > >even > > > compile it, it gives me lots of warnings, complaining about using "en= um > >as a > > > keyword", then I change the source to 1.5 and they become errors. Als= o, > > > there are errors regarding incomplete interface implementations, whic= h I > > > believe is more about correcting the previous warnings first. > > > > > > Here is the error list, I reduced the error to only a handfull the re= st > >are > > > just the same. Any help will be appreicated. I am using the jdk1.5.0_= 03 > >to > > > compile and running ant from Eclipse. However, even runnig out to > >compile > > > form the command line give me the same errors. > > > > > > --Luis R. > > > > > > [javac] > > > > >C:\perforce\verimatrix\Dev\Luis\axis\axis-1_2_1\src\org\apache\axis\enum= \Scope.java:17: > > > warning: as of release 1.5, 'enum' is a keyword, and may not be used = as > >an > > > identifier > > > [javac] (try -source 1.5 to use 'enum' as a keyword) > > > [javac] package org.apache.axis.enum; > > > [javac] ^ > > > ... > > > [javac] > > > > >C:\perforce\verimatrix\Dev\Luis\axis\axis-1_2_1\src\org\apache\axis\comp= onents\net\SunFakeTrustSocketFactory.java:24: > > > warning: [deprecation] com.sun.net.ssl.SSLContext in com.sun.net.ssl = has > > > been deprecated > > > [javac] import com.sun.net.ssl.SSLContext; > > > [javac] ^ > > > ... > > > [javac] > > > > >C:\perforce\verimatrix\Dev\Luis\axis\axis-1_2_1\src\org\apache\axis\mess= age\NodeImpl.java:45: > > > org.apache.axis.message.NodeImpl is not abstract and does not overrid= e > > > abstract method getUserData(java.lang.String) in org.w3c.dom.Node > > > [javac] public class NodeImpl implements org.w3c.dom.Node, > > > javax.xml.soap.Node, > > > [javac] ^ > > > ... > > > [javac] > > > > >C:\perforce\verimatrix\Dev\Luis\axis\axis-1_2_1\src\org\apache\axis\comp= onents\net\SunJSSESocketFactory.java:82: > > > warning: [deprecation] com.sun.net.ssl.SSLContext in com.sun.net.ssl = has > > > been deprecated > > > [javac] SSLContext context =3D getContext(); > > > [javac] ^ > > > ... > > > [javac] > > > > >C:\perforce\verimatrix\Dev\Luis\axis\axis-1_2_1\src\org\apache\axis\util= s\SOAPMonitor.java:2625: > > > warning: [deprecation] show() in java.awt.Dialog has been deprecated > > > [javac] dialog.show(); > > > [javac] ^ > > > [javac] 16 errors > > > [javac] 35 warnings > > > > > > _________________________________________________________________ > > > Express yourself instantly with MSN Messenger! Download today - it's > >FREE! > > > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ > > > > > > > > > > > >-- > >Davanum Srinivas -http://blogs.cocoondev.org/dims/ >=20 > _________________________________________________________________ > Don't just search. Find. Check out the new MSN Search! > http://search.msn.click-url.com/go/onm00200636ave/direct/01/ >=20 >=20 --=20 Davanum Srinivas -http://blogs.cocoondev.org/dims/