build failing on docgen tools [was: selectAll/deselectAll button on generate tables patch]

From: Mike Kienenberger (mkienen..mail.com)
Date: Tue Apr 18 2006 - 17:52:49 EDT

  • Next message: Mike Kienenberger: "Re: build failing on docgen tools [was: selectAll/deselectAll button on generate tables patch]"

    Ok. The problem isn't that my patch is wrong. It's that the build
    process is failing (but the output was being suppressed on my system).

    The build system appears to be attempting to build a bucketload of
    docgen tools that have nothing to do with actually building cayenne
    itself.

    Can we get these moved into their own ant target?

    jar:
        [javac] Compiling 4 source files to
    E:\workspace311\cayenne-ant\build\tools\classes
        [javac] E:\workspace311\cayenne-other\src\tools\java\org\objectstyle\cayenne\tools\ant\docgen\DocGenerator.java:63:
    package org.objectstyle.confluence.rpc.soap_axis.confluenceservice_v1
    does not exist
        [javac] import
    org.objectstyle.confluence.rpc.soap_axis.confluenceservice_v1.ConfluenceSoapService;
        [javac]
              ^
        [javac] E:\workspace311\cayenne-other\src\tools\java\org\objectstyle\cayenne\tools\ant\docgen\DocGenerator.java:64:
    package org.objectstyle.confluence.rpc.soap_axis.confluenceservice_v1
    does not exist
        [javac] import
    org.objectstyle.confluence.rpc.soap_axis.confluenceservice_v1.ConfluenceSoapServiceProxy;
        [javac]
              ^
        [javac] E:\workspace311\cayenne-other\src\tools\java\org\objectstyle\cayenne\tools\ant\docgen\DocGenerator.java:66:
    package com.atlassian.confluence.rpc.soap.beans does not exist
        [javac] import com.atlassian.confluence.rpc.soap.beans.RemoteAttachment;
        [javac] ^
        [javac] E:\workspace311\cayenne-other\src\tools\java\org\objectstyle\cayenne\tools\ant\docgen\DocGenerator.java:67:
    package com.atlassian.confluence.rpc.soap.beans does not exist
        [javac] import com.atlassian.confluence.rpc.soap.beans.RemotePage;
        [javac] ^
        [javac] E:\workspace311\cayenne-other\src\tools\java\org\objectstyle\cayenne\tools\ant\docgen\DocGenerator.java:68:
    package com.atlassian.confluence.rpc.soap.beans does not exist
        [javac] import com.atlassian.confluence.rpc.soap.beans.RemotePageSummary;
        [javac] ^
        [javac] E:\workspace311\cayenne-other\src\tools\java\org\objectstyle\cayenne\tools\ant\docgen\DocGenerator.java:83:
    cannot find symbol
        [javac] symbol : class ConfluenceSoapService
        [javac] location: class
    org.objectstyle.cayenne.tools.ant.docgen.DocGenerator
        [javac] private ConfluenceSoapService service;
        [javac] ^
        [javac] E:\workspace311\cayenne-other\src\tools\java\org\objectstyle\cayenne\tools\ant\docgen\DocPageRenderer.java:73:
    cannot find symbol
        [javac] symbol : class CayenneRuntimeException
        [javac] location: package org.objectstyle.cayenne
        [javac] import org.objectstyle.cayenne.CayenneRuntimeException;
        [javac] ^
        [javac] E:\workspace311\cayenne-other\src\tools\java\org\objectstyle\cayenne\tools\ant\docgen\DocPageRenderer.java:74:
    package org.objectstyle.cayenne.gen does not exist
        [javac] import org.objectstyle.cayenne.gen.ClassGeneratorResourceLoader;
        [javac] ^
        [javac] E:\workspace311\cayenne-other\src\tools\java\org\objectstyle\cayenne\tools\ant\docgen\DocPageRenderer.java:75:
    package org.objectstyle.confluence.rpc.soap_axis.confluenceservice_v1
    does not exist
        [javac] import
    org.objectstyle.confluence.rpc.soap_axis.confluenceservice_v1.ConfluenceSoapService;
        [javac]
              ^
        [javac] E:\workspace311\cayenne-other\src\tools\java\org\objectstyle\cayenne\tools\ant\docgen\DocGenerator.java:154:
    cannot find symbol
        [javac] symbol : class RemotePageSummary
        [javac] location: class
    org.objectstyle.cayenne.tools.ant.docgen.DocGenerator
        [javac] protected RemotePageSummary[] getChildren(DocPage
    page) throws Exception {
        [javac] ^
        [javac] E:\workspace311\cayenne-other\src\tools\java\org\objectstyle\cayenne\tools\ant\docgen\DocGenerator.java:176:
    cannot find symbol
        [javac] symbol : class RemoteAttachment
        [javac] location: class
    org.objectstyle.cayenne.tools.ant.docgen.DocGenerator
        [javac] protected byte[] getAttachmentData(DocPage page,
    RemoteAttachment attachment)
        [javac] ^
        [javac] E:\workspace311\cayenne-other\src\tools\java\org\objectstyle\cayenne\tools\ant\docgen\DocPageRenderer.java:112:
    cannot find symbol
        [javac] symbol : class ConfluenceSoapService
        [javac] location: class
    org.objectstyle.cayenne.tools.ant.docgen.DocPageRenderer
        [javac] private ConfluenceSoapService service;
        [javac] ^
        [javac] E:\workspace311\cayenne-other\src\tools\java\org\objectstyle\cayenne\tools\ant\docgen\DocPageRenderer.java:119:
    cannot find symbol
        [javac] symbol : class ConfluenceSoapService
        [javac] location: class
    org.objectstyle.cayenne.tools.ant.docgen.DocPageRenderer
        [javac] public DocPageRenderer(ConfluenceSoapService service,
    String token, String spaceKey, String template) throws Exception {
        [javac] ^
        [javac] E:\workspace311\cayenne-other\src\tools\java\org\objectstyle\cayenne\tools\ant\docgen\DocGenerator.java:125:
    cannot find symbol
        [javac] symbol : class RemotePageSummary
        [javac] location: class
    org.objectstyle.cayenne.tools.ant.docgen.DocGenerator
        [javac] RemotePageSummary[] children = getChildren(parent);
        [javac] ^
        [javac] E:\workspace311\cayenne-other\src\tools\java\org\objectstyle\cayenne\tools\ant\docgen\DocGenerator.java:159:
    cannot find symbol
        [javac] symbol : class RemoteAttachment
        [javac] location: class
    org.objectstyle.cayenne.tools.ant.docgen.DocGenerator
        [javac] RemoteAttachment[] attachments =
    service.getAttachments(token, page.getId());
        [javac] ^
        [javac] E:\workspace311\cayenne-other\src\tools\java\org\objectstyle\cayenne\tools\ant\docgen\DocGenerator.java:183:
    cannot find symbol
        [javac] symbol : class ConfluenceSoapServiceProxy
        [javac] location: class
    org.objectstyle.cayenne.tools.ant.docgen.DocGenerator
        [javac] service = new ConfluenceSoapServiceProxy();
        [javac] ^
        [javac] E:\workspace311\cayenne-other\src\tools\java\org\objectstyle\cayenne\tools\ant\docgen\DocGenerator.java:189:
    cannot find symbol
        [javac] symbol : class RemotePage
        [javac] location: class
    org.objectstyle.cayenne.tools.ant.docgen.DocGenerator
        [javac] RemotePage page = service.getPage(token, spaceKey,
    pageTitle);
        [javac] ^
        [javac] E:\workspace311\cayenne-other\src\tools\java\org\objectstyle\cayenne\tools\ant\docgen\DocGenerator.java:190:
    internal error; cannot instantiate
    DocPage(org.objectstyle.cayenne.tools.ant.docgen.DocPage,java.lang.String,long,java.lang.String)
    at org.objectstyle.cayenne.tools.ant.docgen.DocPage to ()
        [javac] return new DocPage(parentPage, page.getTitle(),
    page.getId(), page.getContent());
        [javac] ^
        [javac] E:\workspace311\cayenne-other\src\tools\java\org\objectstyle\cayenne\tools\ant\docgen\DocPageRenderer.java:149:
    cannot find symbol
        [javac] symbol : class ClassGeneratorResourceLoader
        [javac] location: class
    org.objectstyle.cayenne.tools.ant.docgen.DocPageRenderer
        [javac] props.put("cayenne.resource.loader.class",
    ClassGeneratorResourceLoader.class
        [javac] ^
        [javac] E:\workspace311\cayenne-other\src\tools\java\org\objectstyle\cayenne\tools\ant\docgen\DocPageRenderer.java:155:
    cannot find symbol
        [javac] symbol : class CayenneRuntimeException
        [javac] location: class
    org.objectstyle.cayenne.tools.ant.docgen.DocPageRenderer
        [javac] throw new CayenneRuntimeException("Can't
    initialize Velocity", ex);
        [javac] ^
        [javac] 20 errors

    On 4/18/06, Mike Kienenberger <mkienen..mail.com> wrote:
    > http://issues.apache.org/cayenne/browse/CAY-502
    >
    > Here's a first-pass at trying to implement a selectAll/deselectAll
    > button, borrowed from the Generate Code panel.
    >
    > Unfortunately, I'm being defeated by Swing. I can't seem to get the
    > actual panel containing the checkbox and label to show up.
    >
    > Anyone see what I'm doing wrong in the attached patch file? Seemed
    > pretty straight-forward, but I'm obviously missing something.
    >



    This archive was generated by hypermail 2.0.0 : Tue Apr 18 2006 - 17:53:15 EDT