You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-user@logging.apache.org by Stan Guillory <St...@wnco.com> on 2005/04/25 22:58:03 UTC

Ant build on Solaris 2.8 with native compiler

Has anyone tried to execute the ant based build on Solaris 2.8 with the
native Sun compiler?
It fundamentally doesn't seem to work for me. 

Stanford S. Guillory
Southwest Airlines
214-792-6136
stan.guillory@wnco.com



Re: Ant build on Solaris 2.8 with native compiler

Posted by Curt Arnold <ca...@houston.rr.com>.
I have not tried to build log4cxx CVS HEAD on Solaris with Sun 
compilers.  Could you provide more information on the failure such as 
the output of "ant -v" which may allow some analysis.  Please identify 
the specific compiler in use.


On Apr 25, 2005, at 3:58 PM, Stan Guillory wrote:

>
> Has anyone tried to execute the ant based build on Solaris 2.8 with the
> native Sun compiler?
> It fundamentally doesn't seem to work for me.
>
> Stanford S. Guillory
> Southwest Airlines
> 214-792-6136
> stan.guillory@wnco.com
>
>


RE: Windows ant build problem

Posted by Paul Nader <Pa...@telefonica.net>.
Curt, pls ignore my last question... Didn't see the build-projects-vc6 target...
Thanks again.


> -----Mensaje original-----
> De: Paul Nader [mailto:Paul.Nader@telefonica.net] 
> Enviado el: Wednesday, 4 May 2005 6:29 PM
> Para: 'Log4CXX User'
> Asunto: RE: Windows ant build problem
> 
> 
> 
> Thanks Curt. Fixed. Used the binary distribution of ant 
> v1.6.2 and went like a breeze.
> 
> I'll miss not being able to have logcxx in the MSVC IDE but. 
> Any plans to add .sln and .vcprj files eventually?
> 
> > -----Mensaje original-----
> > De: Curt Arnold [mailto:carnold@houston.rr.com]
> > Enviado el: Tuesday, 3 May 2005 6:10 PM
> > Para: Log4CXX User
> > Asunto: Re: Windows ant build problem
> > 
> > 
> > 
> > On May 3, 2005, at 9:05 AM, Paul Nader wrote:
> > 
> > > 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
> > >
> > 
> > Looks like an Ant build problem or regression to me.    
> Could you try 
> > using binary distributions of Ant?  If the latest doesn't
> > work, back up 
> > to 1.6.2 or 1.6.1.
> > 
> 


RE: Windows ant build problem

Posted by Paul Nader <Pa...@telefonica.net>.
Thanks Curt. Fixed. Used the binary distribution of ant v1.6.2 and went like a
breeze.

I'll miss not being able to have logcxx in the MSVC IDE but. Any plans to add
.sln and .vcprj files eventually?

> -----Mensaje original-----
> De: Curt Arnold [mailto:carnold@houston.rr.com] 
> Enviado el: Tuesday, 3 May 2005 6:10 PM
> Para: Log4CXX User
> Asunto: Re: Windows ant build problem
> 
> 
> 
> On May 3, 2005, at 9:05 AM, Paul Nader wrote:
> 
> > 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
> >
> 
> Looks like an Ant build problem or regression to me.    Could you try 
> using binary distributions of Ant?  If the latest doesn't 
> work, back up 
> to 1.6.2 or 1.6.1.
> 


Re: Windows ant build problem

Posted by Curt Arnold <ca...@houston.rr.com>.
On May 3, 2005, at 9:05 AM, Paul Nader wrote:

> 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
>

Looks like an Ant build problem or regression to me.    Could you try 
using binary distributions of Ant?  If the latest doesn't work, back up 
to 1.6.2 or 1.6.1.


Windows ant build problem

Posted by Paul Nader <Pa...@telefonica.net>.
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??