On Sun, Feb 6, 2011 at 9:19 AM, Afkham Azeez <[email protected]> wrote: > Yeah, probably the tests. The derby.home env var has not been properly > set. The reason for failures in other components should also be local > source files without license headers. >
+1. We discussed this back sometime earlier in this list [1]. Adding those unlicensed files to the excludes list of RAT seems to fix the issue. [1] "Too many unapproved licenses exception (by RAT) while building dependencies/axiom" - http://old.nabble.com/Too-many-unapproved-licenses-exception-%28by-RAT%29-while-building-dependencies-axiom-td29969793.html Regards, Pradeeban. > > Azeez > > On Sun, Feb 6, 2011 at 9:13 AM, Senaka Fernando <[email protected]> wrote: > > 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 <[email protected]> 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 <[email protected]> wrote: > >> > Does this help > >> > http://www.mail-archive.com/[email protected]/msg17663.html > >> > ? > >> > > >> > On Sun, Feb 6, 2011 at 8:36 AM, Isuru Suriarachchi <[email protected]> > >> > wrote: > >> >> > >> >> > >> >> On Sun, Feb 6, 2011 at 8:30 AM, Afkham Azeez <[email protected]> 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: [email protected] cell: +94 77 3320919 <+94773320919> > >> >>> 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 > >> >>> [email protected] > >> >>> 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 : [email protected] > >> >> blog : http://isurues.wordpress.com/ > >> >> > >> >> lean . enterprise . middleware > >> >> > >> >> > >> >> _______________________________________________ > >> >> 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 <+94773320919> > >> > 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: [email protected] cell: +94 77 3320919 <+94773320919> > >> 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 > >> [email protected] > >> 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 <+14087547388>; ext: 51736; M: +94 77 322 > > 1818<+94773221818> > > Linked-In: http://www.linkedin.com/in/senakafernando > > > > Lean . Enterprise . Middleware > > > > > > _______________________________________________ > > 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 <+94773320919> > 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 > [email protected] > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > -- Kathiravelu Pradeeban. Software Engineer. WSO2 Inc. Blog: [Llovizna] http://kkpradeeban.blogspot.com/
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
