You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Michael Wechner <mi...@wyona.com> on 2006/05/18 09:36:03 UTC

problems building third-party modules with Lenya 1.4-dev

Hi

It seems to me because of the recent changes (separation ...) one cannot 
build anymore third-party modules.

Any idea what might be wrong?

Thanks

Michi

-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org
+41 44 272 91 61


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: problems building third-party modules with Lenya 1.4-dev

Posted by Andreas Hartmann <an...@apache.org>.
Michael Wechner wrote:
> Andreas Hartmann wrote:
>> Andrew Golightly wrote:
>>> Hey Andrea,
>>>
>>> I did an update, a clean build and now I get 11 errors:
>>>
>>> Created dir: /opt/lenya/mc-test/lenya-1.4.x/build/lenya/modules
>>> Compiling 145 source files to 
>>> /opt/lenya/mc-test/lenya-1.4.x/build/lenya/modules
>>> /opt/lenya/mc-test/lenya-1.4.x/build/lenya/java/modules/org/apache/lenya/cms/site/usecases/CustomPublish.java:7: 
>>> package org.apache.lenya.defaultpub.cms.usecases does not exist
>>> import org.apache.lenya.defaultpub.cms.usecases.Publish;
>>
>> It looks as if you have a CustomPublish class in one of
>> your publications that extends the default publication's
>> publish usecase.
>>
>> In this special case, we should move the Publish usecase
>> handler from the default publication to the core. 
> 
> I have added
> 
> src/java/org/apache/lenya/defaultpub
> src/java/org/apache/lenya/notification
> 
> temporarily to the core such that it compiles again.

I removed them again and moved the default pub usecase handlers
to a module so that they are visible to other modules.


-- Andreas



-- 
Andreas Hartmann
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
andreas.hartmann@wyona.com                     andreas@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: problems building third-party modules with Lenya 1.4-dev

Posted by Michael Wechner <mi...@wyona.com>.
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
michael.wechner@wyona.com                        michi@apache.org
+41 44 272 91 61


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: problems building third-party modules with Lenya 1.4-dev

Posted by Andreas Hartmann <an...@apache.org>.
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?

-- 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
>>>>
>>>>
>>>>
>>
>>
> 
> 


-- 
Andreas Hartmann
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
andreas.hartmann@wyona.com                     andreas@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: problems building third-party modules with Lenya 1.4-dev

Posted by Andrew Golightly <A....@dcs.shef.ac.uk>.
nope. all working fine on my end!

Andrew

Michael Wechner wrote:

> Andrew Golightly wrote:
>
>> all fixed now. thank you.
>
>
> you're very welcome, but don't you receive a runtime error as I 
> described below?
>
> Michi
>
>>
>> Michael Wechner wrote:
>>
>>> Andreas Hartmann wrote:
>>>
>>>> Andrew Golightly wrote:
>>>>
>>>>> Hey Andrea,
>>>>>
>>>>> I did an update, a clean build and now I get 11 errors:
>>>>>
>>>>> Created dir: /opt/lenya/mc-test/lenya-1.4.x/build/lenya/modules
>>>>> Compiling 145 source files to 
>>>>> /opt/lenya/mc-test/lenya-1.4.x/build/lenya/modules
>>>>> /opt/lenya/mc-test/lenya-1.4.x/build/lenya/java/modules/org/apache/lenya/cms/site/usecases/CustomPublish.java:7: 
>>>>> package org.apache.lenya.defaultpub.cms.usecases does not exist
>>>>> import org.apache.lenya.defaultpub.cms.usecases.Publish;
>>>>
>>>>
>>>>
>>>> It looks as if you have a CustomPublish class in one of
>>>> your publications that extends the default publication's
>>>> publish usecase.
>>>>
>>>> In this special case, we should move the Publish usecase
>>>> handler from the default publication to the core. 
>>>
>>>
>>>
>>> I have added
>>>
>>> src/java/org/apache/lenya/defaultpub
>>> src/java/org/apache/lenya/notification
>>>
>>> temporarily to the core such that it compiles again.
>>>
>>> But I still receive a runtime error
>>>
>>> org.apache.lenya.workflow.impl.WorkflowManagerImpl
>>>
>>> Any idea why it doesn't find this impl?
>>>
>>> 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
>>>>>>
>>>>>>
>>>>>>
>>>>
>>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: dev-help@lenya.apache.org
>>
>>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: problems building third-party modules with Lenya 1.4-dev

Posted by Michael Wechner <mi...@wyona.com>.
Andrew Golightly wrote:
> all fixed now. thank you.

you're very welcome, but don't you receive a runtime error as I 
described below?

Michi
>
> Michael Wechner wrote:
>
>> Andreas Hartmann wrote:
>>
>>> Andrew Golightly wrote:
>>>
>>>> Hey Andrea,
>>>>
>>>> I did an update, a clean build and now I get 11 errors:
>>>>
>>>> Created dir: /opt/lenya/mc-test/lenya-1.4.x/build/lenya/modules
>>>> Compiling 145 source files to 
>>>> /opt/lenya/mc-test/lenya-1.4.x/build/lenya/modules
>>>> /opt/lenya/mc-test/lenya-1.4.x/build/lenya/java/modules/org/apache/lenya/cms/site/usecases/CustomPublish.java:7: 
>>>> package org.apache.lenya.defaultpub.cms.usecases does not exist
>>>> import org.apache.lenya.defaultpub.cms.usecases.Publish;
>>>
>>>
>>> It looks as if you have a CustomPublish class in one of
>>> your publications that extends the default publication's
>>> publish usecase.
>>>
>>> In this special case, we should move the Publish usecase
>>> handler from the default publication to the core. 
>>
>>
>> I have added
>>
>> src/java/org/apache/lenya/defaultpub
>> src/java/org/apache/lenya/notification
>>
>> temporarily to the core such that it compiles again.
>>
>> But I still receive a runtime error
>>
>> org.apache.lenya.workflow.impl.WorkflowManagerImpl
>>
>> Any idea why it doesn't find this impl?
>>
>> 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
>>>>>
>>>>>
>>>>>
>>>
>>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
> For additional commands, e-mail: dev-help@lenya.apache.org
>
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org
+41 44 272 91 61


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: problems building third-party modules with Lenya 1.4-dev

Posted by Andrew Golightly <A....@dcs.shef.ac.uk>.
all fixed now. thank you.

Michael Wechner wrote:

> Andreas Hartmann wrote:
>
>> Andrew Golightly wrote:
>>
>>> Hey Andrea,
>>>
>>> I did an update, a clean build and now I get 11 errors:
>>>
>>> Created dir: /opt/lenya/mc-test/lenya-1.4.x/build/lenya/modules
>>> Compiling 145 source files to 
>>> /opt/lenya/mc-test/lenya-1.4.x/build/lenya/modules
>>> /opt/lenya/mc-test/lenya-1.4.x/build/lenya/java/modules/org/apache/lenya/cms/site/usecases/CustomPublish.java:7: 
>>> package org.apache.lenya.defaultpub.cms.usecases does not exist
>>> import org.apache.lenya.defaultpub.cms.usecases.Publish;
>>
>>
>> It looks as if you have a CustomPublish class in one of
>> your publications that extends the default publication's
>> publish usecase.
>>
>> In this special case, we should move the Publish usecase
>> handler from the default publication to the core. 
>
>
> I have added
>
> src/java/org/apache/lenya/defaultpub
> src/java/org/apache/lenya/notification
>
> temporarily to the core such that it compiles again.
>
> But I still receive a runtime error
>
> org.apache.lenya.workflow.impl.WorkflowManagerImpl
>
> Any idea why it doesn't find this impl?
>
> 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
>>>>
>>>>
>>>>
>>
>>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: problems building third-party modules with Lenya 1.4-dev

Posted by Michael Wechner <mi...@wyona.com>.
Andreas Hartmann wrote:
> Andrew Golightly wrote:
>> Hey Andrea,
>>
>> I did an update, a clean build and now I get 11 errors:
>>
>> Created dir: /opt/lenya/mc-test/lenya-1.4.x/build/lenya/modules
>> Compiling 145 source files to 
>> /opt/lenya/mc-test/lenya-1.4.x/build/lenya/modules
>> /opt/lenya/mc-test/lenya-1.4.x/build/lenya/java/modules/org/apache/lenya/cms/site/usecases/CustomPublish.java:7: 
>> package org.apache.lenya.defaultpub.cms.usecases does not exist
>> import org.apache.lenya.defaultpub.cms.usecases.Publish;
>
> It looks as if you have a CustomPublish class in one of
> your publications that extends the default publication's
> publish usecase.
>
> In this special case, we should move the Publish usecase
> handler from the default publication to the core. 

I have added

src/java/org/apache/lenya/defaultpub
src/java/org/apache/lenya/notification

temporarily to the core such that it compiles again.

But I still receive a runtime error

org.apache.lenya.workflow.impl.WorkflowManagerImpl

Any idea why it doesn't find this impl?

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
michael.wechner@wyona.com                        michi@apache.org
+41 44 272 91 61


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: problems building third-party modules with Lenya 1.4-dev

Posted by Andreas Hartmann <an...@apache.org>.
Andrew Golightly wrote:
> Hey Andrea,
> 
> I did an update, a clean build and now I get 11 errors:
> 
> Created dir: /opt/lenya/mc-test/lenya-1.4.x/build/lenya/modules
> Compiling 145 source files to 
> /opt/lenya/mc-test/lenya-1.4.x/build/lenya/modules
> /opt/lenya/mc-test/lenya-1.4.x/build/lenya/java/modules/org/apache/lenya/cms/site/usecases/CustomPublish.java:7: 
> package org.apache.lenya.defaultpub.cms.usecases does not exist
> import org.apache.lenya.defaultpub.cms.usecases.Publish;

It looks as if you have a CustomPublish class in one of
your publications that extends the default publication's
publish usecase.

In this special case, we should move the Publish usecase
handler from the default publication to the core. 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
>>
>>
>>


-- 
Andreas Hartmann
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
andreas.hartmann@wyona.com                     andreas@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: problems building third-party modules with Lenya 1.4-dev

Posted by Andrew Golightly <A....@dcs.shef.ac.uk>.
Hey Andrea,

I did an update, a clean build and now I get 11 errors:

Created dir: /opt/lenya/mc-test/lenya-1.4.x/build/lenya/modules
Compiling 145 source files to 
/opt/lenya/mc-test/lenya-1.4.x/build/lenya/modules
/opt/lenya/mc-test/lenya-1.4.x/build/lenya/java/modules/org/apache/lenya/cms/site/usecases/CustomPublish.java:7: 
package org.apache.lenya.defaultpub.cms.usecases does not exist
import org.apache.lenya.defaultpub.cms.usecases.Publish;
                                                ^
/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
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: problems building third-party modules with Lenya 1.4-dev

Posted by Andreas Hartmann <an...@apache.org>.
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



-- 
Andreas Hartmann
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
andreas.hartmann@wyona.com                     andreas@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: problems building third-party modules with Lenya 1.4-dev

Posted by Andrew Golightly <A....@dcs.shef.ac.uk>.
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);
                              ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
1 error

thanks,
~ Andrew

Andreas Hartmann wrote:

> Andreas Hartmann wrote:
>
>> Michael Wechner wrote:
>>
>>> Hi
>>>
>>> It seems to me because of the recent changes (separation ...) one 
>>> cannot build anymore third-party modules.
>>
>
> It should work again now - please try again.
>
> -- Andreas
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: problems building third-party modules with Lenya 1.4-dev

Posted by Andreas Hartmann <an...@apache.org>.
Andreas Hartmann wrote:
> Michael Wechner wrote:
>> Hi
>>
>> It seems to me because of the recent changes (separation ...) one 
>> cannot build anymore third-party modules.

It should work again now - please try again.

-- Andreas


-- 
Andreas Hartmann
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
andreas.hartmann@wyona.com                     andreas@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: problems building third-party modules with Lenya 1.4-dev

Posted by Andreas Hartmann <an...@apache.org>.
Michael Wechner wrote:
> Hi
> 
> It seems to me because of the recent changes (separation ...) one cannot 
> build anymore third-party modules.

Thanks for spotting ...


> Any idea what might be wrong?

The module Java sources can't access the module libraries anymore.
I'm fixing it.

Sorry for the inconvenience,

-- Andreas




-- 
Andreas Hartmann
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
andreas.hartmann@wyona.com                     andreas@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org