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
Date Tue, 03 May 2005 14:05:25 GMT
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(DefaultExecutor.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(DirectoryScanner.java
:875)
        at org.apache.tools.ant.DirectoryScanner.scan(DirectoryScanner.java:808)
        at
org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.j
ava:358)
        at
net.sf.antcontrib.cpptasks.types.LibrarySet.visitLibraries(LibrarySet.java:272)
        at
net.sf.antcontrib.cpptasks.LinkerDef.visitUserLibraries(LinkerDef.java:518)
        at
net.sf.antcontrib.cpptasks.CCTask.collectExplicitObjectFiles(CCTask.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(DirectoryScanner.java
:875)
        at org.apache.tools.ant.DirectoryScanner.scan(DirectoryScanner.java:808)
        at
org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.j
ava:358)
        at
net.sf.antcontrib.cpptasks.types.LibrarySet.visitLibraries(LibrarySet.java:272)
        at
net.sf.antcontrib.cpptasks.LinkerDef.visitUserLibraries(LinkerDef.java:518)
        at
net.sf.antcontrib.cpptasks.CCTask.collectExplicitObjectFiles(CCTask.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(DefaultExecutor.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