Title: Problem with the latest source?
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:[EMAIL PROTECTED]
Sent: Thursday, February 01, 2001 9:15 AM
To: '[EMAIL PROTECTED]'
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:\WINNT\Profiles\marc\ant\lib\xalan.jar";"C:\WINNT\Profiles\marc\ant\lib\NetComponents.jar";"C:\WINNT\Profiles\marc\ant\lib\junit.jar";"C:\WINNT\Profiles\marc\ant\lib\jmf.jar";"C:\WINNT\Profiles\marc\ant\lib\jaxp.jar";"C:\WINNT\Profiles\marc\ant\lib\jakarta-regexp-1.2.jar";"C:\WINNT\Profiles\marc\ant\lib\jakarta-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(DefaultEntityHandler.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(XMLDocumentScanner.java:2197)
            at org.apache.xerces.framework.XMLDocumentScanner.access$000(XMLDocumentScanner.java:86)
            at org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispatch(XMLDocumentScanner.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>>

Reply via email to