ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Luce <marc.l...@blackbird.net>
Subject RE: Problem with the latest source?
Date Thu, 01 Feb 2001 15:12:42 GMT
I removed the reference to another xml file that defines extra targets, and
it worked.  Are we not going to support including another xml file?
 
What we have in our organization is one build.xml file that I am responsible
for guaranteeing will always build and release the current code.  That build
file includes a targets.xml file that each developer can modify to do
whatever they want (FTP to separate place, promote their code, etc).  Is
this no longer going to be possible?

-----Original Message-----
From: Marc Luce [mailto:marc.luce@blackbird.net]
Sent: Thursday, February 01, 2001 9:15 AM
To: 'ant-dev@jakarta.apache.org'
Subject: Problem with the latest source?



I just grabbed the latest source and compiled it.  With this version I
cannot build my code, I get a NPE. 
I am attaching the output of my ant command below.  I modified ant.bat to
let you know the LOCALCLASSPATH.  The version of xerces is 1.3.0.  Is this
common or do I have a problem in my build.xml?



	
"D:\jdk1.3\lib\tools.jar";"C:\WINNT\Profiles\marc\ant\lib\xerces.jar";"C:\WI
NNT\Profiles\marc\ant\lib\xalan.jar";"C:\WINNT\Profiles\marc\ant\lib\NetComp
onents.jar";"C:\WINNT\Profiles\marc\ant\lib\junit.jar";"C:\WINNT\Profiles\ma
rc\ant\lib\jmf.jar";"C:\WINNT\Profiles\marc\ant\lib\jaxp.jar";"C:\WINNT\Prof
iles\marc\ant\lib\jakarta-regexp-1.2.jar";"C:\WINNT\Profiles\marc\ant\lib\ja
karta-oro-2.0.2-dev-1.jar";"D:\Source\jakarta-ant\lib\parser.jar";"D:\Source
\jakarta-ant\lib\optional.jar";"D:\Source\jakarta-ant\lib\NetComponents.jar"
;"D:\Source\jakarta-ant\lib\jaxp.jar";"D:\Source\jakarta-ant\lib\ant.jar";".
"

	Buildfile: build.xml 

	BUILD FAILED 

	null 
java.lang.NullPointerException 
        at org.apache.xerces.utils.StringPool.addSymbol(StringPool.java:348)

        at
org.apache.xerces.readers.DefaultEntityHandler.addExternalEntityDecl(Default
EntityHandler.java:226) 
        at
org.apache.xerces.framework.XMLDTDScanner.scanEntityDecl(XMLDTDScanner.java:
2799) 
        at
org.apache.xerces.framework.XMLDTDScanner.scanDecls(XMLDTDScanner.java:1449)

        at
org.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTDScanner.java
:1123) 
        at
org.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(XMLDocumentSc
anner.java:2197) 
        at
org.apache.xerces.framework.XMLDocumentScanner.access$000(XMLDocumentScanner
.java:86) 
        at
org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispatch(XML
DocumentScanner.java:883) 
        at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
java:381) 
        at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:952) 
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:345) 
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:143) 
        at org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java:108) 
        at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:85) 
        at org.apache.tools.ant.Main.runBuild(Main.java:403) 
        at org.apache.tools.ant.Main.main(Main.java:149) 

	<<build.xml>> <<targets.xml>> 


Mime
View raw message