Hi Monisha,

MShah schrieb:
Thanks Andreas.  Yes I copied the default publication including the homepage
module to create the new publication.

you can just remove the homepage module from the new publication.

@all: Maybe we should move the homepage module from the default pub to the modules directory?

-- Andreas



Best regards,

Monisha


Andreas Hartmann wrote:
Hi MShah,

MShah schrieb:
I am using Lenya 2.0 and I am adding a new Person sample resource to
Apache
Lenya that I downloaded from the foaf project -->
http://www.foaf-project.org/   I got it using subversion from
http://svn.apache.org/repos/asf/lenya/sandbox/modules/person.
I have followed all the steps to add the new resource and the pipeline
and
when I try to build lenya using build.bat I am getting the following
error:

BUILD FAILED
C:\apache-lenya-2.0\src\targets\webapp-build.xml:174: The following error
occurr
ed while executing this line:
C:\apache-lenya-2.0\src\targets\modules-build.xml:74: The following error
occurr
ed while executing this line:
C:\apache-lenya-2.0\build\lenya\temp\modules-build.xml:5527: Duplicate
target 'validate-module-org.apache.lenya.modules.homepage'
this error occurs when Lenya finds two modules with the same ID, in this case "org.apache.lenya.modules.homepage". Is it possible that you accidentially used this ID in the module.xml file of your person module, or maybe in any other module? Or is it possible that you copied the default publication including the homepage module to create a new publication?

-- Andreas

Total time: 4 seconds

C:\apache-lenya-2.0>

Any inputs on resolving the same will be much appreciated.  I thought it
had
to do with the work place homepage field for the person resource and I
commented the lines referring the workplacehomepage in
$MODULE_HOME/samples/foaf.xml

and $MODULE_HOME/xslt/foaf2xhtml.xsl  but that did not help.

Any inputs in resolving this error will be much appreciated.

Best regards,

Monisha


--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


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






--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


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

Reply via email to