logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Nader" <Paul.Na...@telefonica.net>
Subject Windows ant build problem - more info
Date Tue, 03 May 2005 14:21:13 GMT
Here are my system's ant diagnostics in case it helps... Thanks

D:\Development\log4cxx-0.9.8>ant -diagnostics
------- Ant diagnostics report -------
Apache Ant version 1.6.3 compiled on April 28 2005

-------------------------------------------
 Implementation Version (JDK1.2+ only)
-------------------------------------------
core tasks     : 1.6.3
optional tasks : 1.6.3

-------------------------------------------
 ANT_HOME/lib jar listing
-------------------------------------------
ant.home: D:\Development\apache-ant-1.6.3
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-contrib.jar (197767 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 (420930 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 (1033496 bytes)
cpptasks.jar (342547 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: D:\Development\apache-ant-1.6.3\lib\xercesImpl.jar

-------------------------------------------
 System properties
-------------------------------------------
java.runtime.name : Java(TM) 2 Runtime Environment, Standard Edition
sun.boot.library.path : C:\j2sdk1.4.2_04\jre\bin
java.vm.version : 1.4.2_04-b05
ant.library.dir : D:\Development\apache-ant-1.6.3\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 : AU
sun.os.patch.level : Service Pack 2
java.vm.specification.name : Java Virtual Machine Specification
user.dir : D:\Development\log4cxx-0.9.8
java.runtime.version : 1.4.2_04-b05
java.awt.graphicsenv : sun.awt.Win32GraphicsEnvironment
java.endorsed.dirs : C:\j2sdk1.4.2_04\jre\lib\endorsed
os.arch : x86
java.io.tmpdir : C:\DOCUME~1\naderp\CONFIG~1\Temp\
line.separator :

java.vm.specification.vendor : Sun Microsystems Inc.
user.variant :
os.name : Windows XP
ant.home : D:\Development\apache-ant-1.6.3
sun.java2d.fontpath :
java.library.path :
C:\j2sdk1.4.2_04\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Archivos de
programa\Microsoft Visual Studio .NET 2003\Common7\IDE;C:\Archivos de
programa\Microsoft Visual Studio .NET 2003\VC7\BIN;C:\Archivos de
programa\Microsoft Visual Studio .NET 2003\Common7\Tools;C:\Archivos de pro
grama\Microsoft Visual Studio .NET 2003\Common7\Tools\bin\prerelease;C:\Archivos
de programa\Microsoft Visual Studio .NET 2003\Common7\Tools\bin;C:\Archivos de
programa\Microsoft Visual Studio .NET
2003\SDK\v1.1\bin;C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322;C:\WINDOWS\system
32;C:\WINDOWS;C:\WINDO
WS\system32\WBEM;"C:\Archivos de programa\Symantec\Norton Ghost
2003\";C:\Cygwin;"C:\Archivos de programa\Microsoft Visual Studio .NET
2003\Common7\Tools";C:\cygwin\bin;C:\Expat-1.95.8\Libs;C:\Archivos de
programa\Rational\common;;;;;;C:\Archivos de programa\GNU\WinCvs
1.3\cvsnt;C:\Archivos de progr
ama\Archivos comunes\Roxio
Shared\DLLShared\;D:\Development\openh323-1.17.1\lib;D:\Development\pwlib-1.9.0\
Lib;C:\Python23;D:\Development\omniORB-4.0.5\bin\x86_win32;C:\Archivos de
programa\Intel\IPP41_eval\ia32_itanium\tools\env;D:\Development\apache-ant-1.6.3
/bin;C:\WINDOWS\system32;C:\WINDOWS;C:\
WINDOWS\system32\WBEM;"C:\Archivos de programa\Symantec\Norton Ghost
2003\";C:\Cygwin;"C:\Archivos de programa\Microsoft Visual Studio .NET
2003\Common7\Tools";C:\cygwin\bin;C:\Expat-1.95.8\Libs;C:\Archivos de
programa\Rational\common;;;;;;C:\Archivos de programa\GNU\WinCvs
1.3\cvsnt;C:\Archivos de
programa\Archivos comunes\Roxio Shared\DLLShared\;
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\naderp
user.timezone : Europe/Paris
java.awt.printerjob : sun.awt.windows.WPrinterJob
file.encoding : Cp1252
java.specification.version : 1.4
user.name : naderp
java.class.path :
D:\Development\apache-ant-1.6.3\lib\ant-launcher.jar;D:\Development\apache-ant-1
.6.3\lib\ant-antlr.jar;D:\Development\apache-ant-1.6.3\lib\ant-apache-bcel.jar;D
:\Development\apache-ant-1.6.3\lib\ant-apache-bsf.jar;D:\Development\apache-ant-
1.6.3\lib\ant-apache-log4j.jar;D:\Developm
ent\apache-ant-1.6.3\lib\ant-apache-oro.jar;D:\Development\apache-ant-1.6.3\lib\
ant-apache-regexp.jar;D:\Development\apache-ant-1.6.3\lib\ant-apache-resolver.ja
r;D:\Development\apache-ant-1.6.3\lib\ant-commons-logging.jar;D:\Development\apa
che-ant-1.6.3\lib\ant-commons-net.jar;D:\Development\apache-
ant-1.6.3\lib\ant-contrib.jar;D:\Development\apache-ant-1.6.3\lib\ant-icontract.
jar;D:\Development\apache-ant-1.6.3\lib\ant-jai.jar;D:\Development\apache-ant-1.
6.3\lib\ant-javamail.jar;D:\Development\apache-ant-1.6.3\lib\ant-jdepend.jar;D:\
Development\apache-ant-1.6.3\lib\ant-jmf.jar;D:\Development\
apache-ant-1.6.3\lib\ant-jsch.jar;D:\Development\apache-ant-1.6.3\lib\ant-junit.
jar;D:\Development\apache-ant-1.6.3\lib\ant-launcher.jar;D:\Development\apache-a
nt-1.6.3\lib\ant-netrexx.jar;D:\Development\apache-ant-1.6.3\lib\ant-nodeps.jar;
D:\Development\apache-ant-1.6.3\lib\ant-starteam.jar;D:\Deve
lopment\apache-ant-1.6.3\lib\ant-stylebook.jar;D:\Development\apache-ant-1.6.3\l
ib\ant-swing.jar;D:\Development\apache-ant-1.6.3\lib\ant-trax.jar;D:\Development
\apache-ant-1.6.3\lib\ant-vaj.jar;D:\Development\apache-ant-1.6.3\lib\ant-weblog
ic.jar;D:\Development\apache-ant-1.6.3\lib\ant-xalan1.jar;D:
\Development\apache-ant-1.6.3\lib\ant-xslp.jar;D:\Development\apache-ant-1.6.3\l
ib\ant.jar;D:\Development\apache-ant-1.6.3\lib\cpptasks.jar;D:\Development\apach
e-ant-1.6.3\lib\xercesImpl.jar;D:\Development\apache-ant-1.6.3\lib\xml-apis.jar;
C:\j2sdk1.4.2_04\lib\tools.jar
java.vm.specification.version : 1.0
sun.arch.data.model : 32
java.home : C:\j2sdk1.4.2_04\jre
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_04
java.ext.dirs : C:\j2sdk1.4.2_04\jre\lib\ext
sun.boot.class.path :
C:\j2sdk1.4.2_04\jre\lib\rt.jar;C:\j2sdk1.4.2_04\jre\lib\i18n.jar;C:\j2sdk1.4.2_
04\jre\lib\sunrsasign.jar;C:\j2sdk1.4.2_04\jre\lib\jsse.jar;C:\j2sdk1.4.2_04\jre
\lib\jce.jar;C:\j2sdk1.4.2_04\jre\lib\charsets.jar;C:\j2sdk1.4.2_04\jre\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

D:\Development\log4cxx-0.9.8>



> Hi,
> 
> I'm trying top build the log4cxx CVS head with ant 1.6.3 and 
> the CVS head versions of ant-contrib and cpptasks and I'm 
> getting the following error:
> 
> D:\Development\log4cxx-0.9.8>ant -d
> Apache Ant version 1.6.3 compiled on April 28 2005
> Buildfile: build.xml
> Adding reference: ant.PropertyHelper
> Detected Java version: 1.4 in: C:\j2sdk1.4.2_04\jre
> Detected OS: Windows XP
> Adding reference: ant.ComponentHelper
> Setting ro project property: ant.version -> Apache Ant 
> version 1.6.3 compiled on April 28 2005 Setting ro project 
> property: ant.file -> D:\Development\log4cxx-0.9.8\build.xml
> Adding reference: ant.projectHelper
> Adding reference: ant.parsing.context
> Adding reference: ant.targets
> parsing buildfile D:\Development\log4cxx-0.9.8\build.xml with 
> URI = file:///D:/Development/log4cxx-0.9.8/build.xml
> Setting ro project property: ant.project.name -> log4cxx
> Adding reference: log4cxx
> Setting ro project property: ant.file.log4cxx -> 
> D:\Development\log4cxx-0.9.8\build.xml
> Project base dir set to: D:\Development\log4cxx-0.9.8
>  +Target:
> 
> .... Etc etc ...
> 
> build:
> Property ${pic-option} has not been set
> Could not load a dependent class 
> (com/sun/media/jai/codec/FileSeekableStream) for type image 
> Could not load a dependent class (com/jcraft/jsch/UserInfo) 
> for type sshexec Could not load a dependent class 
> (com/jcraft/jsch/UserInfo) for type scp Could not load a 
> dependent class (jdepend/xmlui/JDepend) for type jdepend 
> Could not load a dependent class (junit/framework/Test) for type junit
> fileset: Setup scanner in dir 
> D:\Development\log4cxx-0.9.8\build\debug\static with 
> patternSet{ includes: [aprutil-1d.lib] excludes: [] }
> fileset: Setup scanner in dir 
> D:\Development\log4cxx-0.9.8\build\debug\static with 
> patternSet{ includes: [apr-1d.lib] excludes: [] }
> fileset: Setup scanner in dir C:\Archivos de 
> programa\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib with 
> patternSet{ includes: [advapi32.lib, odbc32.lib, ws2_32.lib, 
> mswsock.lib] excludes: [] }
> 
> BUILD FAILED
> D:\Development\log4cxx-0.9.8\build.xml:1137: 
> java.lang.NullPointerException
>         at org.apache.tools.ant.Task.perform(Task.java:373)
>         at org.apache.tools.ant.Target.execute(Target.java:341)
>         at org.apache.tools.ant.Target.performTasks(Target.java:369)
>         at 
> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
>         at 
> org.apache.tools.ant.Project.executeTarget(Project.java:1185)
>         at 
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(Def
> aultExecutor.java:40)
>         at 
> org.apache.tools.ant.Project.executeTargets(Project.java:1068)
>         at org.apache.tools.ant.Main.runBuild(Main.java:668)
>         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)
> Caused by: java.lang.NullPointerException
>         at 
> org.apache.tools.ant.DirectoryScanner.checkIncludePatterns(Dir
> ectoryScanner.java:875)
>         at 
> org.apache.tools.ant.DirectoryScanner.scan(DirectoryScanner.java:808)
>         at 
> org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner
> (AbstractFileSet.java:358)
>         at 
> net.sf.antcontrib.cpptasks.types.LibrarySet.visitLibraries(Lib
> rarySet.java:272)
>         at 
> net.sf.antcontrib.cpptasks.LinkerDef.visitUserLibraries(Linker
> Def.java:518)
>         at 
> net.sf.antcontrib.cpptasks.CCTask.collectExplicitObjectFiles(C
> CTask.java:474)
>         at net.sf.antcontrib.cpptasks.CCTask.execute(CCTask.java:580)
>         at 
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>         at org.apache.tools.ant.Task.perform(Task.java:364)
>         ... 10 more
> --- Nested Exception ---
> java.lang.NullPointerException
>         at 
> org.apache.tools.ant.DirectoryScanner.checkIncludePatterns(Dir
> ectoryScanner.java:875)
>         at 
> org.apache.tools.ant.DirectoryScanner.scan(DirectoryScanner.java:808)
>         at 
> org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner
> (AbstractFileSet.java:358)
>         at 
> net.sf.antcontrib.cpptasks.types.LibrarySet.visitLibraries(Lib
> rarySet.java:272)
>         at 
> net.sf.antcontrib.cpptasks.LinkerDef.visitUserLibraries(Linker
> Def.java:518)
>         at 
> net.sf.antcontrib.cpptasks.CCTask.collectExplicitObjectFiles(C
> CTask.java:474)
>         at net.sf.antcontrib.cpptasks.CCTask.execute(CCTask.java:580)
>         at 
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>         at org.apache.tools.ant.Task.perform(Task.java:364)
>         at org.apache.tools.ant.Target.execute(Target.java:341)
>         at org.apache.tools.ant.Target.performTasks(Target.java:369)
>         at 
> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
>         at 
> org.apache.tools.ant.Project.executeTarget(Project.java:1185)
>         at 
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(Def
> aultExecutor.java:40)
>         at 
> org.apache.tools.ant.Project.executeTargets(Project.java:1068)
>         at org.apache.tools.ant.Main.runBuild(Main.java:668)
>         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)
> 
> Total time: 4 seconds
> D:\Development\log4cxx-0.9.8>
> 
> 
> Any ideas on how to fix this??
> 
> 


Mime
View raw message