logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Javier" <xavierle...@yahoo.com.ar>
Subject Re[2]: Trying to build win32 CVS Head
Date Mon, 09 May 2005 15:53:18 GMT
On 09/05/2005 at 10:25 Curt Arnold wrote:

>On May 9, 2005, at 10:04 AM, Javier wrote:
>> 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
>>
>
>This sounds very similar to a problem reported by Paul Nader last week 
>(http://marc.theaimsgroup.com/?l=log4cxx-user&m=111522597306665&w=2).   
>Could you try building using Ant 1.6.2?


Thanks for your reply.

I did it and got the same error...

Any clue ?

----------
Apache Ant version 1.6.2 compiled on July 16 2004
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:
133)
        at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav
a:91)
        at org.apache.tools.ant.Main.runBuild(Main.java:658)
        at org.apache.tools.ant.Main.startAnt(Main.java:188)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
Caused by: java.lang.NoClassDefFoundError: org/apache/tools/ant/Task
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
        at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
3)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:282)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:282)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at
org.apache.tools.ant.AntClassLoader.findBaseClass(AntClassLoader.java
:1180)
        at
org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:956
)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:219)
        at
org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:457)

        ... 11 more




Mime
View raw message