Andreas Hartmann wrote:
Michael Wechner wrote:

[...]

But I still receive a runtime error

org.apache.lenya.workflow.impl.WorkflowManagerImpl

Any idea why it doesn't find this impl?

Strange, it works for me ...
Did you do a clean build?

IIRC yes. I did a clean-all and now it seems to work :-)

Thanks

Michi

-- Andreas



Michi


Until
then, you could copy the Publish usecase into your
publication.

HTH,

-- Andreas


                                               ^
/opt/lenya/mc-test/lenya-1.4.x/build/lenya/java/modules/org/apache/lenya/cms/site/usecases/CustomPublish.java:9: cannot resolve symbol
symbol  : class Publish
location: class org.apache.lenya.cms.site.usecases.CustomPublish
public class CustomPublish extends Publish {
                                  ^
/opt/lenya/mc-test/lenya-1.4.x/build/lenya/java/modules/org/apache/lenya/cms/site/usecases/CustomPublish.java:11: cannot resolve symbol
symbol  : variable super
location: class org.apache.lenya.cms.site.usecases.CustomPublish
       super.initParameters();
       ^
/opt/lenya/mc-test/lenya-1.4.x/build/lenya/java/modules/org/apache/lenya/cms/site/usecases/CustomPublish.java:15: cannot resolve symbol
symbol  : variable super
location: class org.apache.lenya.cms.site.usecases.CustomPublish
       super.doCheckPreconditions();
       ^
/opt/lenya/mc-test/lenya-1.4.x/build/lenya/java/modules/org/apache/lenya/cms/site/usecases/CustomPublish.java:19: cannot resolve symbol
symbol  : variable super
location: class org.apache.lenya.cms.site.usecases.CustomPublish
       super.doExecute();
       ^
/opt/lenya/mc-test/lenya-1.4.x/build/lenya/java/modules/org/apache/lenya/cms/site/usecases/CustomPublish.java:26: cannot resolve symbol
symbol  : method getSourceDocument ()
location: class org.apache.lenya.cms.site.usecases.CustomPublish
       Document doc = getSourceDocument();
                      ^
/opt/lenya/mc-test/lenya-1.4.x/build/lenya/java/modules/org/apache/lenya/cms/site/usecases/CustomPublish.java:27: cannot resolve symbol
symbol  : method getSourceDocument ()
location: class org.apache.lenya.cms.site.usecases.CustomPublish
       String sourceUri = getSourceDocument().getSourceURI();
                          ^
/opt/lenya/mc-test/lenya-1.4.x/build/lenya/java/modules/org/apache/lenya/cms/site/usecases/CustomPublish.java:29: cannot resolve symbol
symbol  : variable manager
location: class org.apache.lenya.cms.site.usecases.CustomPublish
resolver = (SourceResolver) manager.lookup(SourceResolver.ROLE);
                                       ^
/opt/lenya/mc-test/lenya-1.4.x/build/lenya/java/modules/org/apache/lenya/cms/site/usecases/CustomPublish.java:34: cannot resolve symbol
symbol  : variable super
location: class org.apache.lenya.cms.site.usecases.CustomPublish
           super.publish(authoringDocument);
           ^
/opt/lenya/mc-test/lenya-1.4.x/build/lenya/java/modules/org/apache/lenya/cms/site/usecases/CustomPublish.java:48: cannot resolve symbol
symbol  : variable manager
location: class org.apache.lenya.cms.site.usecases.CustomPublish
resolver = (SourceResolver) this.manager.lookup(SourceResolver.ROLE);
                                       ^
/opt/lenya/mc-test/lenya-1.4.x/build/lenya/java/modules/org/apache/lenya/cms/site/usecases/CustomPublish.java:54: cannot resolve symbol
symbol  : variable manager
location: class org.apache.lenya.cms.site.usecases.CustomPublish
               this.manager.release(resolver);
               ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
11 errors

thanks,
Andrew

Andreas Hartmann wrote:

Andrew Golightly wrote:

Hi Andreas,

not sure whether I have the same problem exactly, but lenya isn't building. I get this error:

/home/andrew/gate-research/cms-systems/lenya/lenya-1.4.x/src/java/org/apache/lenya/cms/workflow/DocumentWorkflowable.java:219: cannot resolve symbol
symbol  : class LenyaVersion
location: class org.apache.lenya.cms.workflow.DocumentWorkflowable
       Version version = new LenyaVersion(event, state);



I forgot to add a class to SVN, it should work now.
Sorry for the inconvenience,

-- Andreas











--
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[EMAIL PROTECTED]                        [EMAIL PROTECTED]
+41 44 272 91 61


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to