You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Josias Thöny <jo...@wyona.com> on 2007/04/25 04:23:56 UTC

cannot compile trunk (news module)

Hi all,

I'm getting the following error when compiling the current lenya trunk:

/home/josias/src/apache/lenya-trunk/src/modules/news/java/src/org/apache/lenya/modules/news/usecases/Edit.java:23: 
package org.apache.lenya.cms.workflow.usecases does not exist
import org.apache.lenya.cms.workflow.usecases.InvokeWorkflow;

The problem disappears when I add the following dependency to the news 
module:

+  <depends module="org.apache.lenya.modules.workflow"/>

Is this a bug?

The strange thing is that I don't have this problem with the rc1. So I 
guess that the modules are not always compiled in the same order.
(Indeed the order of the modules in build/lenya/temp/modules-build.xml 
is different in my trunk than in my copy of the rc1.)
Is the order in this generated file arbitrary for modules which are on 
the same level in the dependency tree?

Josias

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