Anish wrote:
Hi Andreas

I've built my project on Lenya 2.0.2 it got built successfully.

But again most of the times it shows untranslated error.

Even I tried the solution as described on lenya-dev list:

http://marc.info/?t=122558903800002&r=1&w=2

But problem still persists.

This was the reason I used 2.0.0 version.

Please suggest.



Andreas Hartmann wrote:
Hi Anish,

Anish schrieb:
Andreas Hartmann wrote:
Hi Anish,

Anish schrieb:
Hi All

I'm trying to build Lenya 2.0.0 it shows errors like:


compile-module-org.apache.lenya.modules.cforms:
Created dir: /home/anish/Desktop/testlenya/apache-lenya-2.0/build/lenya/modules/org.apache.lenya.modules.cforms/java/classes/api Created dir: /home/anish/Desktop/testlenya/apache-lenya-2.0/build/lenya/modules/org.apache.lenya.modules.cforms/java/classes/impl Compiling 1 source file to /home/anish/Desktop/testlenya/apache-lenya-2.0/build/lenya/modules/org.apache.lenya.modules.cforms/java/classes/impl /home/anish/Desktop/testlenya/apache-lenya-2.0/src/modules/cforms/java/src/org/apache/lenya/cms/editors/cforms/CForms.java:23: package org.apache.lenya.cms.workflow.usecases does not exist
import org.apache.lenya.cms.workflow.usecases.InvokeWorkflow;
                                              ^
/home/anish/Desktop/testlenya/apache-lenya-2.0/src/modules/cforms/java/src/org/apache/lenya/cms/editors/cforms/CForms.java:29: cannot find symbol
symbol: class InvokeWorkflow
public class CForms extends InvokeWorkflow {

this looks like some dependencies are missing (cforms -> workflow).

Is there a particular reason you're using 2.0.0 and not e.g. 2.0.2? Upgrading should be quite easy.

Is there anyway out to resolve this?

As it was working fine with my Fedora 6 OS. But as soon as I shifted to Ubuntu Hardy 8.04, it started giving problems.

Actually I don't think it is related to the distribution. The issue is rather non-deterministic – sometimes the modules are accidentially built in the correct sequence, so that the dependencies are resolved. If you want to stick with 2.0.0, you'll have to add the missing dependency manually to modules/cforms/config/module.xml.

Otherwise I need to move onto Lenya 2.0.2......... :-)

I think this might save you some trouble.

-- Andreas




Hi All

Untranslated issue is resolved. I searched all cmsui.xml files in the lenya source and added:

xmlns="http://apache.org/cocoon/i18n/2.1";

namespace to the <catalogue> tag (if it's not present) and it worked for me.

--
Anish Sneh
Software Engineer
Techblue Softwares Pvt. Ltd.
www.technologyblueprint.co.uk




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to