Hi Azeez,

This log file was dangling in your local copy but is not in SVN, I wonder
what generated this in the first place. Could it be the tests? If so, that
needs to be fixed.

Thanks,
Senaka.

On Sun, Feb 6, 2011 at 9:02 AM, Afkham Azeez <az...@wso2.com> wrote:

> OK, so I found the root cause for these Rat errors. Let me explain
> with the sadesha build failure example:
>
> When I did an svn stat, here is what I got when I did an svn stat:
>
> azeez@xps:~/projects/wso2/svn.wso2.org/trunk/carbon/dependencies/sandesha$
> svn stat
> ?       modules/persistence/derby.log
>
>
> So, there was a file, derby.log which is in the source path, but
> without any license headers. Similarly, if you have an IDE specific
> files such as .classpath, *.iml etc, you will see this error, even if
> all your other source files have proper license headers. The solution
> is to properly cleanup your project directories before running the
> build. So in my case, I deleted derby.log, and was able to get the
> build to succeed.
>
> Azeez
>
> On Sun, Feb 6, 2011 at 8:51 AM, Afkham Azeez <az...@wso2.com> wrote:
> > Does this help
> http://www.mail-archive.com/dev@jackrabbit.apache.org/msg17663.html
> > ?
> >
> > On Sun, Feb 6, 2011 at 8:36 AM, Isuru Suriarachchi <is...@wso2.com>
> wrote:
> >>
> >>
> >> On Sun, Feb 6, 2011 at 8:30 AM, Afkham Azeez <az...@wso2.com> wrote:
> >>>
> >>> I'm getting this when I build dependencies:
> >>>
> >>> [INFO] Building jar:
> >>>
> >>> /home/azeez/projects/wso2/
> svn.wso2.org/trunk/carbon/dependencies/sandesha/modules/persistence/target/sandesha2-persistence-SNAPSHOT.jar
> >>> [INFO] [apache-rat:check {execution: default}]
> >>> [INFO] Exclude: dependency-reduced-pom.xml
> >>> [INFO]
> >>>
> ------------------------------------------------------------------------
> >>> [ERROR] BUILD FAILURE
> >>> [INFO]
> >>>
> ------------------------------------------------------------------------
> >>> [INFO] Too many unapproved licenses: 1
> >>> [INFO]
> >>>
> ------------------------------------------------------------------------
> >>>
> >>>
> >>> What is the procedure we've been following for getting rid of this?
> >>
> >> I don't think we've got a proper solution for this. Most of us have
> locally
> >> commented the RAT plugin. But that is not a proper solution.
> >>
> >> Thanks,
> >> ~Isuru
> >>
> >>>
> >>> --
> >>> Afkham Azeez
> >>> Senior Software Architect & Senior Manager; WSO2, Inc.;
> http://wso2.com,
> >>>
> >>> Member; Apache Software Foundation; http://www.apache.org/
> >>> email: az...@wso2.com 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
> >>> _______________________________________________
> >>> Carbon-dev mailing list
> >>> Carbon-dev@wso2.org
> >>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >>
> >>
> >>
> >> --
> >> Isuru Suriarachchi
> >> Technical Lead & Product Manager, WSO2 Application Server
> >> WSO2 Inc. http://wso2.com
> >> email : is...@wso2.com
> >> blog : http://isurues.wordpress.com/
> >>
> >> lean . enterprise . middleware
> >>
> >>
> >> _______________________________________________
> >> Carbon-dev mailing list
> >> Carbon-dev@wso2.org
> >> 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: az...@wso2.com 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
> >
>
>
>
> --
> Afkham Azeez
> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
>
> Member; Apache Software Foundation; http://www.apache.org/
> email: az...@wso2.com cell: +94 77 3320919
> blog: http://blog.afkham.org
> twitter: http://twitter.com/afkham_azeez
> linked-in <http://twitter.com/afkham_azeez%0Alinked-in>:
> http://lk.linkedin.com/in/afkhamazeez
>
> Lean . Enterprise . Middleware
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>



-- 
*Senaka Fernando*
Product Manager - WSO2 Governance Registry;
Associate Technical Lead; 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
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to