ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 9886] New: - incompatible with JDK 1.4
Date Fri, 14 Jun 2002 22:04:36 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9886>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9886

incompatible with JDK 1.4

           Summary: incompatible with JDK 1.4
           Product: Ant
           Version: 1.4
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Core
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: vpatryshev@borland.com


Running Ant on a machine with JDK 1.4, I am getting the following exception,
obviously due to differences between SAX1 and SAX2:

[c:\metro1]\tools\metro1\ant\bin\ant -debug
Ant version 1.4 compiled on September 3 2001
Buildfile: build.xml
Setting project property: ant.java.version -> 1.4
Detected Java version: 1.4 in: C:\tools\metro1\java\jre
Detected OS: Windows XP
 +User task: tar     org.apache.tools.ant.taskdefs.Tar
 +User task: fail     org.apache.tools.ant.taskdefs.Exit
 +User task: uptodate     org.apache.tools.ant.taskdefs.UpToDate
 +User task: jpcoverage     org.apache.tools.ant.taskdefs.optional.sitraka.Cover
age
 +User task: dependset     org.apache.tools.ant.taskdefs.DependSet
 +User task: vsscheckin     org.apache.tools.ant.taskdefs.optional.vss.MSVSSCHEC
KIN
 +User task: java     org.apache.tools.ant.taskdefs.Java
 +User task: execon     org.apache.tools.ant.taskdefs.ExecuteOn
 +User task: echo     org.apache.tools.ant.taskdefs.Echo
 +User task: native2ascii     org.apache.tools.ant.taskdefs.optional.Native2Asci
i
 +User task: jjtree     org.apache.tools.ant.taskdefs.optional.javacc.JJTree
 +User task: chmod     org.apache.tools.ant.taskdefs.Chmod
 +User task: javadoc2     org.apache.tools.ant.taskdefs.Javadoc
 +User task: deltree     org.apache.tools.ant.taskdefs.Deltree
 +User task: cvs     org.apache.tools.ant.taskdefs.Cvs
 +User task: ccmcreatetask     org.apache.tools.ant.taskdefs.optional.ccm.CCMCre
ateTask
 +User task: jlink     org.apache.tools.ant.taskdefs.optional.jlink.JlinkTask
 +User task: tstamp     org.apache.tools.ant.taskdefs.Tstamp
 +User task: icontract     org.apache.tools.ant.taskdefs.optional.IContract
 +User task: pathconvert     org.apache.tools.ant.taskdefs.PathConvert
 +User task: unjar     org.apache.tools.ant.taskdefs.Expand
 +User task: patch     org.apache.tools.ant.taskdefs.Patch
 +User task: sound     org.apache.tools.ant.taskdefs.optional.sound.SoundTask
 +User task: cccheckout     org.apache.tools.ant.taskdefs.optional.clearcase.CCC
heckout
 +User task: mail     org.apache.tools.ant.taskdefs.SendEmail
 +User task: p4reopen     org.apache.tools.ant.taskdefs.optional.perforce.P4Reop
en
 +User task: gzip     org.apache.tools.ant.taskdefs.GZip
 +User task: p4label     org.apache.tools.ant.taskdefs.optional.perforce.P4Label

 +User task: wlrun     org.apache.tools.ant.taskdefs.optional.ejb.WLRun
 +User task: jpcovreport     org.apache.tools.ant.taskdefs.optional.sitraka.CovR
eport
 +User task: copy     org.apache.tools.ant.taskdefs.Copy
 +User task: filter     org.apache.tools.ant.taskdefs.Filter
 +User task: jar     org.apache.tools.ant.taskdefs.Jar
 +User task: unzip     org.apache.tools.ant.taskdefs.Expand
 +User task: rename     org.apache.tools.ant.taskdefs.Rename
 +User task: mmetrics     org.apache.tools.ant.taskdefs.optional.metamata.MMetri
cs
 +User task: propertyfile     org.apache.tools.ant.taskdefs.optional.PropertyFil
e
 +User task: copyfile     org.apache.tools.ant.taskdefs.Copyfile
 +User task: ccmcheckintask     org.apache.tools.ant.taskdefs.optional.ccm.CCMCh
eckinDefault
 +User task: p4submit     org.apache.tools.ant.taskdefs.optional.perforce.P4Subm
it
 +User task: gunzip     org.apache.tools.ant.taskdefs.GUnzip
 +User task: antcall     org.apache.tools.ant.taskdefs.CallTarget
 +User task: taskdef     org.apache.tools.ant.taskdefs.Taskdef
 +User task: mkdir     org.apache.tools.ant.taskdefs.Mkdir
 +User task: sql     org.apache.tools.ant.taskdefs.SQLExec
 +User task: replace     org.apache.tools.ant.taskdefs.Replace
 +User task: ear     org.apache.tools.ant.taskdefs.Ear
 +User task: ant     org.apache.tools.ant.taskdefs.Ant
 +User task: vsshistory     org.apache.tools.ant.taskdefs.optional.vss.MSVSSHIST
ORY
 +User task: style     org.apache.tools.ant.taskdefs.XSLTProcess
 +User task: p4sync     org.apache.tools.ant.taskdefs.optional.perforce.P4Sync
 +User task: fixcrlf     org.apache.tools.ant.taskdefs.FixCRLF
 +User task: sequential     org.apache.tools.ant.taskdefs.Sequential
 +User task: vssget     org.apache.tools.ant.taskdefs.optional.vss.MSVSSGET
 +User task: genkey     org.apache.tools.ant.taskdefs.GenerateKey
 +User task: p4edit     org.apache.tools.ant.taskdefs.optional.perforce.P4Edit
 +User task: zip     org.apache.tools.ant.taskdefs.Zip
 +User task: condition     org.apache.tools.ant.taskdefs.ConditionTask
 +User task: antstructure     org.apache.tools.ant.taskdefs.AntStructure
 +User task: pvcs     org.apache.tools.ant.taskdefs.optional.pvcs.Pvcs
 +User task: javah     org.apache.tools.ant.taskdefs.optional.Javah
 +User task: p4counter     org.apache.tools.ant.taskdefs.optional.perforce.P4Cou
nter
 +User task: javac     org.apache.tools.ant.taskdefs.Javac
 +User task: test     org.apache.tools.ant.taskdefs.optional.Test
 +User task: p4revert     org.apache.tools.ant.taskdefs.optional.perforce.P4Reve
rt
 +User task: xmlvalidate     org.apache.tools.ant.taskdefs.optional.XMLValidateT
ask
 +User task: ccmreconfigure     org.apache.tools.ant.taskdefs.optional.ccm.CCMRe
configure
 +User task: cab     org.apache.tools.ant.taskdefs.optional.Cab
 +User task: typedef     org.apache.tools.ant.taskdefs.Typedef
 +User task: mparse     org.apache.tools.ant.taskdefs.optional.metamata.MParse
 +User task: ccuncheckout     org.apache.tools.ant.taskdefs.optional.clearcase.C
CUnCheckout
 +User task: ejbjar     org.apache.tools.ant.taskdefs.optional.ejb.EjbJar
 +User task: jpcovmerge     org.apache.tools.ant.taskdefs.optional.sitraka.CovMe
rge
 +User task: available     org.apache.tools.ant.taskdefs.Available
 +User task: p4have     org.apache.tools.ant.taskdefs.optional.perforce.P4Have
 +User task: rpm     org.apache.tools.ant.taskdefs.optional.Rpm
 +User task: vsslabel     org.apache.tools.ant.taskdefs.optional.vss.MSVSSLABEL
 +User task: cvspass     org.apache.tools.ant.taskdefs.CVSPass
 +User task: move     org.apache.tools.ant.taskdefs.Move
 +User task: wljspc     org.apache.tools.ant.taskdefs.optional.jsp.WLJspc
 +User task: junitreport     org.apache.tools.ant.taskdefs.optional.junit.XMLRes
ultAggregator
 +User task: javacc     org.apache.tools.ant.taskdefs.optional.javacc.JavaCC
 +User task: signjar     org.apache.tools.ant.taskdefs.SignJar
 +User task: csc     org.apache.tools.ant.taskdefs.optional.dotnet.CSharp
 +User task: p4change     org.apache.tools.ant.taskdefs.optional.perforce.P4Chan
ge
 +User task: cccheckin     org.apache.tools.ant.taskdefs.optional.clearcase.CCCh
eckin
 +User task: property     org.apache.tools.ant.taskdefs.Property
 +User task: iplanet-ejbc     org.apache.tools.ant.taskdefs.optional.ejb.IPlanet
EjbcTask
 +User task: unwar     org.apache.tools.ant.taskdefs.Expand
 +User task: touch     org.apache.tools.ant.taskdefs.Touch
 +User task: ilasm     org.apache.tools.ant.taskdefs.optional.dotnet.Ilasm
 +User task: ccmcheckin     org.apache.tools.ant.taskdefs.optional.ccm.CCMChecki
n
 +User task: get     org.apache.tools.ant.taskdefs.Get
 +User task: blgenclient     org.apache.tools.ant.taskdefs.optional.ejb.BorlandG
enerateClient
 +User task: vsscheckout     org.apache.tools.ant.taskdefs.optional.vss.MSVSSCHE
CKOUT
 +User task: stylebook     org.apache.tools.ant.taskdefs.optional.StyleBook
 +User task: javadoc     org.apache.tools.ant.taskdefs.Javadoc
 +User task: netrexxc     org.apache.tools.ant.taskdefs.optional.NetRexxC
 +User task: antlr     org.apache.tools.ant.taskdefs.optional.ANTLR
 +User task: record     org.apache.tools.ant.taskdefs.Recorder
 +User task: untar     org.apache.tools.ant.taskdefs.Untar
 +User task: delete     org.apache.tools.ant.taskdefs.Delete
 +User task: ejbc     org.apache.tools.ant.taskdefs.optional.ejb.Ejbc
 +User task: ddcreator     org.apache.tools.ant.taskdefs.optional.ejb.DDCreator
 +User task: copydir     org.apache.tools.ant.taskdefs.Copydir
 +User task: war     org.apache.tools.ant.taskdefs.War
 +User task: ccupdate     org.apache.tools.ant.taskdefs.optional.clearcase.CCUpd
ate
 +User task: depend     org.apache.tools.ant.taskdefs.optional.depend.Depend
 +User task: parallel     org.apache.tools.ant.taskdefs.Parallel
 +User task: ccmcheckout     org.apache.tools.ant.taskdefs.optional.ccm.CCMCheck
out
 +User task: renameext     org.apache.tools.ant.taskdefs.optional.RenameExtensio
ns
 +User task: exec     org.apache.tools.ant.taskdefs.ExecTask
 +User task: apply     org.apache.tools.ant.taskdefs.Transform
 +User task: wlstop     org.apache.tools.ant.taskdefs.optional.ejb.WLStop
 +User task: maudit     org.apache.tools.ant.taskdefs.optional.metamata.MAudit
 +User task: jdepend     org.apache.tools.ant.taskdefs.optional.jdepend.JDependT
ask
 +User task: sleep     org.apache.tools.ant.taskdefs.Sleep
 +User task: rmic     org.apache.tools.ant.taskdefs.Rmic
 +User datatype: fileset     org.apache.tools.ant.types.FileSet
 +User datatype: patternset     org.apache.tools.ant.types.PatternSet
 +User datatype: filterset     org.apache.tools.ant.types.FilterSet
 +User datatype: filelist     org.apache.tools.ant.types.FileList
 +User datatype: description     org.apache.tools.ant.types.Description
 +User datatype: path     org.apache.tools.ant.types.Path
 +User datatype: mapper     org.apache.tools.ant.types.Mapper
Setting project property: java.runtime.name -> Java(TM) 2 Runtime Environment, S
tandard Edition
Setting project property: sun.boot.library.path -> C:\tools\metro1\java\jre\bin
Setting project property: java.vm.version -> 1.4-internal-release
Setting project property: java.vm.vendor -> Sun Microsystems Inc.
Setting project property: java.vendor.url -> http://java.sun.com/
Setting project property: path.separator -> ;
Setting project property: java.vm.name -> Java HotSpot(TM) Client VM
Setting project property: file.encoding.pkg -> sun.io
Setting project property: user.country -> US
Setting project property: sun.os.patch.level ->
Setting project property: java.vm.specification.name -> Java Virtual Machine Spe
cification
Setting project property: user.dir -> C:\metro1
Setting project property: java.runtime.version -> 1.4.0_01_04302002
Setting project property: java.awt.graphicsenv -> sun.awt.Win32GraphicsEnvironme
nt
Setting project property: java.endorsed.dirs -> C:\tools\metro1\java\jre\lib\end
orsed
Setting project property: os.arch -> x86
Setting project property: java.io.tmpdir -> C:\TEMP\
Setting project property: line.separator ->

Setting project property: java.vm.specification.vendor -> Sun Microsystems Inc.
Setting project property: user.variant ->
Setting project property: os.name -> Windows XP
Setting project property: ant.home -> \tools\metro1\ant
Setting project property: sun.java2d.fontpath ->
Setting project property: java.library.path -> C:\tools\metro1\java\bin;.;C:\WIN
DOWS\System32;C:\WINDOWS;c:\tools\metro1\java\bin;c:\tools\metro1\bin;c:\tools\m
etro1\msdev\bin;c:\tools\metro1\perl\bin;c:\tools\metro1\tkit\tools;C:\WINDOWS\s
ystem32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\nls;C:\WINDOWS\s
ystem32\nls\ENGLISH;C:\Program Files\Symantec\pcAnywhere;C:\Program Files\Winzip
;c:\utils;z:\integ\tools;z:\integ\scripts\library;z:\integ\tools;;z:\mkssi7
Setting project property: java.specification.name -> Java Platform API Specifica
tion
Setting project property: java.class.version -> 48.0
Setting project property: java.util.prefs.PreferencesFactory -> java.util.prefs.
WindowsPreferencesFactory
Setting project property: os.version -> 5.1
Setting project property: user.home -> C:\Documents and Settings\~samwise
Setting project property: user.timezone ->
Setting project property: java.awt.printerjob -> sun.awt.windows.WPrinterJob
Setting project property: file.encoding -> Cp1252
Setting project property: java.specification.version -> 1.4
Setting project property: java.class.path -> c:\tools\metro1\java\lib\tools.jar;
\tools\metro1\ant\lib\jaxp.jar;\tools\metro1\ant\lib\jakarta-ant-1.4-optional.ja
r;\tools\metro1\ant\lib\crimson.jar;\tools\metro1\ant\lib\ant.jar;z:\integ\tools
\classes;z:\integ\tools\classes\mocha.zip;z:\integ\tools\classes\pmegen.zip;z:\i
nteg\tools\classes\crema.zip;z:\integ\tools\classes\stripper.zip;z:\integ\tools\
classes\harness.zip
Setting project property: user.name -> ~samwise
Setting project property: java.vm.specification.version -> 1.0
Setting project property: java.home -> C:\tools\metro1\java\jre
Setting project property: sun.arch.data.model -> 32
Setting project property: user.language -> en
Setting project property: java.specification.vendor -> Sun Microsystems Inc.
Setting project property: awt.toolkit -> sun.awt.windows.WToolkit
Setting project property: java.vm.info -> mixed mode
Setting project property: java.version -> 1.4.0_01_04302002
Setting project property: java.ext.dirs -> C:\tools\metro1\java\jre\lib\ext
Setting project property: sun.boot.class.path -> C:\tools\metro1\java\jre\lib\rt
.jar;C:\tools\metro1\java\jre\lib\i18n.jar;C:\tools\metro1\java\jre\lib\sunrsasi
gn.jar;C:\tools\metro1\java\jre\lib\jsse.jar;C:\tools\metro1\java\jre\lib\jce.ja
r;C:\tools\metro1\java\jre\lib\charsets.jar;C:\tools\metro1\java\jre\classes
Setting project property: java.vendor -> Sun Microsystems Inc.
Setting project property: file.separator -> \
Setting project property: java.vendor.url.bug -> http://java.sun.com/cgi-bin/bug
report.cgi
Setting project property: sun.io.unicode.encoding -> UnicodeLittle
Setting project property: sun.cpu.endian -> little
Setting project property: sun.cpu.isalist -> pentium i486 i386
Setting ro project property: ant.version -> Ant version 1.4 compiled on Septembe
r 3 2001
Setting ro project property: ant.file -> C:\metro1\build.xml
parsing buildfile C:\metro1\build.xml with URI = file:C:/metro1/build.xml
Setting ro project property: ant.project.name -> lawt
Adding reference: lawt -> org.apache.tools.ant.Project@d63e39
Setting project property: basedir -> C:\metro1
Project base dir set to: C:\metro1
   +Task: property
Setting project property: project_name -> lefthook
   +Task: property
Setting project property: module_name -> lawt
   +Task: property
Setting project property: para -> $
   +Task: property
 [property] Loading Environment env.

BUILD FAILED

C:\metro1\build.xml:9: java.lang.NullPointerException
        at org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java:135)
        at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav
a:85)
        at org.apache.tools.ant.Main.runBuild(Main.java:439)
        at org.apache.tools.ant.Main.start(Main.java:153)
        at org.apache.tools.ant.Main.main(Main.java:176)
--- Nested Exception ---
java.lang.NullPointerException
        at org.apache.tools.ant.taskdefs.Property.loadEnvironment(Property.java:
253)
        at org.apache.tools.ant.taskdefs.Property.execute(Property.java:183)
        at org.apache.tools.ant.ProjectHelper$TaskHandler.finished(ProjectHelper
.java:489)
        at org.apache.tools.ant.ProjectHelper$AbstractHandler.endElement(Project
Helper.java:204)
        at org.xml.sax.helpers.XMLReaderAdapter.endElement(XMLReaderAdapter.java
:347)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1536)
        at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
        at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
        at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
        at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)

        at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)

        at javax.xml.parsers.SAXParser.parse(SAXParser.java:314)
        at org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java:117)
        at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav
a:85)
        at org.apache.tools.ant.Main.runBuild(Main.java:439)
        at org.apache.tools.ant.Main.start(Main.java:153)
        at org.apache.tools.ant.Main.main(Main.java:176)

Total time: 30 seconds
..................................

BUILD FAILED

C:\metro1\build.xml:9: java.lang.NullPointerException
        at org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java:135)
        at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav
a:85)
        at org.apache.tools.ant.Main.runBuild(Main.java:439)
        at org.apache.tools.ant.Main.start(Main.java:153)
        at org.apache.tools.ant.Main.main(Main.java:176)
--- Nested Exception ---
java.lang.NullPointerException
        at org.apache.tools.ant.taskdefs.Property.loadEnvironment(Property.java:
253)
        at org.apache.tools.ant.taskdefs.Property.execute(Property.java:183)
        at org.apache.tools.ant.ProjectHelper$TaskHandler.finished(ProjectHelper
.java:489)
        at org.apache.tools.ant.ProjectHelper$AbstractHandler.endElement(Project
Helper.java:204)
        at org.xml.sax.helpers.XMLReaderAdapter.endElement(XMLReaderAdapter.java
:347)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1536)
        at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
        at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
        at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
        at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)

        at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)

        at javax.xml.parsers.SAXParser.parse(SAXParser.java:314)
        at org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java:117)
        at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav
a:85)
        at org.apache.tools.ant.Main.runBuild(Main.java:439)
        at org.apache.tools.ant.Main.start(Main.java:153)
        at org.apache.tools.ant.Main.main(Main.java:176)

Total time: 30 seconds

[c:\metro1]java -version
java version "1.4.0_01_04302002"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_01_04302002)
Java HotSpot(TM) Client VM (build 1.4-internal-release, mixed mode)

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message