Hi !
As far I as remember this kind of issue is related to "depends"
configuration in ${YourModule}/config/module.xml
I think that you declare in <depends
module="org.apache.lenya.modules.usecase" /> (really require for you
module ?),
and have modified in your
${lenyaHome}/local.build.properties the modules.root.dirs as it don't
still look for src/modules-core (where usecase reside)
( fresh modules.root.dir is :
modules.root.dirs=src/modules:src/modules-core:src/pubs/default/modules )
Make big assumptions here, but anyway the error says that you module
don't find his usecase required module.
++
On 06/01/2012 02:17 PM, munish wrote:
Hi,
Tring to create a new module in Apache lenya cms,
And followed the link
"http://lenya.apache.org/docu20/tutorials/newResourceType/newResourceTypePart1.html"
But it shows two error :
prepare-modules:
Processing
/home/dev06/workspace/apache-lenya-2.0.4-src/build/lenya/temp/modules.xml to
/home/dev06/workspace/apache-lenya-2.0.4-src/build/lenya/temp/modules-config.xml
Loading stylesheet
/home/dev06/workspace/apache-lenya-2.0.4-src/src/resources/build/modules2config.xsl
Processing
/home/dev06/workspace/apache-lenya-2.0.4-src/build/lenya/temp/modules-config.xml
to
/home/dev06/workspace/apache-lenya-2.0.4-src/build/lenya/temp/modules-build.xml
Loading stylesheet
/home/dev06/workspace/apache-lenya-2.0.4-src/src/resources/build/modules2build.xsl
Processing
/home/dev06/workspace/apache-lenya-2.0.4-src/build/lenya/temp/modules.xml to
/home/dev06/workspace/apache-lenya-2.0.4-src/build/lenya/temp/modules.xconf
Loading stylesheet
/home/dev06/workspace/apache-lenya-2.0.4-src/src/resources/build/modules2patch.xsl
Processing:
/home/dev06/workspace/apache-lenya-2.0.4-src/build/lenya/temp/modules.xconf
Writing:
/home/dev06/workspace/apache-lenya-2.0.4-src/build/lenya/webapp/WEB-INF/cocoon.xconf
BUILD FAILED
/home/dev06/workspace/apache-lenya-2.0.4-src/src/targets/webapp-build.xml:174:
The following error occurred while executing this line:
/home/dev06/workspace/apache-lenya-2.0.4-src/src/targets/modules-build.xml:74:
The following error occurred while executing this line:
Target "deploy-module-org.apache.lenya.modules.usecase" does not exist
in the project "lenya-modules". It is used from target
"deploy-module-org.apache.lenya.modules.export".
Please anybody help how to resolve this error.
Thanks-
Munish kumar
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@lenya.apache.org
For additional commands, e-mail: user-h...@lenya.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@lenya.apache.org
For additional commands, e-mail: user-h...@lenya.apache.org