logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Javier" <xavierle...@yahoo.com.ar>
Subject Trying to build win32 CVS Head
Date Mon, 09 May 2005 15:04:35 GMT

Hi

I've downloaded source code from cvs and now I'm trying to build it.

I followed installation instructions as follows:

1 - I've placed cpptasks.jar and ant-contrib.jar in class-path
2 - The following files placed in the lib directory:
    apr-1.1.0.tar.gz
    apr-util-1.1.0.tar.gz
    apr-iconv-1.0.1.tar.gz
    cppunit-1.10.2.gz

I couldn't saw a lib folder then I created one and placed all files on it.
(wrong ?)

Then I did c:\Program Files\Microsoft Visula Studio\VC98\bin\vcvars32.bat

And then I did:


C:\temp\log4cxx\logging-log4cxx>ant -v build-projects-vc6

But I received the following error message:


Apache Ant version 1.6.3 compiled on April 28 2005
Buildfile: build.xml
Detected Java version: 1.4 in: c:\j2sdk1.4.2_06\jre
Detected OS: Windows XP
parsing buildfile C:\temp\log4cxx\logging-log4cxx\build.xml with URI =
file:///C
:/temp/log4cxx/logging-log4cxx/build.xml
Project base dir set to: C:\temp\log4cxx\logging-log4cxx

BUILD FAILED
C:\temp\log4cxx\logging-log4cxx\build.xml:155: taskdef A class needed by
class n
et.sf.antcontrib.cpptasks.CCTask cannot be found: org/apache/tools/ant/Task
        at
org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:487)

        at
org.apache.tools.ant.taskdefs.Definer.loadProperties(Definer.java:304
)
        at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:223)
        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.helper.ProjectHelper2.parse(ProjectHelper2.java:
142)
        at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav
a:91)
        at org.apache.tools.ant.Main.runBuild(Main.java:653)
        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)

........


I've no idea what happen and I find everything so confusing...

Could somebody help me ?


Thanks in advance

J



Mime
View raw message