Dims,
Ok, the only thing I want is to be able to compile axis, so I can modify
later to see if I can obtain a version that does not need a
NullSecurityManager to run in an applet. I understand now that the xmlBeans
stuff is optional and I don't need it to generate the axis.jar (it was
needed because I was first trying to compile with Eclipse).
I wiped the classpath variable with no visible change. I generated the
output below using the
ant -diagnostics option to see if you can spot what's missing or what I have
to remove. Probably this is not meant to be compiled in Windows? ... or
should the libraries I mentioned be part of the sun.boot.class.path?
I am now just guessing here, I can't believe it's already a new day and I
can't compile thins thing :(.
*****************************************************************************
Apache Ant version 1.6.5 compiled on June 2 2005
------- Ant diagnostics report -------
Apache Ant version 1.6.5 compiled on June 2 2005
-------------------------------------------
Implementation Version (JDK1.2+ only)
-------------------------------------------
core tasks : 1.6.5
optional tasks : 1.6.5
-------------------------------------------
ANT_HOME/lib jar listing
-------------------------------------------
ant.home: c:\Java\apache-ant-1.6.5\bin\..
ant-antlr.jar (5667 bytes)
ant-apache-bcel.jar (8617 bytes)
ant-apache-bsf.jar (12597 bytes)
ant-apache-log4j.jar (3022 bytes)
ant-apache-oro.jar (48034 bytes)
ant-apache-regexp.jar (3724 bytes)
ant-apache-resolver.jar (4082 bytes)
ant-commons-logging.jar (3864 bytes)
ant-commons-net.jar (35303 bytes)
ant-icontract.jar (9721 bytes)
ant-jai.jar (21359 bytes)
ant-javamail.jar (6761 bytes)
ant-jdepend.jar (8160 bytes)
ant-jmf.jar (6605 bytes)
ant-jsch.jar (22726 bytes)
ant-junit.jar (74237 bytes)
ant-launcher.jar (9180 bytes)
ant-netrexx.jar (9998 bytes)
ant-nodeps.jar (421008 bytes)
ant-starteam.jar (35472 bytes)
ant-stylebook.jar (2328 bytes)
ant-swing.jar (6763 bytes)
ant-trax.jar (68841 bytes)
ant-vaj.jar (49742 bytes)
ant-weblogic.jar (14363 bytes)
ant-xalan1.jar (4465 bytes)
ant-xslp.jar (2244 bytes)
ant.jar (1034049 bytes)
xercesImpl.jar (1010675 bytes)
xml-apis.jar (124724 bytes)
-------------------------------------------
Tasks availability
-------------------------------------------
image : Missing dependency com.sun.media.jai.codec.FileSeekableStream
sshexec : Missing dependency com.jcraft.jsch.UserInfo
scp : Missing dependency com.jcraft.jsch.UserInfo
jdepend : Missing dependency jdepend.xmlui.JDepend
junit : Missing dependency junit.framework.Test
-------------------------------------------
org.apache.env.Which diagnostics
-------------------------------------------
Not available.
Download it at http://xml.apache.org/commons/
-------------------------------------------
XML Parser information
-------------------------------------------
XML Parser : org.apache.xerces.jaxp.SAXParserImpl
XML Parser Location: C:\builds\Java1.4.2\classes
-------------------------------------------
System properties
-------------------------------------------
java.runtime.name : Java(TM) 2 Runtime Environment, Standard Edition
sun.boot.library.path : c:\builds\Java1.4.2\bin
java.vm.version : 1.4.2
ant.library.dir : C:\Java\apache-ant-1.6.5\lib
java.vm.vendor : Sun Microsystems Inc.
java.vendor.url : http://java.sun.com/
path.separator : ;
java.vm.name : Java HotSpot(TM) Client VM
file.encoding.pkg : sun.io
user.country : US
sun.os.patch.level : Service Pack 2
java.vm.specification.name : Java Virtual Machine Specification
user.dir : C:\Java\axis-src\ws-axis\java
java.runtime.version : 1.4.2-internal-LuisRivera_03_sep_2004_19_47
java.awt.graphicsenv : sun.awt.Win32GraphicsEnvironment
java.endorsed.dirs : c:\builds\Java1.4.2\lib\endorsed
os.arch : x86
java.io.tmpdir : C:\DOCUME~1\lrivera\LOCALS~1\Temp\
line.separator :
java.vm.specification.vendor : Sun Microsystems Inc.
user.variant :
os.name : Windows XP
ant.home : c:\Java\apache-ant-1.6.5\bin\..
sun.java2d.fontpath :
java.library.path :
c:\builds\Java1.4.2\bin;.;C:\WINDOWS\system32;C:\WINDOWS;c:\Java\j2sdk1.4.2_08\bin;c:\Java\apache-ant-1.6.5\bin;C:\PROGRA~1\MKSTOO~1\bin;C:\PROGRA~1\MKSTOO~1\bin\x11;C:\PROGRA~1\MKSTOO~1\mksnt;C:\PROGRAM
FILES\THINKPAD\UTILITIES;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\ATI Technologies\ATI Control Panel;C:\WINDOWS\Downloaded Program
Files;C:\IBMTOOLS\Python22;C:\Program Files\PC-Doctor for
Windows\services;C:\Program Files\Perforce
java.specification.name : Java Platform API Specification
java.class.version : 48.0
java.util.prefs.PreferencesFactory :
java.util.prefs.WindowsPreferencesFactory
os.version : 5.1
user.home : C:\Documents and Settings\lrivera
user.timezone : America/Los_Angeles
java.awt.printerjob : sun.awt.windows.WPrinterJob
file.encoding : Cp1252
java.specification.version : 1.4
user.name : lrivera
java.class.path :
c:\Java\apache-ant-1.6.5\bin\..\lib\ant-launcher.jar;C:\Java\apache-ant-1.6.5\lib\ant-antlr.jar;C:\Java\apache-ant-1.6.5\lib\ant-apache-bcel.jar;C:\Java\apache-ant-1.6.5\lib\ant-apache-bsf.jar;C:\Java\apache-ant-1.6.5\lib\ant-apache-log4j.jar;C:\Java\apache-ant-1.6.5\lib\ant-apache-oro.jar;C:\Java\apache-ant-1.6.5\lib\ant-apache-regexp.jar;C:\Java\apache-ant-1.6.5\lib\ant-apache-resolver.jar;C:\Java\apache-ant-1.6.5\lib\ant-commons-logging.jar;C:\Java\apache-ant-1.6.5\lib\ant-commons-net.jar;C:\Java\apache-ant-1.6.5\lib\ant-icontract.jar;C:\Java\apache-ant-1.6.5\lib\ant-jai.jar;C:\Java\apache-ant-1.6.5\lib\ant-javamail.jar;C:\Java\apache-ant-1.6.5\lib\ant-jdepend.jar;C:\Java\apache-ant-1.6.5\lib\ant-jmf.jar;C:\Java\apache-ant-1.6.5\lib\ant-jsch.jar;C:\Java\apache-ant-1.6.5\lib\ant-junit.jar;C:\Java\apache-ant-1.6.5\lib\ant-launcher.jar;C:\Java\apache-ant-1.6.5\lib\ant-netrexx.jar;C:\Java
\apache-ant-1.6.5\lib\ant-nodeps.jar;C:\Java\apache-ant-1.6.5\lib\ant-starteam.jar;C:\Java\apache-ant-1.6.5\lib\ant-stylebook.jar;C:\Java\apache-ant-1.6.5\lib\ant-swing.jar;C:\Java\apache-ant-1.6.5\lib\ant-trax.jar;C:\Java\apache-ant-1.6.5\lib\ant-vaj.jar;C:\Java\apache-ant-1.6.5\lib\ant-weblogic.jar;C:\Java\apache-ant-1.6.5\lib\ant-xalan1.jar;C:\Java\apache-ant-1.6.5\lib\ant-xslp.jar;C:\Java\apache-ant-1.6.5\lib\ant.jar;C:\Java\apache-ant-1.6.5\lib\xercesImpl.jar;C:\Java\apache-ant-1.6.5\lib\xml-apis.jar
java.vm.specification.version : 1.0
sun.arch.data.model : 32
java.home : c:\builds\Java1.4.2
java.specification.vendor : Sun Microsystems Inc.
user.language : en
awt.toolkit : sun.awt.windows.WToolkit
java.vm.info : mixed mode
java.version : 1.4.2-internal
java.ext.dirs : c:\builds\Java1.4.2\lib\ext
sun.boot.class.path :
c:\builds\Java1.4.2\lib\rt.jar;c:\builds\Java1.4.2\lib\i18n.jar;c:\builds\Java1.4.2\lib\sunrsasign.jar;c:\builds\Java1.4.2\lib\jsse.jar;c:\builds\Java1.4.2\lib\jce.jar;c:\builds\Java1.4.2\lib\charsets.jar;c:\builds\Java1.4.2\classes
java.vendor : Sun Microsystems Inc.
file.separator : \
java.vendor.url.bug : http://java.sun.com/cgi-bin/bugreport.cgi
sun.cpu.endian : little
sun.io.unicode.encoding : UnicodeLittle
sun.cpu.isalist : pentium i486 i386
**************************************************************************
Thanks in advance,
--Luis R.
From: Davanum Srinivas <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: Luis Rivera <[EMAIL PROTECTED]>
CC: [email protected]
Subject: Re: Problems compiling Axis1.2.1
Date: Sat, 23 Jul 2005 09:39:05 -0400
Let's rewind and start from the beginning. What do you need? A build
with xmlbeans stuff enabled?
other tips to try.
- get a fresh version of ant
- remove anything in your CLASSPATH variable.
- remove jars that you put in lib\endorsed
I have *NEVER* seen this problem....
-- dims
On 7/23/05, Luis Rivera <[EMAIL PROTECTED]> wrote:
>
> Dims,
>
> That's exactly where they are and still I get the same error. I also
copied
> them to the jre/lib directory, where the rt.jar file is and still it
doesn't
> work. I believe there is something in the build.xml file that I need to
> change .. (probably, I don't know). I tried different things but nothing
> seems to work, the last resource is the property but it seems that the
error
> is way before starting the compilation, so it doesn't matter if I add
the
> property in the compile target. I am lost here ... I need a break and
all
> the help I can get.
>
> Thanks in advance for any tip,
> --Luis R.
>
> >From: Davanum Srinivas <[EMAIL PROTECTED]>
> >Reply-To: [EMAIL PROTECTED]
> >To: [email protected]
> >Subject: Re: Problems compiling Axis1.2.1
> >Date: Sat, 23 Jul 2005 08:51:51 -0400
> >
> >plz drop them in ws-axis/java/lib directory
> >
> >-- dims
> >
> >
> >On 7/23/05, Luis Rivera <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi again,
> > >
> > > Thanks for the reply. I am now compiling with the j2sdk1.4.2_08. Now
I
> >have
> > > a new problem, which I think has to do with the endorsed standards
> >classes.
> > > But I can't find a way to specify them in the ant build.xml file.
The
> >error
> > > 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
> >there
> > > 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?
> > >
> > > 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.java:1079)
> > > at
> > >
>
>org.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(XMLDocumentScanner.java:22
> > > 01)
> > > at
> > >
>
>org.apache.xerces.framework.XMLDocumentScanner.access$0(XMLDocumentScanner.java:2156)
> > > at
> > >
>
>org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispatch(XMLDocumentScanner.java:887)
> > > at
> > >
>
>org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
> > > at
> >org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1035)
> > > 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)
> > >
> > > Any help will be appreicated,
> > >
> > > --Luis R.
> > >
> > > >From: Davanum Srinivas <[EMAIL PROTECTED]>
> > > >Reply-To: [EMAIL PROTECTED]
> > > >To: [email protected]
> > > >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 <[EMAIL PROTECTED]> 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
> >cannot
> > > >even
> > > > > compile it, it gives me lots of warnings, complaining about
using
> >"enum
> > > >as a
> > > > > keyword", then I change the source to 1.5 and they become
errors.
> >Also,
> > > > > there are errors regarding incomplete interface implementations,
> >which I
> > > > > believe is more about correcting the previous warnings first.
> > > > >
> > > > > Here is the error list, I reduced the error to only a handfull
the
> >rest
> > > >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\components\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\message\NodeImpl.java:45:
> > > > > org.apache.axis.message.NodeImpl is not abstract and does not
> >override
> > > > > 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\components\net\SunJSSESocketFactory.java:82:
> > > > > warning: [deprecation] com.sun.net.ssl.SSLContext in
com.sun.net.ssl
> >has
> > > > > been deprecated
> > > > > [javac] SSLContext context = getContext();
> > > > > [javac] ^
> > > > > ...
> > > > > [javac]
> > > > >
> > >
> >
>C:\perforce\verimatrix\Dev\Luis\axis\axis-1_2_1\src\org\apache\axis\utils\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/
> > >
> > > _________________________________________________________________
> > > Don't just search. Find. Check out the new MSN Search!
> > > http://search.msn.click-url.com/go/onm00200636ave/direct/01/
> > >
> > >
> >
> >
> >--
> >Davanum Srinivas -http://blogs.cocoondev.org/dims/
>
> _________________________________________________________________
> 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/
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/