On Tue, Nov 30, 2010 at 11:54 AM, Pradeep Fernando <[email protected]> wrote:

> On Tue, Nov 30, 2010 at 11:48 AM, Sumedha Rubasinghe <[email protected]>
> wrote:
> > On Tue, Nov 30, 2010 at 9:51 AM, Pradeep Fernando <[email protected]>
> wrote:
> >> On Tue, Nov 30, 2010 at 9:19 AM, Senaka Fernando <[email protected]>
> wrote:
> >>> Please revert the changes done to registry core in r83046, which seems
> to be
> >>> unnecessary.
> >> necessary dependencies were added.
> >
> > Does adding dependencies mean we are still having those package names?
> >
>
> yes, registry core uses findbugs annotations. hence we have the
> dependencies to the packages.
>

Not really, until the very first time a class is accessed, java does not
load it. Since we don't use these classes @ runtime, we don't need to add
any dependencies.

But, unfortunately a 3rd-party component that we use (which also depends on
the same jar) - OpenSaml2 IIRC, needs this. We have confused ourselves that
those errors have resulted due to adding FindBugs annotations.

Thanks,
Senaka.

>
> --Pradeep
>
> > /sumedha
> >>
> >> --Pradeep
> >>
> >>>
> >>> Thanks,
> >>> Senaka.
> >>>
> >>> On Tue, Nov 30, 2010 at 9:11 AM, Senaka Fernando <[email protected]>
> wrote:
> >>>>
> >>>> Hi Pradeep,
> >>>>
> >>>> I thought that we discussed not to make any changes to the poms wrt to
> the
> >>>> FindBugs dependencies, as it was not related to the issue that we saw
> in
> >>>> AppServers. But, it seems that this got committed for some reason, and
> hence
> >>>> these build failures. Can you please have a look and sort this out?
> >>>>
> >>>> Thanks,
> >>>> Senaka.
> >>>>
> >>>> On Tue, Nov 30, 2010 at 5:16 AM, Samisa Abeysinghe <[email protected]>
> >>>> wrote:
> >>>>>
> >>>>> [INFO] Compiling 23 source files to
> >>>>>
> /home/carbon/stratos/carbon/components/registry/org.wso2.carbon.registry.common/3.1.0/target/classes
> >>>>>>
> >>>>>> [INFO]
> >>>>>>
> ------------------------------------------------------------------------
> >>>>>> [ERROR] BUILD FAILURE
> >>>>>> [INFO]
> >>>>>>
> ------------------------------------------------------------------------
> >>>>>> [INFO] Compilation failure
> >>>>>>
> >>>>>>
> >>>>>>
> /home/carbon/stratos/carbon/components/registry/org.wso2.carbon.registry.common/3.1.0/src/main/java/org/wso2/carbon/registry/common/beans/EventTypeBean.java:[19,38]
> >>>>>> package edu.umd.cs.findbugs.annotations does not exist
> >>>>>>
> >>>>>>
> >>>>>>
> /home/carbon/stratos/carbon/components/registry/org.wso2.carbon.registry.common/3.1.0/src/main/java/org/wso2/carbon/registry/common/beans/ActivityBean.java:[19,38]
> >>>>>> package edu.umd.cs.findbugs.annotations does not exist
> >>>>>>
> >>>>>>
> >>>>>>
> /home/carbon/stratos/carbon/components/registry/org.wso2.carbon.registry.common/3.1.0/src/main/java/org/wso2/carbon/registry/common/ResourceData.java:[19,38]
> >>>>>> package edu.umd.cs.findbugs.annotations does not exist
> >>>>>>
> >>>>>>
> >>>>>>
> /home/carbon/stratos/carbon/components/registry/org.wso2.carbon.registry.common/3.1.0/src/main/java/org/wso2/carbon/registry/common/beans/RatingBean.java:[19,38]
> >>>>>> package edu.umd.cs.findbugs.annotations does not exist
> >>>>>>
> >>>>>>
> >>>>>>
> /home/carbon/stratos/carbon/components/registry/org.wso2.carbon.registry.common/3.1.0/src/main/java/org/wso2/carbon/registry/common/beans/SubscriptionBean.java:[19,38]
> >>>>>> package edu.umd.cs.findbugs.annotations does not exist
> >>>>>>
> >>>>>>
> >>>>>>
> /home/carbon/stratos/carbon/components/registry/org.wso2.carbon.registry.common/3.1.0/src/main/java/org/wso2/carbon/registry/common/beans/TagBean.java:[19,38]
> >>>>>> package edu.umd.cs.findbugs.annotations does not exist
> >>>>>>
> >>>>>>
> >>>>>>
> /home/carbon/stratos/carbon/components/registry/org.wso2.carbon.registry.common/3.1.0/src/main/java/org/wso2/carbon/registry/common/beans/CommentBean.java:[19,38]
> >>>>>> package edu.umd.cs.findbugs.annotations does not exist
> >>>>>>
> >>>>>>
> >>>>>
> >>>>> --
> >>>>> Thanks,
> >>>>> Samisa...
> >>>>>
> >>>>> Samisa Abeysinghe
> >>>>> VP Engineering
> >>>>> WSO2 Inc.
> >>>>> http://wso2.com
> >>>>> http://wso2.org
> >>>>>
> >>>>>
> >>>>> _______________________________________________
> >>>>> Carbon-dev mailing list
> >>>>> [email protected]
> >>>>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> Senaka Fernando
> >>>> Associate Technical Lead & Product Manager - WSO2 G-Reg;
> >>>> WSO2, Inc.; http://wso2.com
> >>>> Member; Apache Software Foundation; http://apache.org
> >>>>
> >>>> E-mail: senaka AT wso2.com
> >>>> P: +1 408 754 7388; ext: 51736; M: +94 77 322 1818
> >>>> Linked-In: http://www.linkedin.com/in/senakafernando
> >>>>
> >>>> Lean . Enterprise . Middleware
> >>>>
> >>>
> >>>
> >>>
> >>> --
> >>> Senaka Fernando
> >>> Associate Technical Lead & Product Manager - WSO2 G-Reg;
> >>> WSO2, Inc.; http://wso2.com
> >>> Member; Apache Software Foundation; http://apache.org
> >>>
> >>> E-mail: senaka AT wso2.com
> >>> P: +1 408 754 7388; ext: 51736; M: +94 77 322 1818
> >>> Linked-In: http://www.linkedin.com/in/senakafernando
> >>>
> >>> Lean . Enterprise . Middleware
> >>>
> >>>
> >>
> >>
> >>
> >> --
> >> Pradeep Fernando
> >> Software Engineer
> >> WSO2 Inc; http://wso2.com/
> >>
> >> blog: http://pradeepfernando.blogspot.com/
> >> m: +94776603662
> >>
> >> _______________________________________________
> >> Carbon-dev mailing list
> >> [email protected]
> >> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >>
> >
> > _______________________________________________
> > Carbon-dev mailing list
> > [email protected]
> > https://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]
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>



-- 
*Senaka Fernando*
Associate Technical Lead & Product Manager - WSO2 G-Reg;
WSO2, Inc.; http://wso2.com*
Member; Apache Software Foundation; http://apache.org

E-mail: senaka AT wso2.com
**P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
Linked-In: http://www.linkedin.com/in/senakafernando

*Lean . Enterprise . Middleware
_______________________________________________
Carbon-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to