You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by MShah <mo...@yahoo.com> on 2009/02/02 22:31:14 UTC

Creating a new Resource error --> Duplicate target 'v alidate-module-org.apache.lenya.modules.homepage

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 'v
alidate-module-org.apache.lenya.modules.homepage'

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

-- 
View this message in context: http://www.nabble.com/Creating-a-new-Resource-error---%3E-Duplicate-target-%27v-alidate-module-org.apache.lenya.modules.homepage-tp21798797p21798797.html
Sent from the Lenya - Users mailing list archive at Nabble.com.


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


Re: Creating a new Resource error --> Duplicate target 'v alidate-module-org.apache.lenya.modules.homepage

Posted by Andreas Hartmann <an...@apache.org>.
Andreas Hartmann schrieb:
> MShah schrieb:
>> Thanks Andreas.  I removed it from the new publication and moved the 
>> homepage
>> module from default to modules.  
> 
> I just created a new page for this purpose:

Sorry, wrong email window …

-- Andreas

> 
> http://wiki.apache.org/lenya/TemporaryUploads
> 
> BTW, it would be great if you could use inline quotes to make it easier 
> for others to follow the discussion. There are some articles on this 
> subject, see the links at http://lenya.apache.org/community/ml.html.
> 
> -- Andreas
> 
> 
>> Andreas Hartmann wrote:
>>> 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: user-unsubscribe@lenya.apache.org
>>>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>>>
>>>>>
>>>>>
>>>
>>> -- 
>>> Andreas Hartmann, CTO
>>> BeCompany GmbH
>>> http://www.becompany.ch
>>> Tel.: +41 (0) 43 818 57 01
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>
>>>
>>>
>>
> 
> 


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


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


Re: Creating a new Resource error --> Duplicate target 'v alidate-module-org.apache.lenya.modules.homepage

Posted by Andreas Hartmann <an...@apache.org>.
MShah schrieb:
> Thanks Andreas.  I removed it from the new publication and moved the homepage
> module from default to modules.  

I just created a new page for this purpose:

http://wiki.apache.org/lenya/TemporaryUploads

BTW, it would be great if you could use inline quotes to make it easier 
for others to follow the discussion. There are some articles on this 
subject, see the links at http://lenya.apache.org/community/ml.html.

-- Andreas


> Andreas Hartmann wrote:
>> 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: user-unsubscribe@lenya.apache.org
>>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>>
>>>>
>>>>
>>
>> -- 
>> Andreas Hartmann, CTO
>> BeCompany GmbH
>> http://www.becompany.ch
>> Tel.: +41 (0) 43 818 57 01
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: user-help@lenya.apache.org
>>
>>
>>
> 


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


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


Re: Creating a new Resource error --> Duplicate target 'v alidate-module-org.apache.lenya.modules.homepage

Posted by MShah <mo...@yahoo.com>.
Thanks Andreas.  I removed it from the new publication and moved the homepage
module from default to modules.  

Best regards,

Monisha


Andreas Hartmann wrote:
> 
> 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: user-unsubscribe@lenya.apache.org
>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>
>>>
>>>
>> 
> 
> 
> -- 
> Andreas Hartmann, CTO
> BeCompany GmbH
> http://www.becompany.ch
> Tel.: +41 (0) 43 818 57 01
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Creating-a-new-Resource-error---%3E-Duplicate-target-%27v-alidate-module-org.apache.lenya.modules.homepage-tp21798797p21801944.html
Sent from the Lenya - Users mailing list archive at Nabble.com.


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


Re: Creating a new Resource error --> Duplicate target 'v alidate-module-org.apache.lenya.modules.homepage

Posted by Andreas Hartmann <an...@apache.org>.
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: user-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: user-help@lenya.apache.org
>>
>>
>>
> 


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


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


Re: Creating a new Resource error --> Duplicate target 'v alidate-module-org.apache.lenya.modules.homepage

Posted by MShah <mo...@yahoo.com>.
Thanks Andreas.  Yes I copied the default publication including the homepage
module to create the new publication.

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: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Creating-a-new-Resource-error---%3E-Duplicate-target-%27v-alidate-module-org.apache.lenya.modules.homepage-tp21798797p21800187.html
Sent from the Lenya - Users mailing list archive at Nabble.com.


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


Re: Creating a new Resource error --> Duplicate target 'v alidate-module-org.apache.lenya.modules.homepage

Posted by Andreas Hartmann <an...@apache.org>.
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: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org