Hello folx
Has anyone ever built Cocoon 2.x on Mac OS X?
I got about 36 errors the first time I tried, below. They mostly seem
to be classes not found... any ideas anyone?
I'm on Mac OS X version 10.1.5 on a powerbook g4.
compile:
Compiling with Java 1.3, debug on, optimize off, deprecation off
Compiling 19 source files to
/Installers/cocoon-2.0.2-src/cocoon-2.0.2/build/cocoon/classes
/Installers/cocoon-2.0.2-src/cocoon-2.0.2/build/cocoon/src/org/apache/cocoon/components/language/programming/java/Javac.java:71:
Superclass
org.apache.cocoon.components.language.programming.java.AbstractJavaCompiler
of class org.apache.cocoon.components.language.programming.java.Javac
not found.
public class Javac extends AbstractJavaCompiler {
^
/Installers/cocoon-2.0.2-src/cocoon-2.0.2/build/cocoon/src/org/apache/cocoon/components/language/programming/java/JavaLanguage.java:64:
Class
org.apache.cocoon.components.language.programming.CompiledProgrammingLanguage
not found in import.
import
org.apache.cocoon.components.language.programming.CompiledProgrammingLanguage;
^
/Installers/cocoon-2.0.2-src/cocoon-2.0.2/build/cocoon/src/org/apache/cocoon/components/language/programming/java/JavaLanguage.java:80:
Superclass
org.apache.cocoon.components.language.programming.CompiledProgrammingLanguage
of class
org.apache.cocoon.components.language.programming.java.JavaLanguage
not found.
public class JavaLanguage extends CompiledProgrammingLanguage
^
/Installers/cocoon-2.0.2-src/cocoon-2.0.2/build/cocoon/src/org/apache/cocoon/components/language/programming/java/Jikes.java:68:
Superclass
org.apache.cocoon.components.language.programming.java.AbstractJavaCompiler
of class org.apache.cocoon.components.language.programming.java.Jikes
not found.
public class Jikes extends AbstractJavaCompiler {
^
/Installers/cocoon-2.0.2-src/cocoon-2.0.2/build/cocoon/src/org/apache/cocoon/components/treeprocessor/CategoryNodeBuilder.java:68:
Superclass
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuilder
of class
org.apache.cocoon.components.treeprocessor.CategoryNodeBuilder not
found.
public class CategoryNodeBuilder extends AbstractParentProcessingNodeBuilder
^
/Installers/cocoon-2.0.2-src/cocoon-2.0.2/build/cocoon/src/org/apache/cocoon/components/treeprocessor/ContainerNodeBuilder.java:66:
Superclass
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuilder
of class
org.apache.cocoon.components.treeprocessor.ContainerNodeBuilder not
found.
public class ContainerNodeBuilder extends
AbstractParentProcessingNodeBuilder implements ThreadSafe {
^
/Installers/cocoon-2.0.2-src/cocoon-2.0.2/build/cocoon/src/org/apache/cocoon/components/treeprocessor/sitemap/ActNodeBuilder.java:58:
Class
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuilder
not found in import.
import
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuilder;
^
/Installers/cocoon-2.0.2-src/cocoon-2.0.2/build/cocoon/src/org/apache/cocoon/components/treeprocessor/sitemap/ActNodeBuilder.java:73:
Superclass
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuilder
of class
org.apache.cocoon.components.treeprocessor.sitemap.ActNodeBuilder not
found.
public class ActNodeBuilder extends AbstractParentProcessingNodeBuilder
^
/Installers/cocoon-2.0.2-src/cocoon-2.0.2/build/cocoon/src/org/apache/cocoon/components/treeprocessor/sitemap/MatchNodeBuilder.java:61:
Class
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuilder
not found in import.
import
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuilder;
^
/Installers/cocoon-2.0.2-src/cocoon-2.0.2/build/cocoon/src/org/apache/cocoon/components/treeprocessor/sitemap/MatchNodeBuilder.java:75:
Superclass
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuilder
of class
org.apache.cocoon.components.treeprocessor.sitemap.MatchNodeBuilder
not found.
public class MatchNodeBuilder extends AbstractParentProcessingNodeBuilder
^
/Installers/cocoon-2.0.2-src/cocoon-2.0.2/build/cocoon/src/org/apache/cocoon/components/treeprocessor/sitemap/PipelineNodeBuilder.java:57:
Class
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuilder
not found in import.
import
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuilder;
^
/Installers/cocoon-2.0.2-src/cocoon-2.0.2/build/cocoon/src/org/apache/cocoon/components/treeprocessor/sitemap/PipelineNodeBuilder.java:70:
Superclass
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuilder
of class
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNodeBuilder
not found.
public class PipelineNodeBuilder extends
AbstractParentProcessingNodeBuilder implements ThreadSafe {
^
/Installers/cocoon-2.0.2-src/cocoon-2.0.2/build/cocoon/src/org/apache/cocoon/components/treeprocessor/sitemap/SelectNodeBuilder.java:59:
Class
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuilder
not found in import.
import
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuilder;
^
/Installers/cocoon-2.0.2-src/cocoon-2.0.2/build/cocoon/src/org/apache/cocoon/components/treeprocessor/sitemap/SelectNodeBuilder.java:72:
Superclass
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuilder
of class
org.apache.cocoon.components.treeprocessor.sitemap.SelectNodeBuilder
not found.
public class SelectNodeBuilder extends
AbstractParentProcessingNodeBuilder implements ThreadSafe {
^
/Installers/cocoon-2.0.2-src/cocoon-2.0.2/build/cocoon/src/org/apache/cocoon/components/treeprocessor/sitemap/SitemapNodeBuilder.java:57:
Class
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuilder
not found in import.
import
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuilder;
^
/Installers/cocoon-2.0.2-src/cocoon-2.0.2/build/cocoon/src/org/apache/cocoon/components/treeprocessor/sitemap/SitemapNodeBuilder.java:72:
Superclass
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuilder
of class
org.apache.cocoon.components.treeprocessor.sitemap.SitemapNodeBuilder
not found.
public class SitemapNodeBuilder extends
AbstractParentProcessingNodeBuilder implements ThreadSafe {
^
/Installers/cocoon-2.0.2-src/cocoon-2.0.2/build/cocoon/src/org/apache/cocoon/serialization/ElementProcessorSerializer.java:59:
Class
org.apache.cocoon.components.elementprocessor.CannotCreateElementProcessorException
not found in import.
import
org.apache.cocoon.components.elementprocessor.CannotCreateElementProcessorException;
^
/Installers/cocoon-2.0.2-src/cocoon-2.0.2/build/cocoon/src/org/apache/cocoon/serialization/HSSFSerializer.java:58:
Class
org.apache.cocoon.components.elementprocessor.impl.poi.hssf.HSSFElementProcessorFactory
not found in import.
import
org.apache.cocoon.components.elementprocessor.impl.poi.hssf.HSSFElementProcessorFactory;
^
/Installers/cocoon-2.0.2-src/cocoon-2.0.2/build/cocoon/src/org/apache/cocoon/serialization/POIFSSerializer.java:58:
Class
org.apache.cocoon.components.elementprocessor.CannotCreateElementProcessorException
not found in import.
import
org.apache.cocoon.components.elementprocessor.CannotCreateElementProcessorException;
^
/Installers/cocoon-2.0.2-src/cocoon-2.0.2/build/cocoon/src/org/apache/cocoon/serialization/POIFSSerializer.java:60:
Class
org.apache.cocoon.components.elementprocessor.impl.poi.POIFSElementProcessor
not found in import.
import
org.apache.cocoon.components.elementprocessor.impl.poi.POIFSElementProcessor;
^
/Installers/cocoon-2.0.2-src/cocoon-2.0.2/build/cocoon/src/org/apache/cocoon/components/elementprocessor/ElementProcessorFactory.java:87:
Class
org.apache.cocoon.components.elementprocessor.CannotCreateElementProcessorException
not found in throws.
throws CannotCreateElementProcessorException;
^
/Installers/cocoon-2.0.2-src/cocoon-2.0.2/build/cocoon/src/org/apache/cocoon/components/elementprocessor/impl/poi/hssf/elements/Row.java:71:
Class
org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements.Sheet
not found.
private Sheet _sheet;
^
/Installers/cocoon-2.0.2-src/cocoon-2.0.2/build/cocoon/src/org/apache/cocoon/components/elementprocessor/impl/poi/hssf/elements/Row.java:79:
Class
org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements.Sheet
not found.
Row(final HSSFRow row, final Sheet sheet)
^
/Installers/cocoon-2.0.2-src/cocoon-2.0.2/build/cocoon/src/org/apache/cocoon/components/elementprocessor/impl/poi/hssf/elements/Row.java:126:
Class
org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements.Cell
not found.
Cell createCell(final int column, final int cellType)
^
/Installers/cocoon-2.0.2-src/cocoon-2.0.2/build/cocoon/src/org/apache/cocoon/components/elementprocessor/impl/poi/hssf/elements/Row.java:133:
Class
org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements.Cell
not found.
Cell retval = new Cell(_row
^
/Installers/cocoon-2.0.2-src/cocoon-2.0.2/build/cocoon/src/org/apache/cocoon/components/elementprocessor/impl/poi/hssf/elements/Row.java:133:
Class
org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements.Cell
not found.
Cell retval = new Cell(_row
^
/Installers/cocoon-2.0.2-src/cocoon-2.0.2/build/cocoon/src/org/apache/cocoon/components/language/programming/java/Pizza.java:110:
No variable classpath defined in class
org.apache.cocoon.components.language.programming.java.Pizza.
Main.setClassReader(new ClassReader(this.classpath, null));
^
/Installers/cocoon-2.0.2-src/cocoon-2.0.2/build/cocoon/src/org/apache/cocoon/components/language/programming/java/Pizza.java:114:
Undefined variable: file
Main.compile(new String[]{file},
^
/Installers/cocoon-2.0.2-src/cocoon-2.0.2/build/cocoon/src/org/apache/cocoon/components/language/programming/java/Pizza.java:116:
Undefined variable: destDir
new FileCompilerOutput(new File(destDir)),
^
/Installers/cocoon-2.0.2-src/cocoon-2.0.2/build/cocoon/src/org/apache/cocoon/components/language/programming/java/Pizza.java:119:
No variable errors defined in class
org.apache.cocoon.components.language.programming.java.Pizza.
this.errors = new ByteArrayInputStream(err.toByteArray());
^
/Installers/cocoon-2.0.2-src/cocoon-2.0.2/build/cocoon/src/org/apache/cocoon/components/treeprocessor/NamedContainerNodeBuilder.java:69:
Method
configure(org.apache.avalon.framework.configuration.Configuration)
not found in class
org.apache.cocoon.components.treeprocessor.ContainerNodeBuilder.
super.configure(config);
^
/Installers/cocoon-2.0.2-src/cocoon-2.0.2/build/cocoon/src/org/apache/cocoon/components/treeprocessor/sitemap/PipelinesNodeBuilder.java:71:
No variable treeBuilder defined in class
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNodeBuilder.
this.treeBuilder.setupNode(node, config);
^
/Installers/cocoon-2.0.2-src/cocoon-2.0.2/build/cocoon/src/org/apache/cocoon/components/treeprocessor/sitemap/PipelinesNodeBuilder.java:73:
Method
buildChildNodes(org.apache.avalon.framework.configuration.Configuration)
not found in class
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNodeBuilder.
ProcessingNode[] children = buildChildNodes(config);
^
/Installers/cocoon-2.0.2-src/cocoon-2.0.2/build/cocoon/src/org/apache/cocoon/components/treeprocessor/sitemap/PipelinesNodeBuilder.java:76:
Method getLogger() not found in class
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNodeBuilder.
getLogger().error(msg);
^
/Installers/cocoon-2.0.2-src/cocoon-2.0.2/build/cocoon/src/org/apache/cocoon/components/treeprocessor/sitemap/ViewNodeBuilder.java:88:
Method getLogger() not found in class
org.apache.cocoon.components.treeprocessor.sitemap.ViewNodeBuilder.
getLogger().error(msg);
^
/Installers/cocoon-2.0.2-src/cocoon-2.0.2/build/cocoon/src/org/apache/cocoon/components/treeprocessor/sitemap/ViewNodeBuilder.java:93:
No variable treeBuilder defined in class
org.apache.cocoon.components.treeprocessor.sitemap.ViewNodeBuilder.
SitemapLanguage sitemapBuilder = (SitemapLanguage)this.treeBuilder;
^
36 errors
BUILD FAILED
/Installers/cocoon-2.0.2-src/cocoon-2.0.2/build.xml:912: Compile
failed, messages should have been provided.
Total time: 15 seconds
--
Jesse Reynolds - Virtual Artists Pty Ltd - http://www.va.com.au
Email: jesse (at) va.com.au > Website Development
Phone: +61 (0)8 8223 2288 > Web & Email Hosting
Web: http://jesse.va.com.au > Streaming Media Hosting
> Telehousing / Colocation
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>