cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oscar Picasso <oscgoo...@yahoo.com>
Subject Re: Last cocoon-2.1.5-dev does not build
Date Wed, 24 Mar 2004 03:11:09 GMT
Whether I exclude the velocity block or not, I get the same result:

[jboss@freedom cocoon-2.1]$ ./build.sh 
Buildfile: build.xml

prepare:
======================================================================
                 Apache Cocoon 2.1.5-dev [1999-2004]
======================================================================
 Building with Apache Ant version 1.6.1 compiled on February 12 2004
----------------------------------------------------------------------
 Using build file /mnt/desktop/home/jboss/workspace/cocoon-2.1/build.xml
----------------------------------------------------------------------
 Compiler options:
   - debug ......... [on]
   - optimize ...... [on]
   - deprecation ... [off]
======================================================================
Created dir:
/mnt/desktop/home/jboss/workspace/cocoon-2.1/build/cocoon-2.1.5-dev

compile-core:
Copying 16 files to
/mnt/desktop/home/jboss/workspace/cocoon-2.1/build/cocoon-2.1.5-dev/classes
Copied 59 empty directories to 32 empty directories under
/mnt/desktop/home/jboss/workspace/cocoon-2.1/build/cocoon-2.1.5-dev/classes
Created dir:
/mnt/desktop/home/jboss/workspace/cocoon-2.1/build/cocoon-2.1.5-dev/mocks
Compiling 1 source file to
/mnt/desktop/home/jboss/workspace/cocoon-2.1/build/cocoon-2.1.5-dev/mocks
Compiling 508 source files to
/mnt/desktop/home/jboss/workspace/cocoon-2.1/build/cocoon-2.1.5-dev/classes
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:55:
package org.apache.velocity does not exist
import org.apache.velocity.VelocityContext;
                           ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:56:
package org.apache.velocity.app does not exist
import org.apache.velocity.app.VelocityEngine;
                               ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:57:
package org.apache.velocity.context does not exist
import org.apache.velocity.context.Context;
                                   ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:58:
package org.apache.velocity.runtime does not exist
import org.apache.velocity.runtime.RuntimeConstants;
                                   ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:59:
package org.apache.velocity.runtime does not exist
import org.apache.velocity.runtime.RuntimeServices;
                                   ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:60:
package org.apache.velocity.runtime.log does not exist
import org.apache.velocity.runtime.log.LogSystem;
                                       ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:61:
package org.apache.velocity.runtime.resource does not exist
import org.apache.velocity.runtime.resource.Resource;
                                            ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:62:
package org.apache.velocity.util.introspection does not exist
import org.apache.velocity.util.introspection.Info;
                                              ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:63:
package org.apache.velocity.util.introspection does not exist
import org.apache.velocity.util.introspection.UberspectImpl;
                                              ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:64:
package org.apache.velocity.util.introspection does not exist
import org.apache.velocity.util.introspection.VelMethod;
                                              ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:65:
package org.apache.velocity.util.introspection does not exist
import org.apache.velocity.util.introspection.VelPropertyGet;
                                              ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:66:
package org.apache.velocity.util.introspection does not exist
import org.apache.velocity.util.introspection.VelPropertySet;
                                              ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:158:
cannot resolve symbol
symbol  : class LogSystem 
location: class org.apache.cocoon.generation.VelocityGenerator
        implements Initializable, Configurable, LogSystem {
                                                ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:731:
cannot resolve symbol
symbol  : class VelocityEngine 
location: class org.apache.cocoon.generation.VelocityGenerator
    private VelocityEngine tmplEngine;
            ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:734:
cannot resolve symbol
symbol  : class Context 
location: class org.apache.cocoon.generation.VelocityGenerator
    private Context velocityContext;
            ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:1074:
cannot resolve symbol
symbol  : class RuntimeServices 
location: class org.apache.cocoon.generation.VelocityGenerator
    public void init(RuntimeServices rs) throws Exception {
                     ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:199:
cannot resolve symbol
symbol  : class VelocityContext 
location: class org.apache.cocoon.generation.VelocityGenerator.ChainedContext
    public static class ChainedContext extends VelocityContext
                                               ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:256:
package org.apache.velocity.context does not exist
        public ChainedContext(org.apache.velocity.context.Context ctx, 
                                                         ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:339:
cannot resolve symbol
symbol  : class UberspectImpl 
location: class org.apache.cocoon.generation.VelocityGenerator.JSIntrospector
    public static class JSIntrospector extends UberspectImpl {
                                               ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:571:
cannot resolve symbol
symbol  : class Info 
location: class org.apache.cocoon.generation.VelocityGenerator.JSIntrospector
        public Iterator getIterator(Object obj, Info i)
                                                ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:583:
cannot resolve symbol
symbol  : class Info 
location: class org.apache.cocoon.generation.VelocityGenerator.JSIntrospector
                                   Object[] args, Info i)
                                                  ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:582:
cannot resolve symbol
symbol  : class VelMethod 
location: class org.apache.cocoon.generation.VelocityGenerator.JSIntrospector
        public VelMethod getMethod(Object obj, String methodName, 
               ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:592:
cannot resolve symbol
symbol  : class Info 
location: class org.apache.cocoon.generation.VelocityGenerator.JSIntrospector
                                             Info i)
                                             ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:591:
cannot resolve symbol
symbol  : class VelPropertyGet 
location: class org.apache.cocoon.generation.VelocityGenerator.JSIntrospector
        public VelPropertyGet getPropertyGet(Object obj, String identifier, 
               ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:601:
cannot resolve symbol
symbol  : class Info 
location: class org.apache.cocoon.generation.VelocityGenerator.JSIntrospector
                                             Object arg, Info i)
                                                         ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:600:
cannot resolve symbol
symbol  : class VelPropertySet 
location: class org.apache.cocoon.generation.VelocityGenerator.JSIntrospector
        public VelPropertySet getPropertySet(Object obj, String identifier, 
               ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:341:
cannot resolve symbol
symbol  : class VelMethod 
location: class
org.apache.cocoon.generation.VelocityGenerator.JSIntrospector.JSMethod
        public static class JSMethod implements VelMethod {
                                                ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:407:
cannot resolve symbol
symbol  : class VelPropertyGet 
location: class
org.apache.cocoon.generation.VelocityGenerator.JSIntrospector.JSPropertyGet
        public static class JSPropertyGet implements VelPropertyGet {
                                                     ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:449:
cannot resolve symbol
symbol  : class VelPropertySet 
location: class
org.apache.cocoon.generation.VelocityGenerator.JSIntrospector.JSPropertySet
        public static class JSPropertySet implements VelPropertySet {
                                                     ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:619:
package org.apache.velocity.runtime.resource.loader does not exist
            extends org.apache.velocity.runtime.resource.loader.ResourceLoader
{
                                                               ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:648:
package org.apache.velocity.exception does not exist
                throws org.apache.velocity.exception.ResourceNotFoundException
{
                                                    ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:661:
cannot resolve symbol
symbol  : class Resource 
location: class org.apache.cocoon.generation.VelocityGenerator.TemplateLoader
        public boolean isSourceModified(Resource resource) {
                                        ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:676:
cannot resolve symbol
symbol  : class Resource 
location: class org.apache.cocoon.generation.VelocityGenerator.TemplateLoader
        public long getLastModified(Resource resource) {
                                    ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:694:
package org.apache.velocity.exception does not exist
        private Source resolveSource(String systemId) throws
org.apache.velocity.exception.ResourceNotFoundException {
                                                                               
          ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:307:
non-static variable super cannot be referenced from a static context
            o = super.internalGet( key );
                ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:307:
cannot resolve symbol
symbol  : method internalGet (java.lang.String)
location: class org.apache.cocoon.generation.ServiceableGenerator
            o = super.internalGet( key );
                     ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:574:
non-static variable super cannot be referenced from a static context
                return super.getIterator(obj, i);
                       ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:586:
non-static variable super cannot be referenced from a static context
                return super.getMethod(obj, methodName, args, i);
                       ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:595:
non-static variable super cannot be referenced from a static context
                return super.getPropertyGet(obj, identifier, i);
                       ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:604:
non-static variable super cannot be referenced from a static context
                return super.getPropertySet(obj, identifier, arg, i);
                       ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:651:
package org.apache.velocity.exception does not exist
            } catch (org.apache.velocity.exception.ResourceNotFoundException
ex) {
                                                  ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:654:
package org.apache.velocity.exception does not exist
                throw new
org.apache.velocity.exception.ResourceNotFoundException("Unable to resolve
source: " + ex);
                                                       ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:666:
package super does not exist
                super.rsvc.warn("Unable to determine last modified for
resource: "
                     ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:681:
package super does not exist
                super.rsvc.warn("Unable to determine last modified for
resource: "
                     ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:699:
package org.apache.velocity.exception does not exist
                throw new
org.apache.velocity.exception.ResourceNotFoundException("Runtime Cocoon source
cache not specified in resource loader resolver context.");
                                                       ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:708:
package org.apache.velocity.exception does not exist
                    throw new
org.apache.velocity.exception.ResourceNotFoundException("No Cocoon source
resolver associated with current request.");
                                                           ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:710:
package org.apache.velocity.exception does not exist
                    throw new
org.apache.velocity.exception.ResourceNotFoundException("Unable to resolve
source: " + ex);
                                                           ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:746:
cannot resolve symbol
symbol  : class VelocityEngine 
location: class org.apache.cocoon.generation.VelocityGenerator
        this.tmplEngine = new VelocityEngine();
                              ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:749:
package org.apache.velocity.runtime does not exist
       
this.tmplEngine.setProperty(org.apache.velocity.runtime.RuntimeConstants.UBERSPECT_CLASSNAME,
                                                               ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:751:
cannot resolve symbol
symbol  : variable RuntimeConstants 
location: class org.apache.cocoon.generation.VelocityGenerator
        this.tmplEngine.setProperty(RuntimeConstants.RUNTIME_LOG_LOGSYSTEM,
this);
                                    ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:811:
cannot resolve symbol
symbol  : variable RuntimeConstants 
location: class org.apache.cocoon.generation.VelocityGenerator
        tmplEngine.setProperty(RuntimeConstants.RESOURCE_LOADER,
buffer.toString());
                               ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:861:
cannot resolve symbol
symbol  : class Context 
location: class org.apache.cocoon.generation.VelocityGenerator
            this.velocityContext = new Context() {
                                       ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:1084:
cannot resolve symbol
symbol  : variable LogSystem 
location: class org.apache.cocoon.generation.VelocityGenerator
            case LogSystem.WARN_ID:
                 ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:1087:
cannot resolve symbol
symbol  : variable LogSystem 
location: class org.apache.cocoon.generation.VelocityGenerator
            case LogSystem.INFO_ID:
                 ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:1090:
cannot resolve symbol
symbol  : variable LogSystem 
location: class org.apache.cocoon.generation.VelocityGenerator
            case LogSystem.DEBUG_ID:
                 ^
/mnt/desktop/home/jboss/workspace/cocoon-2.1/src/java/org/apache/cocoon/generation/VelocityGenerator.java:1093:
cannot resolve symbol
symbol  : variable LogSystem 
location: class org.apache.cocoon.generation.VelocityGenerator
            case LogSystem.ERROR_ID:
                 ^
56 errors

BUILD FAILED
/mnt/desktop/home/jboss/workspace/cocoon-2.1/tools/targets/compile-build.xml:60:
Compile failed; see the compiler error output for details.

Total time: 19 seconds




--- Joerg Heinicke <joerg.heinicke@gmx.de> wrote:
> On 24.03.2004 03:35, Oscar Picasso wrote:
> > The build fail on 'compile-core'.
> > 
> > It needs various velocity packages which are located in
> > './src/blocks/velocity/lib/velocity-1.4-rc1.jar' but are not in the
> classpath.
> > 
> > Approx. check-out time: Wed Mar 24 02:34:52 UTC 2004
> 
> I can not confirm it. I can build Cocoon though having the velocity 
> block excluded. Can you provide more details?
> 
> Joerg


__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html

Mime
View raw message