cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rogelio Estudillo <restudi...@thewisenet.com>
Subject Problems building Cocoon2 from CVS: No constructor matching Task() ...
Date Wed, 13 Mar 2002 22:24:27 GMT
Hello there,

I'm having problems building cocoon 2 from cvs using jdk 1.4 on Windows XP.
I'm a newbie to Cocoon and I think i'm missing a jar or something, can anybody 
help me, pls???

I get the errors below.

regards
Roger.

* * *

Using Java from c:\j2sdk1.4.0
Buildfile: build.xml

init:
     [echo] --------------------------------------------------------------
     [echo]             Apache Cocoon 2.0.2-dev [1999-2002]
     [echo] --------------------------------------------------------------
     [echo] Building with Ant version 1.4.1 compiled on October 11 2001
     [echo] using build file C:\xml-cocoon2\build.xml
     [echo] --------------------------------------------------------------
    [javac] Compiling 2 source files to C:\xml-cocoon2\tools\anttask
s
    [javac] Note: sun.tools.javac.Main has been deprecated.
    [javac] C:\xml-cocoon2\tools\src\ClassAvailableTask.java:29: No
constructor matching Task() found in class Task.
    [javac] public class ClassAvailableTask extends Task {
    [javac]              ^
    [javac] C:\xml-cocoon2\tools\src\ClassAvailableTask.java:47: No
variable project defined in class ClassAvailableTask.
    [javac]             this.classpath = new Path(this.project);
    [javac]                                           ^
    [javac] C:\xml-cocoon2\tools\src\ClassAvailableTask.java:72: Und
efined variable: location
    [javac]             throw new BuildException("property attribute is required
", location);
    [javac]
   ^
    [javac] C:\xml-cocoon2\tools\src\ClassAvailableTask.java:76: No
variable project defined in class ClassAvailableTask.
    [javac]             this.project.setProperty(property, value);
    [javac]                 ^
    [javac] C:\xml-cocoon2\tools\src\ClassAvailableTask.java:82: Und
efined variable: location
    [javac]             throw new BuildException("At least one of (classname|fil
e|resource) is required", location);
    [javac]
                          ^
    [javac] C:\xml-cocoon2\tools\src\ClassAvailableTask.java:86: Und
efined variable: project
    [javac]             classpath.setProject(project);
    [javac]                                  ^
    [javac] C:\xml-cocoon2\tools\src\ClassAvailableTask.java:91: Met
hod log(java.lang.String, int) not found in class ClassAvailableTask.
    [javac]             log("Unable to load class " + classname + " to set prope
rty " + property, Project.MSG_VERBOSE);
    [javac]                ^
    [javac] C:\xml-cocoon2\tools\src\ClassAvailableTask.java:135: Me
thod log(java.lang.String, int) not found in class ClassAvailableTask.
    [javac]             log("Ignoring Exception " + e.getClass().getName() + ":
" + e.getMessage() +
    [javac]                ^
    [javac] C:\xml-cocoon2\tools\src\ClassAvailableTask.java:153: Un
defined variable or class name: project
    [javac]             final File pathComponent = (File)project.resolveFile(lis
t[i]);
    [javac]                                              ^
    [javac] C:\xml-cocoon2\tools\src\ManifestToolTask.java:23: No co
nstructor matching Task() found in class Task.
    [javac] public final class ManifestToolTask extends Task {
    [javac]                    ^
    [javac] C:\xml-cocoon2\tools\src\ManifestToolTask.java:38: Undef
ined variable: location
    [javac]             throw new BuildException("manifest attribute is required
", location);
    [javac]
   ^
    [javac] C:\xml-cocoon2\tools\src\ManifestToolTask.java:41: Undef
ined variable: location
    [javac]             throw new BuildException("directory attribute is require
d", location);
    [javac]
    ^
    [javac] 12 errors, 1 warning

BUILD FAILED

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message