Okay.. so I changed the property: '*overwrite*' in p2.inf of
org.wso2.carbon.identity.provider.server.feature
from false to true, when copying claim-config.xml.

And build was successful locally. Lets see how it goes in builder machine.

Thanks & regards,
Hasini.

On Sat, Mar 19, 2011 at 9:50 PM, Harshana Martin <harsh...@wso2.com> wrote:

> Hi Hasini,
>
> On Sat, Mar 19, 2011 at 9:04 PM, Hasini Gunasinghe <has...@wso2.com>wrote:
>
>> Thanks a lot Saminda, Denis and Nuwan.
>>
>> Denis, please let us know if the way Harshana has mentioned did not solve
>> the issue.. Then we can try the following:
>>
>> The error in the log file:
>> java.io.IOException: Target:
>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/../conf/claim-config.xml
>> already exists
>>  at
>> org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CopyAction.xcopy(CopyAction.java:150)
>>
>> above might have been caused by two identity features [1] trying to
>> install same file and one allows to overwrite it while other doesn't allow
>> to overwrite it as mentioned in their respective p2.inf files.
>>
>> But there is no recent changes to these files. And unfortunately I can not
>> reproduce this either locally. So as Harshana has mentioned, this might have
>> occurred after introducing incremental build.
>>
>> So if what Harshana has mentioned did not solve the issue, I can try
>> changing p2.inf of 
>> features/identity/identity-provider/org.wso2.carbon.identity.provider.server.feature,
>> to overwrite the above file.
>>
>
> I think it is pretty safe to assume that, it might be the cause. I looked
> at the
> products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components
> and there are several other configuration files as well. But there are no
> errors for them. So this issue is only affecting this particular file it
> seems.
>
> Other products does not have such problems either even though we have
> configuration files in the same place. So I assume this p2.inf is the
> issue.
>
> Thanks and Regards,
> Harshana
>
>>
>> [1] org.wso2.carbon.identity.provider.server.feature
>>      org.wso2.carbon.identity.relying.party.server.feature
>>
>> Thanks,
>> Hasini.
>>
>>
>>
>>
>> On Sat, Mar 19, 2011 at 6:42 PM, Denis Weerasiri <de...@wso2.com> wrote:
>>
>>> Online build log attached
>>>
>>> On Sat, Mar 19, 2011 at 5:49 PM, Hasini Gunasinghe <has...@wso2.com>wrote:
>>>
>>>>
>>>> On Sat, Mar 19, 2011 at 5:30 PM, Denis Weerasiri <de...@wso2.com>wrote:
>>>>
>>>>> Hi,
>>>>> Can somebody give some idea why this's happened?
>>>>>
>>>>
>>>> Hi,
>>>>
>>>> We are looking into this and will trigger an IS build in the builder
>>>> machine separately to figure out the cause.
>>>>
>>>> IS built fine till yesterday locally.
>>>>
>>>> Meanwhile if any of you have an idea about what might the cause for this
>>>> type of an error, please let us know..
>>>>
>>>> Thanks,
>>>> Hasini.
>>>>
>>>>>
>>>>>
>>>>> On Sat, Mar 19, 2011 at 3:45 PM, WSO2 Builder <buil...@wso2.org>wrote:
>>>>>
>>>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.carbon.security.mgt-3.2.0.SNAPSHOT.jar
>>>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.carbon.security.mgt.ui-3.2.0.SNAPSHOT.jar
>>>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.carbon.service.mgt-3.2.0.SNAPSHOT.jar
>>>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.carbon.statistics-3.2.0.SNAPSHOT.jar
>>>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.carbon.statistics.ui-3.2.0.SNAPSHOT.jar
>>>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.carbon.sts-3.2.0.SNAPSHOT.jar
>>>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.carbon.sts.ui-3.2.0.SNAPSHOT.jar
>>>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.carbon.tracer-3.2.0.SNAPSHOT.jar
>>>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.carbon.tracer.ui-3.2.0.SNAPSHOT.jar
>>>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.carbon.ui.menu.registry-3.2.0.SNAPSHOT.jar
>>>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.carbon.um.ws.service-3.2.0.SNAPSHOT.jar
>>>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.carbon.xfer-3.2.0.SNAPSHOT.jar
>>>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.carbon.xkms-3.2.0.SNAPSHOT.jar
>>>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.carbon.xkms.mgt-3.2.0.SNAPSHOT.jar
>>>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.carbon.xkms.mgt.ui-3.2.0.SNAPSHOT.jar
>>>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.identity.styles-2.0.0.SNAPSHOT.jar
>>>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/rampart-core-1.6.1.wso2v1.jar
>>>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/rampart-policy-1.6.1.wso2v1.jar
>>>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/rampart-trust-1.6.1.wso2v1.jar
>>>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/smack-3.0.4.wso2v1.jar
>>>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/spring.framework-2.5.1.wso2v1.jar
>>>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/step2-1.0.0.wso2v1.jar
>>>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/sun-xacml-2.0.1.wso2v1.jar
>>>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/xkms-2.4.0.wso2v1.jar
>>>>>> [ERROR] An error occurred while configuring the installed items
>>>>>> [ERROR]  session context was:(profile=WSO2CarbonProfile,
>>>>>> phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Configure,
>>>>>> operand=null --> 
>>>>>> [R]org.wso2.carbon.identity.provider.server.feature.group
>>>>>> 3.2.0.SNAPSHOT,
>>>>>> action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CopyAction).
>>>>>> [ERROR]  I/O Error while copying
>>>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/claim-config.xml
>>>>>> - see details.
>>>>>> [ERROR] Caused by:  java.io.IOException: Target:
>>>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/../conf/claim-config.xml
>>>>>> already exists
>>>>>> [ERROR] Application failed, log file location:
>>>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/p2-agent/configuration/1300529725138.log
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> [ERROR] BUILD ERROR
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> [INFO]
>>>>>>
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> [INFO] For more information, run Maven with the -e switch
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> [INFO] Total time: 238 minutes 38 seconds
>>>>>> [INFO] Finished at: Sat Mar 19 15:45:50 IST 2011
>>>>>> [INFO] Final Memory: 1342M/1833M
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> _______________________________________________
>>>>>> Carbon-dev mailing list
>>>>>> Carbon-dev@wso2.org
>>>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Thanks,
>>>>> Denis
>>>>> ----------------------------------------------------------
>>>>> *Denis Weerasiri*
>>>>> Software Engineer; WSO2 Inc.; http://wso2.com,
>>>>> *email: denis <http://goog_277208233/>** [AT] wso2.com*<http://wso2.com/>
>>>>> *
>>>>> blog: **http://ddweerasiri.blogspot.com*<http://ddweerasiri.blogspot.com/>
>>>>> *
>>>>> twitter: **http://twitter.com/ddweerasiri*<http://twitter.com/ddweerasiri>
>>>>> *
>>>>> linked-in: 
>>>>> **http://lk.linkedin.com/in/ddweerasiri*<http://lk.linkedin.com/in/ddweerasiri>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Carbon-dev mailing list
>>>>> Carbon-dev@wso2.org
>>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>> Thanks,
>>> Denis
>>> ----------------------------------------------------------
>>> *Denis Weerasiri*
>>> Software Engineer; WSO2 Inc.; http://wso2.com,
>>> *email: denis <http://goog_277208233/>** [AT] wso2.com*<http://wso2.com/>
>>> *
>>> blog: **http://ddweerasiri.blogspot.com*<http://ddweerasiri.blogspot.com/>
>>> *
>>> twitter: **http://twitter.com/ddweerasiri*<http://twitter.com/ddweerasiri>
>>> *
>>> linked-in: 
>>> **http://lk.linkedin.com/in/ddweerasiri*<http://lk.linkedin.com/in/ddweerasiri>
>>>
>>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Harshana Martin
> Software Engineer
> WSO2 Inc.
> Web:http://wso2.com
>           http://wso2.org
>
> Mobile: +94 716062650
> Blog: http://harshana05.blogspot.com
> Profile: https://www.google.com/profiles/harshana05
> Twitter: http://twitter.com/harshana05
>
>
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to