On Tue, Apr 5, 2011 at 12:31 AM, Harshana Martin <[email protected]> wrote:
> Hi Sameera, > > On Tue, Apr 5, 2011 at 12:27 AM, Sameera Jayasoma <[email protected]>wrote: > >> >> >> On Tue, Apr 5, 2011 at 12:25 AM, Harshana Martin <[email protected]>wrote: >> >>> >>> >>> On Tue, Apr 5, 2011 at 12:20 AM, Tharindu Mathew <[email protected]>wrote: >>> >>>> >>>> >>>> On Tue, Apr 5, 2011 at 12:00 AM, Harshana Martin <[email protected]>wrote: >>>> >>>>> >>>>> >>>>> On Mon, Apr 4, 2011 at 11:29 PM, Tharindu Mathew <[email protected]>wrote: >>>>> >>>>>> >>>>>> >>>>>> On Mon, Apr 4, 2011 at 11:25 PM, Harshana Martin >>>>>> <[email protected]>wrote: >>>>>> >>>>>>> Hi Tharindu, >>>>>>> >>>>>>> On Mon, Apr 4, 2011 at 11:05 PM, Tharindu Mathew >>>>>>> <[email protected]>wrote: >>>>>>> >>>>>>>> Harshana, >>>>>>>> >>>>>>>> Are you doing these builds on a clean repo? >>>>>>>> >>>>>>> >>>>>>> Right now I have cleaned "org/wso2" from my .m2 and building trunk. >>>>>>> Therefore only dependencies available. No components/features or >>>>>>> products >>>>>>> already available in the .m2. >>>>>>> >>>>>>> Then I'm sure you won't encounter the problem. You need to have built >>>>>> artifacts in the repo to see the impact of building without cleaning. >>>>>> That's >>>>>> when things start to become inconsistent. >>>>>> >>>>> >>>>> Well. I'm sure the factor of having a clean repo or not, will not have >>>>> any impact for this case. Even though i use mvn clean install, then the >>>>> inconsistency would occur. Because clean does not involve in any thing >>>>> related to the local maven repo. clean only deals with the existing target >>>>> in the currently building module. Therefore having a clean repo or not >>>>> won't >>>>> make any difference to the problem. >>>>> >>>>> If there is such a problem, that because of a different reason and we >>>>> need to pay attention to that as well. >>>>> >>>> >>>> I assumed just as you have deleted org/wso2, you are operating on a >>>> source tree with no built targets. Probably I wasn't clear because I didn't >>>> mention this. When I said you need to have built artifacts in the repo, >>>> that >>>> also meant there were built artifacts in target directories as well. >>>> >>> >>> Ok. In that case, i've deleted org/wso2 but did not clean the targets :). >>> >> >> Guys, I thinks it is time to stop moving in this direction of cleaning >> repos. This issue occurs due to some other problem. Please refer to my >> previous mail. >> > > Did you figure it out what is responsible for this problem? > Yes. Specially in p2-profile-gen modules we keep some temporary directories. This is because all the logs files are generated inside these temp directories. Therefore we simply cannot delete them. In the event of failure, we need to check these log files for error logs. But we need to clean these temp directories before the next build cycle. This can be achieved by adding the maven-clean-plugin to the initialize phase. Please test this and let me know. Thanks, Sameera > > Thanks and Regards, > Harshana > >> >> Sameera >> >>> >>> Thanks and Regards, >>> Harshana >>> >>>> >>>>> Thanks and Regards, >>>>> Harshana >>>>> >>>>> Thanks and Regards, >>>>>>> Harshana >>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Mon, Apr 4, 2011 at 10:53 PM, Harshana Martin <[email protected] >>>>>>>> > wrote: >>>>>>>> >>>>>>>>> Hi Hasini, >>>>>>>>> >>>>>>>>> On Mon, Apr 4, 2011 at 10:25 PM, Hasini Gunasinghe < >>>>>>>>> [email protected]> wrote: >>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Mon, Apr 4, 2011 at 9:55 PM, Harshana Martin < >>>>>>>>>> [email protected]> wrote: >>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Mon, Apr 4, 2011 at 7:34 PM, Pradeep Fernando < >>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>> >>>>>>>>>>>> hi, >>>>>>>>>>>> >>>>>>>>>>>> On Mon, Apr 4, 2011 at 7:16 PM, Supun Kamburugamuva < >>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>> > The build is not complete. It complains about missing >>>>>>>>>>>> contrains from bundles >>>>>>>>>>>> > like commons-logging, commons-io etc. It seems that the >>>>>>>>>>>> bundles.info is not >>>>>>>>>>>> > generated properly. You can simply build the carbon core >>>>>>>>>>>> without clean and >>>>>>>>>>>> > carbon core won't start. >>>>>>>>>>>> >>>>>>>>>>>> yes, I have observed the behaviour for a while. Every time i >>>>>>>>>>>> encounter >>>>>>>>>>>> the partial bundle.info there is a common pattern. the people >>>>>>>>>>>> have >>>>>>>>>>>> used mvn install. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>>> It is affecting the p2.inf resouce copying as well. >>>>>>>>>>>> I'm not 100% sure though. >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> AFAIK, this was only affecting IS initially and it was due to >>>>>>>>>>> some unexplainable p2.inf settings for overwrite property. But >>>>>>>>>>> right now it >>>>>>>>>>> has migrated to other products via a config file >>>>>>>>>>> cloud-services-desc.xml. >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> I too got the issue mentioned by Pradeep. It is not the p2.inf >>>>>>>>>> issue. >>>>>>>>>> When I build the product locally, without clean, it builds fine >>>>>>>>>> without any error, but when I start the server, it is started with >>>>>>>>>> only >>>>>>>>>> carbon core server with some errors at start up. Product specific >>>>>>>>>> things are >>>>>>>>>> not installed.. like product specific ui styles, features etc.. >>>>>>>>>> >>>>>>>>> >>>>>>>>> Yes. IIRC there were several complaints for the same issue for >>>>>>>>> App-Server, CEP. Therefore i build them in my local machine without >>>>>>>>> clean >>>>>>>>> and tried to start the products. And I was able to do it without any >>>>>>>>> problem >>>>>>>>> as I have mentioned. They has everything they needed. I deployed >>>>>>>>> several >>>>>>>>> axis2 services and tested as well. CEP server also contained the CEP >>>>>>>>> features. So I'm not so sure what is happening here :). >>>>>>>>> >>>>>>>>> Thanks and Regards, >>>>>>>>> Harshana >>>>>>>>> >>>>>>>>>> I am not sure what is the exact relationship between not running >>>>>>>>>> clean and this issue. But when built with clean, the issue is not >>>>>>>>>> encountered. >>>>>>>>>> Anyway, I guess this wont be an issue now, since in builder >>>>>>>>>> machine, build happens at product level with mvn clean. >>>>>>>>>> >>>>>>>>>> Thanks, >>>>>>>>>> Hasini. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>>> Thanks and Regards, >>>>>>>>>>> Harshana >>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> --Pradeep >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> > Thanks, >>>>>>>>>>>> > Supun.. >>>>>>>>>>>> > >>>>>>>>>>>> > On Mon, Apr 4, 2011 at 7:13 PM, Afkham Azeez <[email protected]> >>>>>>>>>>>> wrote: >>>>>>>>>>>> >> >>>>>>>>>>>> >> What is the error you are seeing? >>>>>>>>>>>> >> >>>>>>>>>>>> >> On Mon, Apr 4, 2011 at 7:06 PM, Supun Kamburugamuva < >>>>>>>>>>>> [email protected]> >>>>>>>>>>>> >> wrote: >>>>>>>>>>>> >>> >>>>>>>>>>>> >>> If you build the carbon core without clean the product won't >>>>>>>>>>>> start. >>>>>>>>>>>> >>> >>>>>>>>>>>> >>> Thanks, >>>>>>>>>>>> >>> -- >>>>>>>>>>>> >>> Supun Kamburugamuva >>>>>>>>>>>> >>> Technical Lead & Product Manager, WSO2 Inc.; >>>>>>>>>>>> http://wso2.com >>>>>>>>>>>> >>> Member, Apache Software Foundation; http://www.apache.org >>>>>>>>>>>> >>> WSO2 Inc.; http://wso2.org >>>>>>>>>>>> >>> E-mail: [email protected]; Mobile: +94 77 431 3585 >>>>>>>>>>>> >>> Blog: http://supunk.blogspot.com >>>>>>>>>>>> >>> >>>>>>>>>>>> >>> >>>>>>>>>>>> >>> _______________________________________________ >>>>>>>>>>>> >>> Carbon-dev mailing list >>>>>>>>>>>> >>> [email protected] >>>>>>>>>>>> >>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>>>>>>>>>> >>> >>>>>>>>>>>> >> >>>>>>>>>>>> >> >>>>>>>>>>>> >> >>>>>>>>>>>> >> -- >>>>>>>>>>>> >> Afkham Azeez >>>>>>>>>>>> >> Senior Software Architect & Senior Manager; WSO2, Inc.; >>>>>>>>>>>> http://wso2.com, >>>>>>>>>>>> >> >>>>>>>>>>>> >> Member; Apache Software Foundation; http://www.apache.org/ >>>>>>>>>>>> >> email: [email protected] cell: +94 77 3320919 >>>>>>>>>>>> >> blog: http://blog.afkham.org >>>>>>>>>>>> >> twitter: http://twitter.com/afkham_azeez >>>>>>>>>>>> >> linked-in: http://lk.linkedin.com/in/afkhamazeez >>>>>>>>>>>> >> >>>>>>>>>>>> >> Lean . Enterprise . Middleware >>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>>> > -- >>>>>>>>>>>> > Supun Kamburugamuva >>>>>>>>>>>> > Technical Lead & Product Manager, WSO2 Inc.; http://wso2.com >>>>>>>>>>>> > Member, Apache Software Foundation; http://www.apache.org >>>>>>>>>>>> > WSO2 Inc.; http://wso2.org >>>>>>>>>>>> > E-mail: [email protected]; Mobile: +94 77 431 3585 >>>>>>>>>>>> > Blog: http://supunk.blogspot.com >>>>>>>>>>>> > >>>>>>>>>>>> > _______________________________________________ >>>>>>>>>>>> > Carbon-dev mailing list >>>>>>>>>>>> > [email protected] >>>>>>>>>>>> > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> Pradeep Fernando >>>>>>>>>>>> Software Engineer >>>>>>>>>>>> WSO2 Inc; http://wso2.com/ >>>>>>>>>>>> >>>>>>>>>>>> blog: http://pradeepfernando.blogspot.com/ >>>>>>>>>>>> m: +94776603662 >>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>> Carbon-dev mailing list >>>>>>>>>>>> [email protected] >>>>>>>>>>>> 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 >>>>>>>>>>> [email protected] >>>>>>>>>>> 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 >>>>>>>>> [email protected] >>>>>>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Regards, >>>>>>>> >>>>>>>> Tharindu >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> 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 >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Regards, >>>>>> >>>>>> Tharindu >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> 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 >>>>> >>>>> >>>> >>>> >>>> -- >>>> Regards, >>>> >>>> Tharindu >>>> >>>> >>> >>> >>> -- >>> 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 >>> [email protected] >>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> >>> >> >> >> -- >> Sameera Jayasoma >> Technical Lead and Product Manager, WSO2 Carbon >> >> WSO2, Inc. (http://wso2.com) >> email: [email protected] >> blog: http://tech.jayasoma.org >> >> Lean . Enterprise . Middleware >> > > > > -- > 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 > > -- Sameera Jayasoma Technical Lead and Product Manager, WSO2 Carbon WSO2, Inc. (http://wso2.com) email: [email protected] blog: http://tech.jayasoma.org Lean . Enterprise . Middleware
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
