You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(49) |
Sep
(134) |
Oct
(33) |
Nov
(18) |
Dec
(51) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(50) |
Feb
(32) |
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(3) |
Dec
|
2008 |
Jan
|
Feb
|
Mar
(9) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
(1) |
Feb
(4) |
Mar
(8) |
Apr
(4) |
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
2010 |
Jan
(1) |
Feb
|
Mar
(54) |
Apr
(21) |
May
(13) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(9) |
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
(13) |
Sep
|
Oct
|
Nov
|
Dec
|
From: <ma...@us...> - 2010-04-14 11:12:26
|
Revision: 346 http://objectlabkit.svn.sourceforge.net/objectlabkit/?rev=346&view=rev Author: marchy Date: 2010-04-14 11:12:20 +0000 (Wed, 14 Apr 2010) Log Message: ----------- fixed empty surefire report in sub-modules. Modified Paths: -------------- trunk/pom.xml Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2010-04-13 14:07:43 UTC (rev 345) +++ trunk/pom.xml 2010-04-14 11:12:20 UTC (rev 346) @@ -173,7 +173,7 @@ <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <site.deploy.url>file:///tmp/site</site.deploy.url> + <site.deploy.url>file:///tmp/site</site.deploy.url> </properties> <profiles> @@ -293,6 +293,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-report-plugin</artifactId> + <inherited>false</inherited> <configuration> <aggregate>true</aggregate> </configuration> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2010-04-13 14:07:49
|
Revision: 345 http://objectlabkit.svn.sourceforge.net/objectlabkit/?rev=345&view=rev Author: marchy Date: 2010-04-13 14:07:43 +0000 (Tue, 13 Apr 2010) Log Message: ----------- formatting Modified Paths: -------------- trunk/src/site/xdoc/index.xml Modified: trunk/src/site/xdoc/index.xml =================================================================== --- trunk/src/site/xdoc/index.xml 2010-04-13 14:06:24 UTC (rev 344) +++ trunk/src/site/xdoc/index.xml 2010-04-13 14:07:43 UTC (rev 345) @@ -1,15 +1,13 @@ <document> + <properties> <author email="ki...@ob...">Benoit Xhenseval</author> <title>Introduction</title> </properties> + <head> - <meta name="description" - content="ObjectLab Kit offers free and open source Date calculators, released under the business-friendly Apache 2.0 license." - /> - - <meta name="keywords" - content="Date calculator, IMM Dates, Period Calculator, Financial Calendar, Business Calendar, java, open source" /> + <meta name="description" content="ObjectLab Kit offers free and open source Date calculators, released under the business-friendly Apache 2.0 license." /> + <meta name="keywords" content="Date calculator, IMM Dates, Period Calculator, Financial Calendar, Business Calendar, java, open source" /> <meta name="Subject" content="Date Calculators" /> <meta name="Copyright" content="ObjectLab Financial Ltd" /> <meta name="Language" content="English" /> @@ -18,8 +16,9 @@ <meta name="robots" content="ALL"/> <meta name="Revisit-After" content="20 Days" /> </head> + <body> - <!-- The body of the document contains a number of sections --> + <section name="Quick News"> <p style="margin-top:10px; margin-bottom:0; padding-bottom:0; text-align:center; line-height:0"><a href="http://feeds.feedburner.com/~r/ObjectlabOpenSourceNews/~6/1"><img src="http://feeds.feedburner.com/ObjectlabOpenSourceNews.1.gif" alt="ObjectLab Open Source News" style="border:0"/></a></p> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2010-04-13 14:06:30
|
Revision: 344 http://objectlabkit.svn.sourceforge.net/objectlabkit/?rev=344&view=rev Author: marchy Date: 2010-04-13 14:06:24 +0000 (Tue, 13 Apr 2010) Log Message: ----------- changed email addie to lower case. Modified Paths: -------------- trunk/datecalc-jdk/src/site/xdoc/index.xml trunk/datecalc-joda/src/site/xdoc/index.xml Modified: trunk/datecalc-jdk/src/site/xdoc/index.xml =================================================================== --- trunk/datecalc-jdk/src/site/xdoc/index.xml 2010-04-12 16:13:53 UTC (rev 343) +++ trunk/datecalc-jdk/src/site/xdoc/index.xml 2010-04-13 14:06:24 UTC (rev 344) @@ -1,7 +1,7 @@ <document> <properties> - <author email="Ki...@ob...">Benoit Xhenseval</author> + <author email="ki...@ob...">Benoit Xhenseval</author> <title>DateCalc JDK</title> </properties> Modified: trunk/datecalc-joda/src/site/xdoc/index.xml =================================================================== --- trunk/datecalc-joda/src/site/xdoc/index.xml 2010-04-12 16:13:53 UTC (rev 343) +++ trunk/datecalc-joda/src/site/xdoc/index.xml 2010-04-13 14:06:24 UTC (rev 344) @@ -1,7 +1,7 @@ <document> <properties> - <author email="Ki...@ob...">Benoit Xhenseval</author> + <author email="ki...@ob...">Benoit Xhenseval</author> <title>DateCalc JODA</title> </properties> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2010-04-12 16:13:59
|
Revision: 343 http://objectlabkit.svn.sourceforge.net/objectlabkit/?rev=343&view=rev Author: marchy Date: 2010-04-12 16:13:53 +0000 (Mon, 12 Apr 2010) Log Message: ----------- formatting, and Project Report links. Modified Paths: -------------- trunk/datecalc-common/src/site/xdoc/index.xml trunk/datecalc-jdk/src/site/xdoc/index.xml trunk/datecalc-joda/src/site/xdoc/index.xml Modified: trunk/datecalc-common/src/site/xdoc/index.xml =================================================================== --- trunk/datecalc-common/src/site/xdoc/index.xml 2010-04-12 16:09:34 UTC (rev 342) +++ trunk/datecalc-common/src/site/xdoc/index.xml 2010-04-12 16:13:53 UTC (rev 343) @@ -1,15 +1,13 @@ <document> + <properties> <author email="ki...@ob...">Benoit Xhenseval</author> - <title>DateCalc Common Introduction</title> + <title>DateCalc Common</title> </properties> + <head> - <meta name="description" - content="ObjectLab Kit offers free and open source Date calculators, released under the business-friendly Apache 2.0 license." - /> - - <meta name="keywords" - content="Date calculator, IMM Dates, Period Calculator, Financial Calendar, Business Calendar, java, open source" /> + <meta name="description" content="ObjectLab Kit offers free and open source Date calculators, released under the business-friendly Apache 2.0 license."/> + <meta name="keywords" content="Date calculator, IMM Dates, Period Calculator, Financial Calendar, Business Calendar, java, open source" /> <meta name="Subject" content="Date Calculators" /> <meta name="Copyright" content="ObjectLab Financial Ltd" /> <meta name="Language" content="English" /> @@ -18,14 +16,15 @@ <meta name="robots" content="ALL"/> <meta name="Revisit-After" content="20 Days" /> </head> + <body> - <!-- The body of the document contains a number of sections --> + <section name="DateCalc Common Introduction"> - - <p>DateCalc Common defines the common functionalities (implementation using some generics).</p> - <p>Check out the <a href="../apidocs/index.html?net/objectlab/kit/datecalc/common/package-summary.html">UML diagrams and JavaDocs here</a>.</p> - <p>Also look at the <a href="project-reports.html">Project Reports</a> menu on the left for project specific items, unit tests, QA etc.</p> + <p>DateCalc Common defines the common functionalities (implementation using some generics).</p> + <p>Check out the <a href="../apidocs/index.html?net/objectlab/kit/datecalc/common/package-summary.html">UML diagrams and JavaDocs here</a>.</p> + <p>Also, take a look at this module's <a href="project-reports.html">Project Reports</a> menu on the left, and the aggregated <a href="../project-reports.html">Project Reports</a>.</p> </section> - + </body> + </document> \ No newline at end of file Modified: trunk/datecalc-jdk/src/site/xdoc/index.xml =================================================================== --- trunk/datecalc-jdk/src/site/xdoc/index.xml 2010-04-12 16:09:34 UTC (rev 342) +++ trunk/datecalc-jdk/src/site/xdoc/index.xml 2010-04-12 16:13:53 UTC (rev 343) @@ -1,15 +1,13 @@ <document> + <properties> <author email="Ki...@ob...">Benoit Xhenseval</author> - <title>DateCalc JDK Intro</title> + <title>DateCalc JDK</title> </properties> + <head> - <meta name="description" - content="ObjectLab Kit offers free and open source Date calculators, released under the business-friendly Apache 2.0 license." - /> - - <meta name="keywords" - content="Date calculator, IMM Dates, Period Calculator, Financial Calendar, Business Calendar, java, open source" /> + <meta name="description" content="ObjectLab Kit offers free and open source Date calculators, released under the business-friendly Apache 2.0 license."/> + <meta name="keywords" content="Date calculator, IMM Dates, Period Calculator, Financial Calendar, Business Calendar, java, open source" /> <meta name="Subject" content="Date Calculators" /> <meta name="Copyright" content="ObjectLab Financial Ltd" /> <meta name="Language" content="English" /> @@ -18,15 +16,16 @@ <meta name="robots" content="ALL"/> <meta name="Revisit-After" content="20 Days" /> </head> + <body> - <!-- The body of the document contains a number of sections --> + <section name="DateCalc JDK Introduction"> - - <p>DateCalc JDK provides a pure Java implementation, without any dependencies.</p> - <p>So if your requirements are to not have further dependencies, namely on Joda-Time, use this module. Otherwise, we encourage you to use the Joda implementation - it's faster and more robust.</p> - <p>Check out the <a href="../apidocs/index.html?net/objectlab/kit/datecalc/jdk/package-summary.html">UML diagrams and JavaDocs here</a>.</p> - <p>Also look at the <a href="../project-reports.html">Project Reports</a> menu on the left for project specific items, unit tests, QA etc.</p> + <p>DateCalc JDK provides a pure Java implementation, without any dependencies.</p> + <p>So if your requirements are to not have further dependencies, namely on Joda Time, use this module. Otherwise, we encourage you to use the Joda implementation - it's faster and more robust.</p> + <p>Check out the <a href="../apidocs/index.html?net/objectlab/kit/datecalc/jdk/package-summary.html">UML diagrams and JavaDocs here</a>.</p> + <p>Also, take a look at this module's <a href="project-reports.html">Project Reports</a> menu on the left, and the aggregated <a href="../project-reports.html">Project Reports</a>.</p> </section> - + </body> + </document> \ No newline at end of file Modified: trunk/datecalc-joda/src/site/xdoc/index.xml =================================================================== --- trunk/datecalc-joda/src/site/xdoc/index.xml 2010-04-12 16:09:34 UTC (rev 342) +++ trunk/datecalc-joda/src/site/xdoc/index.xml 2010-04-12 16:13:53 UTC (rev 343) @@ -1,15 +1,13 @@ <document> + <properties> <author email="Ki...@ob...">Benoit Xhenseval</author> - <title>DateCalc JODA Intro</title> + <title>DateCalc JODA</title> </properties> + <head> - <meta name="description" - content="ObjectLab Kit offers free and open source Date calculators, released under the business-friendly Apache 2.0 license." - /> - - <meta name="keywords" - content="Date calculator, IMM Dates, Period Calculator, Financial Calendar, Business Calendar, java, open source" /> + <meta name="description" content="ObjectLab Kit offers free and open source Date calculators, released under the business-friendly Apache 2.0 license."/> + <meta name="keywords" content="Date calculator, IMM Dates, Period Calculator, Financial Calendar, Business Calendar, java, open source" /> <meta name="Subject" content="Date Calculators" /> <meta name="Copyright" content="ObjectLab Financial Ltd" /> <meta name="Language" content="English" /> @@ -18,15 +16,18 @@ <meta name="robots" content="ALL"/> <meta name="Revisit-After" content="20 Days" /> </head> + <body> - <!-- The body of the document contains a number of sections --> + <section name="DateCalc JODA Introduction"> - - <p>DateCalc Joda provides an implementation based on <a href="http://joda-time.sourceforge.net">Joda Time</a>.</p> - <p>Check out the <a href="../apidocs/index.html?net/objectlab/kit/datecalc/joda/package-summary.html">UML diagrams and JavaDocs here</a>.</p> - <p>Also look at the <a href="project-reports.html">Project Reports</a> menu on the left for project specific items, unit tests, QA etc.</p> - <p>Finally, this jar requires Joda time 1.3+, the website is <a href="http://joda-time.sourceforge.net">here</a>.</p> + <p> + DateCalc Joda provides an implementation based on <a href="http://joda-time.sourceforge.net">Joda Time.</a> + It requires Joda Time 1.3+, the website is: <a href="http://joda-time.sourceforge.net">http://joda-time.sourceforge.net</a>. + </p> + <p>Check out the <a href="../apidocs/index.html?net/objectlab/kit/datecalc/joda/package-summary.html">UML diagrams and JavaDocs here</a>.</p> + <p>Also, take a look at this module's <a href="project-reports.html">Project Reports</a> menu on the left, and the aggregated <a href="../project-reports.html">Project Reports</a>.</p> </section> </body> + </document> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2010-04-12 16:09:41
|
Revision: 342 http://objectlabkit.svn.sourceforge.net/objectlabkit/?rev=342&view=rev Author: marchy Date: 2010-04-12 16:09:34 +0000 (Mon, 12 Apr 2010) Log Message: ----------- Inherit menu, and add parent module link. Modified Paths: -------------- trunk/datecalc-common/src/site/site.xml trunk/datecalc-jdk/src/site/site.xml trunk/datecalc-joda/src/site/site.xml trunk/src/site/site.xml Modified: trunk/datecalc-common/src/site/site.xml =================================================================== --- trunk/datecalc-common/src/site/site.xml 2010-04-12 16:04:40 UTC (rev 341) +++ trunk/datecalc-common/src/site/site.xml 2010-04-12 16:09:34 UTC (rev 342) @@ -6,16 +6,9 @@ <item name="Common" href="http://objectlabkit.sourceforge.net/datecalc-common/"/> </breadcrumbs> - <menu ref="reports" /> + <menu ref="parent" /> - <menu name="Interesting Projects"> - <item name="QALab" href="http://qalab.sourceforge.net/" /> - <item name="JTreeMap" href="http://jtreemap.sourceforge.net/" /> - <item name="PZFileReader" href="http://pzfilereader.sourceforge.net/" /> - <item name="StatSVN" href="http://www.statsvn.org/" /> - <item name="ObjectLab" href="http://www.objectlab.co.uk" /> - <item name="Joda Time" href="http://joda-time.sourceforge.net" /> - </menu> - + <menu ref="reports" /> + </body> </project> \ No newline at end of file Modified: trunk/datecalc-jdk/src/site/site.xml =================================================================== --- trunk/datecalc-jdk/src/site/site.xml 2010-04-12 16:04:40 UTC (rev 341) +++ trunk/datecalc-jdk/src/site/site.xml 2010-04-12 16:09:34 UTC (rev 342) @@ -6,16 +6,9 @@ <item name="JDK" href="http://objectlabkit.sourceforge.net/datecalc-jdk/"/> </breadcrumbs> + <menu ref="parent" /> + <menu ref="reports" /> - <menu name="Interesting Projects"> - <item name="QALab" href="http://qalab.sourceforge.net/" /> - <item name="JTreeMap" href="http://jtreemap.sourceforge.net/" /> - <item name="PZFileReader" href="http://pzfilereader.sourceforge.net/" /> - <item name="StatSVN" href="http://www.statsvn.org/" /> - <item name="ObjectLab" href="http://www.objectlab.co.uk" /> - <item name="Joda Time" href="http://joda-time.sourceforge.net" /> - </menu> - </body> </project> \ No newline at end of file Modified: trunk/datecalc-joda/src/site/site.xml =================================================================== --- trunk/datecalc-joda/src/site/site.xml 2010-04-12 16:04:40 UTC (rev 341) +++ trunk/datecalc-joda/src/site/site.xml 2010-04-12 16:09:34 UTC (rev 342) @@ -6,15 +6,9 @@ <item name="Joda" href="http://objectlabkit.sourceforge.net/datecalc-joda/"/> </breadcrumbs> + <menu ref="parent" /> + <menu ref="reports" /> - <menu name="Interesting Projects"> - <item name="QALab" href="http://qalab.sourceforge.net/" /> - <item name="JTreeMap" href="http://jtreemap.sourceforge.net/" /> - <item name="PZFileReader" href="http://pzfilereader.sourceforge.net/" /> - <item name="StatSVN" href="http://www.statsvn.org/" /> - <item name="ObjectLab" href="http://www.objectlab.co.uk" /> - <item name="Joda Time" href="http://joda-time.sourceforge.net" /> - </menu> - - </body></project> \ No newline at end of file + </body> +</project> \ No newline at end of file Modified: trunk/src/site/site.xml =================================================================== --- trunk/src/site/site.xml 2010-04-12 16:04:40 UTC (rev 341) +++ trunk/src/site/site.xml 2010-04-12 16:09:34 UTC (rev 342) @@ -57,9 +57,9 @@ </head> <links> - <item name="common" href="datecalc-common/index.html" /> - <item name="jdk" href="datecalc-jdk/index.html" /> - <item name="joda" href="datecalc-joda/index.html" /> + <item name="datecalc-common" href="datecalc-common/index.html" /> + <item name="datecalc-jdk" href="datecalc-jdk/index.html" /> + <item name="datecalc-joda" href="datecalc-joda/index.html" /> <item name="sf.net/projects/objectlabkit" href="https://sourceforge.net/projects/objectlabkit/" /> </links> @@ -82,7 +82,7 @@ <menu ref="reports" /> - <menu name="Interesting Projects"> + <menu name="Interesting Projects" inherit="bottom"> <item name="QALab" href="http://qalab.sourceforge.net/" /> <item name="JTreeMap" href="http://jtreemap.sourceforge.net/" /> <item name="PZFileReader" href="http://pzfilereader.sourceforge.net/" /> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2010-04-12 16:04:47
|
Revision: 341 http://objectlabkit.svn.sourceforge.net/objectlabkit/?rev=341&view=rev Author: marchy Date: 2010-04-12 16:04:40 +0000 (Mon, 12 Apr 2010) Log Message: ----------- fix banner background. Modified Paths: -------------- trunk/datecalc-common/src/site/resources/css/site.css trunk/datecalc-jdk/src/site/resources/css/site.css trunk/datecalc-joda/src/site/resources/css/site.css Modified: trunk/datecalc-common/src/site/resources/css/site.css =================================================================== --- trunk/datecalc-common/src/site/resources/css/site.css 2010-04-11 22:44:12 UTC (rev 340) +++ trunk/datecalc-common/src/site/resources/css/site.css 2010-04-12 16:04:40 UTC (rev 341) @@ -1,6 +1,6 @@ #banner { - background: transparent url(../../images/banner_background.png) repeat scroll 0 0; - height: 69px; + background: transparent url(../../images/banner_background.jpg) repeat scroll 0 0; + height: 80px; } h2 { Modified: trunk/datecalc-jdk/src/site/resources/css/site.css =================================================================== --- trunk/datecalc-jdk/src/site/resources/css/site.css 2010-04-11 22:44:12 UTC (rev 340) +++ trunk/datecalc-jdk/src/site/resources/css/site.css 2010-04-12 16:04:40 UTC (rev 341) @@ -1,6 +1,6 @@ #banner { - background: transparent url(../../images/banner_background.png) repeat scroll 0 0; - height: 69px; + background: transparent url(../../images/banner_background.jpg) repeat scroll 0 0; + height: 80px; } h2 { Modified: trunk/datecalc-joda/src/site/resources/css/site.css =================================================================== --- trunk/datecalc-joda/src/site/resources/css/site.css 2010-04-11 22:44:12 UTC (rev 340) +++ trunk/datecalc-joda/src/site/resources/css/site.css 2010-04-12 16:04:40 UTC (rev 341) @@ -1,6 +1,6 @@ #banner { - background: transparent url(../../images/banner_background.png) repeat scroll 0 0; - height: 69px; + background: transparent url(../../images/banner_background.jpg) repeat scroll 0 0; + height: 80px; } h2 { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2010-04-11 22:44:21
|
Revision: 340 http://objectlabkit.svn.sourceforge.net/objectlabkit/?rev=340&view=rev Author: marchy Date: 2010-04-11 22:44:12 +0000 (Sun, 11 Apr 2010) Log Message: ----------- Pimp my logo - changed Appendium and ObjectLab logos, also rearranged the location of some doc files. Modified Paths: -------------- trunk/src/site/resources/css/site.css trunk/src/site/site.xml Added Paths: ----------- trunk/src/site/ref/docs/ trunk/src/site/ref/docs/DayCountAndAccrualCalc.pdf trunk/src/site/ref/logos/ trunk/src/site/ref/logos/appendium_logo.xcf trunk/src/site/ref/logos/appendium_logo_source.jpg trunk/src/site/ref/logos/banner_background.xcf trunk/src/site/ref/logos/objectlab_logo.xcf trunk/src/site/ref/logos/objectlab_logo_source.bmp trunk/src/site/ref/visio/ trunk/src/site/ref/visio/calendar.vsd trunk/src/site/ref/visio/tenor.vsd trunk/src/site/resources/images/appendium_logo.jpg trunk/src/site/resources/images/banner_background.jpg trunk/src/site/resources/images/objectlab_logo.jpg Removed Paths: ------------- trunk/src/site/ref/DayCountAndAccrualCalc.pdf trunk/src/site/ref/calendar.vsd trunk/src/site/ref/objectlab_logo.bmp trunk/src/site/ref/tenor.vsd trunk/src/site/resources/images/appendium_logo.png trunk/src/site/resources/images/banner_background.png trunk/src/site/resources/images/objectlab_logo.png Deleted: trunk/src/site/ref/DayCountAndAccrualCalc.pdf =================================================================== (Binary files differ) Deleted: trunk/src/site/ref/calendar.vsd =================================================================== (Binary files differ) Copied: trunk/src/site/ref/docs/DayCountAndAccrualCalc.pdf (from rev 338, trunk/src/site/ref/DayCountAndAccrualCalc.pdf) =================================================================== (Binary files differ) Added: trunk/src/site/ref/logos/appendium_logo.xcf =================================================================== --- trunk/src/site/ref/logos/appendium_logo.xcf (rev 0) +++ trunk/src/site/ref/logos/appendium_logo.xcf 2010-04-11 22:44:12 UTC (rev 340) @@ -0,0 +1,131 @@ +gimp xcf file |
From: <be...@us...> - 2010-04-07 21:07:20
|
Revision: 339 http://objectlabkit.svn.sourceforge.net/objectlabkit/?rev=339&view=rev Author: benoitx Date: 2010-04-07 21:07:11 +0000 (Wed, 07 Apr 2010) Log Message: ----------- Improve Utils. Modified Paths: -------------- trunk/utils/src/main/java/net/objectlab/kit/util/StringUtil.java Added Paths: ----------- trunk/utils/src/main/java/net/objectlab/kit/util/Util.java Modified: trunk/utils/src/main/java/net/objectlab/kit/util/StringUtil.java =================================================================== --- trunk/utils/src/main/java/net/objectlab/kit/util/StringUtil.java 2010-03-31 20:25:15 UTC (rev 338) +++ trunk/utils/src/main/java/net/objectlab/kit/util/StringUtil.java 2010-04-07 21:07:11 UTC (rev 339) @@ -510,7 +510,7 @@ final StringBuilder b = new StringBuilder(); b.append(NEW_LINE); final String line = StringUtils.repeat(String.valueOf(boxing), text.length() + 4); - b.append(line); + b.append(line).append(NEW_LINE); b.append(boxing).append(SPACE).append(text).append(SPACE).append(boxing).append(NEW_LINE); b.append(line).append(NEW_LINE); return b.toString(); Added: trunk/utils/src/main/java/net/objectlab/kit/util/Util.java =================================================================== --- trunk/utils/src/main/java/net/objectlab/kit/util/Util.java (rev 0) +++ trunk/utils/src/main/java/net/objectlab/kit/util/Util.java 2010-04-07 21:07:11 UTC (rev 339) @@ -0,0 +1,186 @@ +/* + * ObjectLab, http://www.objectlab.co.uk/open is sponsoring the ObjectLab Kit. + * + * Based in London, we are world leaders in the design and development + * of bespoke applications for the securities financing markets. + * + * <a href="http://www.objectlab.co.uk/open">Click here to learn more</a> + * ___ _ _ _ _ _ + * / _ \| |__ (_) ___ ___| |_| | __ _| |__ + * | | | | '_ \| |/ _ \/ __| __| | / _` | '_ \ + * | |_| | |_) | | __/ (__| |_| |__| (_| | |_) | + * \___/|_.__// |\___|\___|\__|_____\__,_|_.__/ + * |__/ + * + * www.ObjectLab.co.uk + * + * $Id: AbstractDateCalculator.java 309 2010-03-23 21:01:49Z marchy $ + * + * Copyright 2006 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +package net.objectlab.kit.util; + +import java.io.PrintWriter; +import java.io.StringWriter; +import java.util.ArrayList; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.StringTokenizer; + +import net.objectlab.kit.util.StringUtil; + +/** + * Utility class for list generation and parsing. + * + * @author Benoit Xhenseval + * @version $Revision: 1.3 $ + */ +public final class Util { + /** + * default constructor. + */ + private Util() { + } + + /** + * helper method to convert a 'delimiter' separated string to a list. + * + * @param str + * the 'delimiter' separated string + * @param delimiter + * typically a ',' + * @return a list + */ + public static List<String> listify(final String str, final String delimiter) { + if (str == null) { + return Collections.emptyList(); + } + + final StringTokenizer tok = new StringTokenizer(str, delimiter); + final List<String> list = new ArrayList<String>(); + + while (tok.hasMoreElements()) { + list.add(StringUtil.trim(tok.nextToken())); + } + + return list; + } + + /** + * convert a list to a comma separated string. + * + * @param list + * list to "print" + * @return a String comma separated. + */ + public static String listToCSVString(final List list) { + final StringBuffer buf = new StringBuffer(); + + if (list != null) { + boolean first = true; + + for (final Iterator it = list.iterator(); it.hasNext(); first = false) { + if (!first) { + buf.append(","); + } + final Object obj = it.next(); + if (obj != null) { + buf.append(obj.toString()); + } + } + } + + return buf.toString(); + } + + /** + * finds out the stack trace up to where the exception was thrown. + * + * @return String that contains the stack trace + */ + public static String buildStackTraceString(final Throwable ex) { + final StringBuilder context = new StringBuilder(ex.toString()); + final StringWriter sw = new StringWriter(); + ex.printStackTrace(new PrintWriter(sw, true)); + context.append('\n'); + context.append(sw.toString()); + + return context.toString(); + } + + /** + * Finds information about the threads and dumps them into a String. + * + * @return the String containing info about all threads + */ + public static String dumpThreads() { + final StringWriter sout = new StringWriter(); // Capture listing in a + // string + final PrintWriter out = new PrintWriter(sout); + Util.listAllThreads(out); + out.flush(); + + return sout.toString(); + } + + /** Find the root thread group and list it recursively */ + private static void listAllThreads(final PrintWriter out) { + final ThreadGroup currentThreadGroup = Thread.currentThread().getThreadGroup(); + ThreadGroup rootThreadGroup = currentThreadGroup; + ThreadGroup parent = rootThreadGroup.getParent(); + + while (parent != null) { + rootThreadGroup = parent; + parent = parent.getParent(); + } + + // And list it, recursively + Util.printGroupInfo(out, rootThreadGroup, ""); + } + + /** Display info about a thread group and its threads and groups */ + private static void printGroupInfo(final PrintWriter out, final ThreadGroup group, final String indent) { + if (group == null) { + return; + } + + final int numThreads = group.activeCount(); + final int numGroups = group.activeGroupCount(); + final Thread[] threads = new Thread[numThreads]; + final ThreadGroup[] groups = new ThreadGroup[numGroups]; + group.enumerate(threads, false); + group.enumerate(groups, false); + out.println(indent + "Thread Group: " + group.getName() + " Max Priority: " + group.getMaxPriority() + (group.isDaemon() ? " Daemon" : "")); + + for (int i = 0; i < numThreads; i++) { + Util.printThreadInfo(out, threads[i], indent + " "); + } + + for (int i = 0; i < numGroups; i++) { + Util.printGroupInfo(out, groups[i], indent + " "); + } + } + + private static void printThreadInfo(final PrintWriter out, final Thread thread, final String indent) { + if (thread == null) { + return; + } + + out.println(indent + "Thread: " + thread.getName() + " Priority: " + thread.getPriority() + (thread.isDaemon() ? " Daemon" : "") + + (thread.isAlive() ? "" : " Not Alive") + (thread.isInterrupted() ? " Interrupted" : "")); + } + +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2010-03-31 20:25:23
|
Revision: 338 http://objectlabkit.svn.sourceforge.net/objectlabkit/?rev=338&view=rev Author: benoitx Date: 2010-03-31 20:25:15 +0000 (Wed, 31 Mar 2010) Log Message: ----------- Fixing tests. Modified Paths: -------------- trunk/utils/src/main/java/net/objectlab/kit/util/BooleanUtil.java trunk/utils/src/test/java/net/objectlab/kit/util/TotalTest.java Added Paths: ----------- trunk/utils/src/test/java/net/objectlab/kit/util/BigDecimalAssert.java Removed Paths: ------------- trunk/utils/src/test/java/net/objectlab/kit/util/TestAssert.java Modified: trunk/utils/src/main/java/net/objectlab/kit/util/BooleanUtil.java =================================================================== --- trunk/utils/src/main/java/net/objectlab/kit/util/BooleanUtil.java 2010-03-31 20:22:01 UTC (rev 337) +++ trunk/utils/src/main/java/net/objectlab/kit/util/BooleanUtil.java 2010-03-31 20:25:15 UTC (rev 338) @@ -56,6 +56,6 @@ } public static boolean isFalse(final Boolean b) { - return b == null ? true : !b; + return b == null ? false : !b; } } Added: trunk/utils/src/test/java/net/objectlab/kit/util/BigDecimalAssert.java =================================================================== --- trunk/utils/src/test/java/net/objectlab/kit/util/BigDecimalAssert.java (rev 0) +++ trunk/utils/src/test/java/net/objectlab/kit/util/BigDecimalAssert.java 2010-03-31 20:25:15 UTC (rev 338) @@ -0,0 +1,19 @@ +/** + * + */ +package net.objectlab.kit.util; + +import java.math.BigDecimal; + +import org.junit.Assert; + +/** + * @author Benoit + * + */ +public class BigDecimalAssert { + + public static void assertSameValue(final String msg, final BigDecimal bd1, final BigDecimal bd2) { + Assert.assertTrue(msg, BigDecimalUtil.isSameValue(bd1, bd2)); + } +} Deleted: trunk/utils/src/test/java/net/objectlab/kit/util/TestAssert.java =================================================================== --- trunk/utils/src/test/java/net/objectlab/kit/util/TestAssert.java 2010-03-31 20:22:01 UTC (rev 337) +++ trunk/utils/src/test/java/net/objectlab/kit/util/TestAssert.java 2010-03-31 20:25:15 UTC (rev 338) @@ -1,19 +0,0 @@ -/** - * - */ -package net.objectlab.kit.util; - -import java.math.BigDecimal; - -import org.junit.Assert; - -/** - * @author Benoit - * - */ -public class TestAssert { - - public static void assertSameValue(final String msg, final BigDecimal bd1, final BigDecimal bd2) { - Assert.assertTrue(msg, BigDecimalUtil.isSameValue(bd1, bd2)); - } -} Modified: trunk/utils/src/test/java/net/objectlab/kit/util/TotalTest.java =================================================================== --- trunk/utils/src/test/java/net/objectlab/kit/util/TotalTest.java 2010-03-31 20:22:01 UTC (rev 337) +++ trunk/utils/src/test/java/net/objectlab/kit/util/TotalTest.java 2010-03-31 20:25:15 UTC (rev 338) @@ -13,72 +13,72 @@ public void testSum() { final Total sum = new Total(); assertEquals("scale", 0, sum.getTotal().scale()); - TestAssert.assertSameValue("ctor", BigDecimal.ZERO, sum.getTotal()); + BigDecimalAssert.assertSameValue("ctor", BigDecimal.ZERO, sum.getTotal()); } @Test public void testSumInt() { final Total sum = new Total(BigDecimal.ZERO, 2); assertEquals("scale", 2, sum.getTotal().scale()); - TestAssert.assertSameValue("ctor", BigDecimal.ZERO, sum.getTotal()); + BigDecimalAssert.assertSameValue("ctor", BigDecimal.ZERO, sum.getTotal()); } // @Test public void testSumBigDecimal() { final Total sum = new Total(BigDecimal.TEN); assertEquals("scale", 2, sum.getTotal().scale()); - TestAssert.assertSameValue("ctor", BigDecimal.TEN, sum.getTotal()); + BigDecimalAssert.assertSameValue("ctor", BigDecimal.TEN, sum.getTotal()); final Total sum2 = new Total(BigDecimal.TEN.setScale(4)); assertEquals("scale", 4, sum2.getTotal().scale()); - TestAssert.assertSameValue("ctor", BigDecimal.TEN, sum2.getTotal()); + BigDecimalAssert.assertSameValue("ctor", BigDecimal.TEN, sum2.getTotal()); } @Test public void testSumBigDecimalInt() { final Total sum = new Total(BigDecimal.TEN, 4); assertEquals("scale", 4, sum.getTotal().scale()); - TestAssert.assertSameValue("ctor", BigDecimal.TEN, sum.getTotal()); + BigDecimalAssert.assertSameValue("ctor", BigDecimal.TEN, sum.getTotal()); } @Test public void testgetTotal() { final Total sum = new Total(BigDecimal.TEN, 4); - TestAssert.assertSameValue("ctor", BigDecimal.TEN, sum.getTotal()); + BigDecimalAssert.assertSameValue("ctor", BigDecimal.TEN, sum.getTotal()); } @Test public void testAdd() { final Total sum = new Total(); sum.add((BigDecimal[]) null); - TestAssert.assertSameValue("add null", BigDecimal.ZERO, sum.getTotal()); + BigDecimalAssert.assertSameValue("add null", BigDecimal.ZERO, sum.getTotal()); sum.add(BigDecimal.ZERO); - TestAssert.assertSameValue("add 0", BigDecimal.ZERO, sum.getTotal()); + BigDecimalAssert.assertSameValue("add 0", BigDecimal.ZERO, sum.getTotal()); sum.add(BigDecimal.ONE).add(BigDecimal.ONE); - TestAssert.assertSameValue("add 1 + 1", new BigDecimal("2"), sum.getTotal()); + BigDecimalAssert.assertSameValue("add 1 + 1", new BigDecimal("2"), sum.getTotal()); sum.add(BigDecimal.ONE.negate()); - TestAssert.assertSameValue("add -1", new BigDecimal("1"), sum.getTotal()); + BigDecimalAssert.assertSameValue("add -1", new BigDecimal("1"), sum.getTotal()); sum.add(BigDecimal.TEN.negate()); - TestAssert.assertSameValue("add -10", new BigDecimal("-9"), sum.getTotal()); + BigDecimalAssert.assertSameValue("add -10", new BigDecimal("-9"), sum.getTotal()); sum.add(BigDecimal.ONE, BigDecimal.ONE, null, BigDecimal.TEN); - TestAssert.assertSameValue("add 1 1 null 10", new BigDecimal("3"), sum.getTotal()); + BigDecimalAssert.assertSameValue("add 1 1 null 10", new BigDecimal("3"), sum.getTotal()); } @Test public void testSubtract() { final Total sum = new Total(); sum.subtract((BigDecimal[]) null); - TestAssert.assertSameValue("subtract null", BigDecimal.ZERO, sum.getTotal()); + BigDecimalAssert.assertSameValue("subtract null", BigDecimal.ZERO, sum.getTotal()); sum.subtract(BigDecimal.ZERO); - TestAssert.assertSameValue("subtract 0", BigDecimal.ZERO, sum.getTotal()); + BigDecimalAssert.assertSameValue("subtract 0", BigDecimal.ZERO, sum.getTotal()); sum.subtract(BigDecimal.ONE).subtract(BigDecimal.ONE); - TestAssert.assertSameValue("subtract 1 + 1", new BigDecimal("-2"), sum.getTotal()); + BigDecimalAssert.assertSameValue("subtract 1 + 1", new BigDecimal("-2"), sum.getTotal()); sum.subtract(BigDecimal.ONE.negate()); - TestAssert.assertSameValue("subtract -1", new BigDecimal("-1"), sum.getTotal()); + BigDecimalAssert.assertSameValue("subtract -1", new BigDecimal("-1"), sum.getTotal()); sum.subtract(BigDecimal.TEN.negate()); - TestAssert.assertSameValue("subtract -10", new BigDecimal("9"), sum.getTotal()); + BigDecimalAssert.assertSameValue("subtract -10", new BigDecimal("9"), sum.getTotal()); sum.subtract(BigDecimal.ONE, BigDecimal.ONE, null, BigDecimal.TEN); - TestAssert.assertSameValue("subtract 1 1 null 10", new BigDecimal("-3"), sum.getTotal()); + BigDecimalAssert.assertSameValue("subtract 1 1 null 10", new BigDecimal("-3"), sum.getTotal()); } @Test This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2010-03-31 20:22:09
|
Revision: 337 http://objectlabkit.svn.sourceforge.net/objectlabkit/?rev=337&view=rev Author: benoitx Date: 2010-03-31 20:22:01 +0000 (Wed, 31 Mar 2010) Log Message: ----------- Added tests for Total. Modified Paths: -------------- trunk/utils/src/main/java/net/objectlab/kit/util/Total.java Added Paths: ----------- trunk/utils/src/test/java/net/objectlab/kit/util/TestAssert.java trunk/utils/src/test/java/net/objectlab/kit/util/TotalTest.java Removed Paths: ------------- trunk/utils/src/test/java/net/objectlab/kit/util/SumTest.java Modified: trunk/utils/src/main/java/net/objectlab/kit/util/Total.java =================================================================== --- trunk/utils/src/main/java/net/objectlab/kit/util/Total.java 2010-03-31 13:28:06 UTC (rev 336) +++ trunk/utils/src/main/java/net/objectlab/kit/util/Total.java 2010-03-31 20:22:01 UTC (rev 337) @@ -46,12 +46,12 @@ private int count = 0; public Total() { - this(BigDecimal.ZERO, 2); + this(BigDecimal.ZERO, 0); } public Total(final BigDecimal start) { if (start != null) { - value = start.setScale(2); + value = start; } } @@ -82,19 +82,25 @@ */ public Total add(final BigDecimal... value) { this.value = BigDecimalUtil.add(this.value, value); - count += value.length; + if (value != null) { + count += value.length; + } return this; } public Total subtract(final BigDecimal... value) { this.value = BigDecimalUtil.subtract(this.value, value); - count += value.length; + if (value != null) { + count += value.length; + } return this; } public Total add(final Integer value) { - this.value = BigDecimalUtil.add(this.value, new BigDecimal(value)); - count++; + if (value != null) { + this.value = BigDecimalUtil.add(this.value, new BigDecimal(value)); + count++; + } return this; } @@ -113,8 +119,10 @@ * @return the current Sum with new total. */ public Total minus(final BigDecimal... value) { - this.value = BigDecimalUtil.subtract(this.value, value); - count += value.length; + if (value != null) { + this.value = BigDecimalUtil.subtract(this.value, value); + count += value.length; + } return this; } Deleted: trunk/utils/src/test/java/net/objectlab/kit/util/SumTest.java =================================================================== --- trunk/utils/src/test/java/net/objectlab/kit/util/SumTest.java 2010-03-31 13:28:06 UTC (rev 336) +++ trunk/utils/src/test/java/net/objectlab/kit/util/SumTest.java 2010-03-31 20:22:01 UTC (rev 337) @@ -1,99 +0,0 @@ -package net.objectlab.kit.util; - -import static org.junit.Assert.*; - -import org.junit.Test; - -public class SumTest { - - @Test - public void testSum() { - fail("Not yet implemented"); - } - - @Test - public void testSumBigDecimal() { - fail("Not yet implemented"); - } - - @Test - public void testSumBigDecimalInt() { - fail("Not yet implemented"); - } - - @Test - public void testSumSum() { - fail("Not yet implemented"); - } - - @Test - public void testGetTotal() { - fail("Not yet implemented"); - } - - @Test - public void testSetTotal() { - fail("Not yet implemented"); - } - - @Test - public void testAddBigDecimalArray() { - fail("Not yet implemented"); - } - - @Test - public void testSubtract() { - fail("Not yet implemented"); - } - - @Test - public void testAddInteger() { - fail("Not yet implemented"); - } - - @Test - public void testAddSum() { - fail("Not yet implemented"); - } - - @Test - public void testMinusBigDecimalArray() { - fail("Not yet implemented"); - } - - @Test - public void testMinusSum() { - fail("Not yet implemented"); - } - - @Test - public void testToString() { - fail("Not yet implemented"); - } - - @Test - public void testIsZero() { - fail("Not yet implemented"); - } - - @Test - public void testIsNotZero() { - fail("Not yet implemented"); - } - - @Test - public void testIsNegative() { - fail("Not yet implemented"); - } - - @Test - public void testIsZeroOrLess() { - fail("Not yet implemented"); - } - - @Test - public void testGetCount() { - fail("Not yet implemented"); - } - -} Added: trunk/utils/src/test/java/net/objectlab/kit/util/TestAssert.java =================================================================== --- trunk/utils/src/test/java/net/objectlab/kit/util/TestAssert.java (rev 0) +++ trunk/utils/src/test/java/net/objectlab/kit/util/TestAssert.java 2010-03-31 20:22:01 UTC (rev 337) @@ -0,0 +1,19 @@ +/** + * + */ +package net.objectlab.kit.util; + +import java.math.BigDecimal; + +import org.junit.Assert; + +/** + * @author Benoit + * + */ +public class TestAssert { + + public static void assertSameValue(final String msg, final BigDecimal bd1, final BigDecimal bd2) { + Assert.assertTrue(msg, BigDecimalUtil.isSameValue(bd1, bd2)); + } +} Added: trunk/utils/src/test/java/net/objectlab/kit/util/TotalTest.java =================================================================== --- trunk/utils/src/test/java/net/objectlab/kit/util/TotalTest.java (rev 0) +++ trunk/utils/src/test/java/net/objectlab/kit/util/TotalTest.java 2010-03-31 20:22:01 UTC (rev 337) @@ -0,0 +1,109 @@ +package net.objectlab.kit.util; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertTrue; + +import java.math.BigDecimal; + +import org.junit.Test; + +public class TotalTest { + @Test + public void testSum() { + final Total sum = new Total(); + assertEquals("scale", 0, sum.getTotal().scale()); + TestAssert.assertSameValue("ctor", BigDecimal.ZERO, sum.getTotal()); + } + + @Test + public void testSumInt() { + final Total sum = new Total(BigDecimal.ZERO, 2); + assertEquals("scale", 2, sum.getTotal().scale()); + TestAssert.assertSameValue("ctor", BigDecimal.ZERO, sum.getTotal()); + } + + // @Test + public void testSumBigDecimal() { + final Total sum = new Total(BigDecimal.TEN); + assertEquals("scale", 2, sum.getTotal().scale()); + TestAssert.assertSameValue("ctor", BigDecimal.TEN, sum.getTotal()); + + final Total sum2 = new Total(BigDecimal.TEN.setScale(4)); + assertEquals("scale", 4, sum2.getTotal().scale()); + TestAssert.assertSameValue("ctor", BigDecimal.TEN, sum2.getTotal()); + } + + @Test + public void testSumBigDecimalInt() { + final Total sum = new Total(BigDecimal.TEN, 4); + assertEquals("scale", 4, sum.getTotal().scale()); + TestAssert.assertSameValue("ctor", BigDecimal.TEN, sum.getTotal()); + } + + @Test + public void testgetTotal() { + final Total sum = new Total(BigDecimal.TEN, 4); + TestAssert.assertSameValue("ctor", BigDecimal.TEN, sum.getTotal()); + } + + @Test + public void testAdd() { + final Total sum = new Total(); + sum.add((BigDecimal[]) null); + TestAssert.assertSameValue("add null", BigDecimal.ZERO, sum.getTotal()); + sum.add(BigDecimal.ZERO); + TestAssert.assertSameValue("add 0", BigDecimal.ZERO, sum.getTotal()); + sum.add(BigDecimal.ONE).add(BigDecimal.ONE); + TestAssert.assertSameValue("add 1 + 1", new BigDecimal("2"), sum.getTotal()); + sum.add(BigDecimal.ONE.negate()); + TestAssert.assertSameValue("add -1", new BigDecimal("1"), sum.getTotal()); + sum.add(BigDecimal.TEN.negate()); + TestAssert.assertSameValue("add -10", new BigDecimal("-9"), sum.getTotal()); + sum.add(BigDecimal.ONE, BigDecimal.ONE, null, BigDecimal.TEN); + TestAssert.assertSameValue("add 1 1 null 10", new BigDecimal("3"), sum.getTotal()); + } + + @Test + public void testSubtract() { + final Total sum = new Total(); + sum.subtract((BigDecimal[]) null); + TestAssert.assertSameValue("subtract null", BigDecimal.ZERO, sum.getTotal()); + sum.subtract(BigDecimal.ZERO); + TestAssert.assertSameValue("subtract 0", BigDecimal.ZERO, sum.getTotal()); + sum.subtract(BigDecimal.ONE).subtract(BigDecimal.ONE); + TestAssert.assertSameValue("subtract 1 + 1", new BigDecimal("-2"), sum.getTotal()); + sum.subtract(BigDecimal.ONE.negate()); + TestAssert.assertSameValue("subtract -1", new BigDecimal("-1"), sum.getTotal()); + sum.subtract(BigDecimal.TEN.negate()); + TestAssert.assertSameValue("subtract -10", new BigDecimal("9"), sum.getTotal()); + sum.subtract(BigDecimal.ONE, BigDecimal.ONE, null, BigDecimal.TEN); + TestAssert.assertSameValue("subtract 1 1 null 10", new BigDecimal("-3"), sum.getTotal()); + } + + @Test + public void testToString() { + final Total sum = new Total(BigDecimal.TEN, 4); + assertEquals("4 dp", "10.0000", sum.toString()); + final Total sum2 = new Total(); + assertEquals("0 dp", "0", sum2.toString()); + } + + @Test + public void testIsZero() { + final Total sum = new Total(BigDecimal.TEN, 4); + assertFalse("10", sum.isZero()); + + final Total sum2 = new Total(); + assertTrue("0", sum2.isZero()); + + final Total sum3 = new Total(BigDecimal.ZERO, 0); + assertTrue("0", sum3.isZero()); + + final Total sum4 = new Total(new BigDecimal("0.0")); + assertTrue("0", sum4.isZero()); + + final Total sum5 = new Total(new BigDecimal("0.0"), 0); + assertTrue("0", sum5.isZero()); + } +} \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2010-03-31 13:28:12
|
Revision: 336 http://objectlabkit.svn.sourceforge.net/objectlabkit/?rev=336&view=rev Author: marchy Date: 2010-03-31 13:28:06 +0000 (Wed, 31 Mar 2010) Log Message: ----------- PMD controversial rules are out, and site deploy hack to use site:deploy to local filesystem, and deploy to real SF location by use of a profile. Modified Paths: -------------- trunk/pom.xml Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2010-03-30 22:18:44 UTC (rev 335) +++ trunk/pom.xml 2010-03-31 13:28:06 UTC (rev 336) @@ -172,7 +172,8 @@ </build> <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <site.deploy.url>file:///tmp/site</site.deploy.url> </properties> <profiles> @@ -223,6 +224,19 @@ </plugins> </reporting> </profile> + <profile> + <id>deploy-site</id> + <activation> + <property> + <name>performRelease</name> + <value>true</value> + </property> + </activation> + <properties> + <!-- the real site deploy url, this is a hack because site:stage (v2.1) doesn't work properly --> + <site.deploy.url>scp://shell.sourceforge.net/home/groups/o/ob/objectlabkit/htdocs</site.deploy.url> + </properties> + </profile> </profiles> <scm> @@ -249,7 +263,7 @@ </snapshotRepository> <site> <id>objectlabkit.sf.net</id> - <url>scp://shell.sourceforge.net/home/groups/o/ob/objectlabkit/htdocs/test</url> + <url>${site.deploy.url}</url> </site> </distributionManagement> @@ -290,7 +304,6 @@ <targetJdk>1.5</targetJdk> <rulesets> <ruleset>/rulesets/basic.xml</ruleset> - <ruleset>/rulesets/controversial.xml</ruleset> </rulesets> <minimumTokens>100</minimumTokens> <linkXref>true</linkXref> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <be...@us...> - 2010-03-30 22:18:50
|
Revision: 335 http://objectlabkit.svn.sourceforge.net/objectlabkit/?rev=335&view=rev Author: benoitx Date: 2010-03-30 22:18:44 +0000 (Tue, 30 Mar 2010) Log Message: ----------- A few more methods Modified Paths: -------------- trunk/utils/src/main/java/net/objectlab/kit/util/Average.java trunk/utils/src/main/java/net/objectlab/kit/util/StringUtil.java trunk/utils/src/main/java/net/objectlab/kit/util/WeightedAverage.java Added Paths: ----------- trunk/utils/src/main/java/net/objectlab/kit/util/Total.java Removed Paths: ------------- trunk/utils/src/main/java/net/objectlab/kit/util/Sum.java Modified: trunk/utils/src/main/java/net/objectlab/kit/util/Average.java =================================================================== --- trunk/utils/src/main/java/net/objectlab/kit/util/Average.java 2010-03-30 11:06:50 UTC (rev 334) +++ trunk/utils/src/main/java/net/objectlab/kit/util/Average.java 2010-03-30 22:18:44 UTC (rev 335) @@ -41,19 +41,19 @@ */ public final class Average implements Serializable { private static final long serialVersionUID = 4630559777899225672L; - private Sum sum = new Sum(); + private Total sum = new Total(); private int count = 0; public Average() { } public Average(final BigDecimal start) { - sum = new Sum(start); + sum = new Total(start); } public Average(final int scale) { final BigDecimal bd = new BigDecimal(0); - sum = new Sum(bd.setScale(scale)); + sum = new Total(bd.setScale(scale)); } public void add(final BigDecimal val) { Modified: trunk/utils/src/main/java/net/objectlab/kit/util/StringUtil.java =================================================================== --- trunk/utils/src/main/java/net/objectlab/kit/util/StringUtil.java 2010-03-30 11:06:50 UTC (rev 334) +++ trunk/utils/src/main/java/net/objectlab/kit/util/StringUtil.java 2010-03-30 22:18:44 UTC (rev 335) @@ -517,4 +517,38 @@ } return EMPTY; } + + /** + * + * @param strings + * @return true if any are empty + */ + public static boolean anyEmpty(final String... strings) { + if (strings != null) { + for (final String object : strings) { + if (StringUtils.isEmpty(object)) { + return true; + } + } + return strings.length == 0 ? true : false; + } + return true; + } + + + /** + * Does equalsIgnoreCase call but if the value is '*', immediately returns true. + */ + public static boolean equalsIgnoreCaseOrValueIsWildcard(final String value, final String toCheck) { + if (value == null && toCheck == null) { + return true; + } + if (value != null && StringUtil.WILDCARD.equals(value)) { + return true; + } + if (value != null && toCheck != null) { + return value.equalsIgnoreCase(toCheck); + } + return false; + } } Deleted: trunk/utils/src/main/java/net/objectlab/kit/util/Sum.java =================================================================== --- trunk/utils/src/main/java/net/objectlab/kit/util/Sum.java 2010-03-30 11:06:50 UTC (rev 334) +++ trunk/utils/src/main/java/net/objectlab/kit/util/Sum.java 2010-03-30 22:18:44 UTC (rev 335) @@ -1,156 +0,0 @@ -/* - * ObjectLab, http://www.objectlab.co.uk/open is sponsoring the ObjectLab Kit. - * - * Based in London, we are world leaders in the design and development - * of bespoke applications for the securities financing markets. - * - * <a href="http://www.objectlab.co.uk/open">Click here to learn more</a> - * ___ _ _ _ _ _ - * / _ \| |__ (_) ___ ___| |_| | __ _| |__ - * | | | | '_ \| |/ _ \/ __| __| | / _` | '_ \ - * | |_| | |_) | | __/ (__| |_| |__| (_| | |_) | - * \___/|_.__// |\___|\___|\__|_____\__,_|_.__/ - * |__/ - * - * www.ObjectLab.co.uk - * - * $Id: AbstractDateCalculator.java 309 2010-03-23 21:01:49Z marchy $ - * - * Copyright 2006 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not - * use this file except in compliance with the License. You may obtain a copy of - * the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations under - * the License. - */ -package net.objectlab.kit.util; - -import java.io.Serializable; -import java.math.BigDecimal; - -/** - * Mutable class representing a sum of BigDecimals. - * @author Benoit Xhenseval - * - */ -public class Sum implements Serializable { - private static final long serialVersionUID = -8583271171731930344L; - private BigDecimal value = BigDecimal.ZERO; - private int count = 0; - - public Sum() { - this(BigDecimal.ZERO, 2); - } - - public Sum(final BigDecimal start) { - if (start != null) { - value = start; - } - } - - public Sum(final BigDecimal start, final int scale) { - if (start != null) { - value = start.setScale(scale, BigDecimal.ROUND_HALF_UP); - } - } - - public Sum(final Sum start) { - if (start != null) { - value = start.getTotal(); - } - } - - public BigDecimal getTotal() { - return value; - } - - public void setTotal(final BigDecimal total) { - if (total != null) { - this.value = total; - } - } - - /** - * @return the current Sum with new total. - */ - public Sum add(final BigDecimal... value) { - this.value = BigDecimalUtil.add(this.value, value); - count += value.length; - return this; - } - - public Sum subtract(final BigDecimal... value) { - this.value = BigDecimalUtil.subtract(this.value, value); - count += value.length; - return this; - } - - public Sum add(final Integer value) { - this.value = BigDecimalUtil.add(this.value, new BigDecimal(value)); - count++; - return this; - } - - /** - * @return the current Sum with new total. - */ - public Sum add(final Sum value) { - if (value != null) { - this.value = BigDecimalUtil.add(this.value, value.getTotal()); - count++; - } - return this; - } - - /** - * @return the current Sum with new total. - */ - public Sum minus(final BigDecimal... value) { - this.value = BigDecimalUtil.subtract(this.value, value); - count += value.length; - return this; - } - - /** - * @return the current Sum with new total. - */ - public Sum minus(final Sum value) { - if (value != null) { - this.value = BigDecimalUtil.subtract(this.value, value.getTotal()); - count++; - } - return this; - } - - @Override - public String toString() { - return value.toString(); - } - - public boolean isZero() { - return BigDecimalUtil.isZero(value); - } - - public boolean isNotZero() { - return !isZero(); - } - - public boolean isNegative() { - return BigDecimalUtil.isNegative(value); - } - - public boolean isZeroOrLess() { - return BigDecimalUtil.isZeroOrLess(value); - } - - public int getCount() { - return count; - } -} Added: trunk/utils/src/main/java/net/objectlab/kit/util/Total.java =================================================================== --- trunk/utils/src/main/java/net/objectlab/kit/util/Total.java (rev 0) +++ trunk/utils/src/main/java/net/objectlab/kit/util/Total.java 2010-03-30 22:18:44 UTC (rev 335) @@ -0,0 +1,156 @@ +/* + * ObjectLab, http://www.objectlab.co.uk/open is sponsoring the ObjectLab Kit. + * + * Based in London, we are world leaders in the design and development + * of bespoke applications for the securities financing markets. + * + * <a href="http://www.objectlab.co.uk/open">Click here to learn more</a> + * ___ _ _ _ _ _ + * / _ \| |__ (_) ___ ___| |_| | __ _| |__ + * | | | | '_ \| |/ _ \/ __| __| | / _` | '_ \ + * | |_| | |_) | | __/ (__| |_| |__| (_| | |_) | + * \___/|_.__// |\___|\___|\__|_____\__,_|_.__/ + * |__/ + * + * www.ObjectLab.co.uk + * + * $Id: AbstractDateCalculator.java 309 2010-03-23 21:01:49Z marchy $ + * + * Copyright 2006 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +package net.objectlab.kit.util; + +import java.io.Serializable; +import java.math.BigDecimal; + +/** + * Mutable class representing a sum of BigDecimals. + * @author Benoit Xhenseval + * + */ +public class Total implements Serializable { + private static final long serialVersionUID = -8583271171731930344L; + private BigDecimal value = BigDecimal.ZERO; + private int count = 0; + + public Total() { + this(BigDecimal.ZERO, 2); + } + + public Total(final BigDecimal start) { + if (start != null) { + value = start.setScale(2); + } + } + + public Total(final BigDecimal start, final int scale) { + if (start != null) { + value = start.setScale(scale, BigDecimal.ROUND_HALF_UP); + } + } + + public Total(final Total start) { + if (start != null) { + value = start.getTotal(); + } + } + + public BigDecimal getTotal() { + return value; + } + + public void setTotal(final BigDecimal total) { + if (total != null) { + this.value = total; + } + } + + /** + * @return the current Sum with new total. + */ + public Total add(final BigDecimal... value) { + this.value = BigDecimalUtil.add(this.value, value); + count += value.length; + return this; + } + + public Total subtract(final BigDecimal... value) { + this.value = BigDecimalUtil.subtract(this.value, value); + count += value.length; + return this; + } + + public Total add(final Integer value) { + this.value = BigDecimalUtil.add(this.value, new BigDecimal(value)); + count++; + return this; + } + + /** + * @return the current Sum with new total. + */ + public Total add(final Total value) { + if (value != null) { + this.value = BigDecimalUtil.add(this.value, value.getTotal()); + count++; + } + return this; + } + + /** + * @return the current Sum with new total. + */ + public Total minus(final BigDecimal... value) { + this.value = BigDecimalUtil.subtract(this.value, value); + count += value.length; + return this; + } + + /** + * @return the current Sum with new total. + */ + public Total minus(final Total value) { + if (value != null) { + this.value = BigDecimalUtil.subtract(this.value, value.getTotal()); + count++; + } + return this; + } + + @Override + public String toString() { + return value.toString(); + } + + public boolean isZero() { + return BigDecimalUtil.isZero(value); + } + + public boolean isNotZero() { + return !isZero(); + } + + public boolean isNegative() { + return BigDecimalUtil.isNegative(value); + } + + public boolean isZeroOrLess() { + return BigDecimalUtil.isZeroOrLess(value); + } + + public int getCount() { + return count; + } +} Modified: trunk/utils/src/main/java/net/objectlab/kit/util/WeightedAverage.java =================================================================== --- trunk/utils/src/main/java/net/objectlab/kit/util/WeightedAverage.java 2010-03-30 11:06:50 UTC (rev 334) +++ trunk/utils/src/main/java/net/objectlab/kit/util/WeightedAverage.java 2010-03-30 22:18:44 UTC (rev 335) @@ -41,8 +41,8 @@ */ public class WeightedAverage implements Serializable { private static final long serialVersionUID = 4687472725716492770L; - private final Sum total = new Sum(); - private final Sum totalExpanded = new Sum(); + private final Total total = new Total(); + private final Total totalExpanded = new Total(); private int count = 0; public BigDecimal getTotal() { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2010-03-30 11:07:14
|
Revision: 334 http://objectlabkit.svn.sourceforge.net/objectlabkit/?rev=334&view=rev Author: marchy Date: 2010-03-30 11:06:50 +0000 (Tue, 30 Mar 2010) Log Message: ----------- updating javadoc comments - there were warnings. Modified Paths: -------------- trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/AbstractKitCalculatorsFactory.java trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/DateCalculator.java trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/ImmutableHolidayCalendar.java trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/JodaWorkingWeek.java Modified: trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/AbstractKitCalculatorsFactory.java =================================================================== --- trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/AbstractKitCalculatorsFactory.java 2010-03-30 10:53:30 UTC (rev 333) +++ trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/AbstractKitCalculatorsFactory.java 2010-03-30 11:06:50 UTC (rev 334) @@ -63,8 +63,8 @@ * * @param name * the calendar name to register these holidays under. - * @param holidaysSet - * the set of holidays (non-working days). + * @param holidaysCalendar + * a calendar containing a set of holidays (non-working days). */ public void registerHolidays(final String name, final HolidayCalendar<E> holidaysCalendar) { if (name != null) { Modified: trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/DateCalculator.java =================================================================== --- trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/DateCalculator.java 2010-03-30 10:53:30 UTC (rev 333) +++ trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/DateCalculator.java 2010-03-30 11:06:50 UTC (rev 334) @@ -120,7 +120,7 @@ * reference to a Holiday Calendar, if not the case, the calculator will * make an immutable copy of the HolidayCalendar. * - * @param holidays + * @param calendar * the holiday calendar (if null, no holidays taken into account) * @since 1.1.0 */ Modified: trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/ImmutableHolidayCalendar.java =================================================================== --- trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/ImmutableHolidayCalendar.java 2010-03-30 10:53:30 UTC (rev 333) +++ trunk/datecalc-common/src/main/java/net/objectlab/kit/datecalc/common/ImmutableHolidayCalendar.java 2010-03-30 11:06:50 UTC (rev 334) @@ -39,7 +39,7 @@ } /** - * @return + * @return the early (start) boundary of the holiday range * @see net.objectlab.kit.datecalc.common.HolidayCalendar#getEarlyBoundary() */ public E getEarlyBoundary() { @@ -47,7 +47,7 @@ } /** - * @return + * @return the set of holidays * @see net.objectlab.kit.datecalc.common.HolidayCalendar#getHolidays() */ public Set<E> getHolidays() { @@ -55,7 +55,7 @@ } /** - * @return + * @return the late (end) boundary of the holiday range * @see net.objectlab.kit.datecalc.common.HolidayCalendar#getLateBoundary() */ public E getLateBoundary() { Modified: trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/JodaWorkingWeek.java =================================================================== --- trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/JodaWorkingWeek.java 2010-03-30 10:53:30 UTC (rev 333) +++ trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/JodaWorkingWeek.java 2010-03-30 11:06:50 UTC (rev 334) @@ -79,7 +79,7 @@ * * @param working * true if working day - * @param dayOfWeek + * @param givenDayOfWeek * e.g. DateTimeConstants.MONDAY, DateTimeConstants.TUESDAY, etc */ public JodaWorkingWeek withWorkingDayFromDateTimeConstant(final boolean working, int givenDayOfWeek) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2010-03-30 10:53:46
|
Revision: 333 http://objectlabkit.svn.sourceforge.net/objectlabkit/?rev=333&view=rev Author: marchy Date: 2010-03-30 10:53:30 +0000 (Tue, 30 Mar 2010) Log Message: ----------- formatting of params Modified Paths: -------------- trunk/pom.xml Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2010-03-30 10:51:58 UTC (rev 332) +++ trunk/pom.xml 2010-03-30 10:53:30 UTC (rev 333) @@ -153,19 +153,9 @@ <version>4.6</version> </docletArtifact> <additionalparam> - -inferrel - -inferdep - -quiet - -constructors - -visibility - -types - -postfixpackage - -nodefontsize 9 - -nodefontpackagesize 7 - -hide java.* - -collpackages java.util.* - -link http://java.sun.com/j2se/1.5.0/docs/api/ - -link http://joda-time.sourceforge.net/api-release/ + -inferrel -inferdep -quiet -constructors -visibility -types -postfixpackage + -nodefontsize 9 -nodefontpackagesize 7 -hide java.* -collpackages java.util.* + -link http://java.sun.com/j2se/1.5.0/docs/api/ -link http://joda-time.sourceforge.net/api-release/ </additionalparam> </configuration> <executions> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2010-03-30 10:52:18
|
Revision: 332 http://objectlabkit.svn.sourceforge.net/objectlabkit/?rev=332&view=rev Author: marchy Date: 2010-03-30 10:51:58 +0000 (Tue, 30 Mar 2010) Log Message: ----------- new transparent logo - works nicest as a PNG at the expense of a couple of KB I think it's worth it. Modified Paths: -------------- trunk/src/site/site.xml Added Paths: ----------- trunk/src/site/ref/objectlab_logo.bmp trunk/src/site/resources/images/objectlab_logo.png Removed Paths: ------------- trunk/src/site/resources/images/objectlab_logo.gif Added: trunk/src/site/ref/objectlab_logo.bmp =================================================================== --- trunk/src/site/ref/objectlab_logo.bmp (rev 0) +++ trunk/src/site/ref/objectlab_logo.bmp 2010-03-30 10:51:58 UTC (rev 332) @@ -0,0 +1,96 @@ @@ Diff output truncated at 100000 characters. @@ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2010-03-29 16:03:00
|
Revision: 331 http://objectlabkit.svn.sourceforge.net/objectlabkit/?rev=331&view=rev Author: marchy Date: 2010-03-29 16:02:53 +0000 (Mon, 29 Mar 2010) Log Message: ----------- Feature request 2853974. Change the visibility on JodaWorkingWeek(final byte workingDays) constructor from private to protected. Modified Paths: -------------- trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/JodaWorkingWeek.java trunk/src/changes/changes.xml Modified: trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/JodaWorkingWeek.java =================================================================== --- trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/JodaWorkingWeek.java 2010-03-29 16:00:20 UTC (rev 330) +++ trunk/datecalc-joda/src/main/java/net/objectlab/kit/datecalc/joda/JodaWorkingWeek.java 2010-03-29 16:02:53 UTC (rev 331) @@ -53,7 +53,7 @@ super(); } - private JodaWorkingWeek(final byte workingDays) { + protected JodaWorkingWeek(final byte workingDays) { super(workingDays); } Modified: trunk/src/changes/changes.xml =================================================================== --- trunk/src/changes/changes.xml 2010-03-29 16:00:20 UTC (rev 330) +++ trunk/src/changes/changes.xml 2010-03-29 16:02:53 UTC (rev 331) @@ -7,6 +7,7 @@ </properties> <body> <release version="1.2.0" date="in SVN" description="Maintenance"> + <action dev="marchy" type="add" issue="atid=872036&aid=2853974" due-to="insumo">Changed the visibility on JodaWorkingWeek(final byte workingDays) constructor from private to protected.</action> <action dev="marchy" type="fix" issue="atid=872033&aid=2963607" due-to="Aldo Tamburini">Fixed DefaultHolidayCalendar when used with java.util.Date / java.util.Calendar holidays.</action> <action dev="benoitx" type="fix">Removed the deprecated constructors that used to take Set of "Date", use the HolidayCalendar.</action> <action dev="benoitx" type="fix">Removed the deprecated method DateCalculator.setNonWorkingDays and getNonWorkingDays.</action> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2010-03-29 16:00:26
|
Revision: 330 http://objectlabkit.svn.sourceforge.net/objectlabkit/?rev=330&view=rev Author: marchy Date: 2010-03-29 16:00:20 +0000 (Mon, 29 Mar 2010) Log Message: ----------- changing to https, this is what sourceforge redirects to anyways. Modified Paths: -------------- trunk/pom.xml Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2010-03-29 15:59:31 UTC (rev 329) +++ trunk/pom.xml 2010-03-29 16:00:20 UTC (rev 330) @@ -243,7 +243,7 @@ <issueManagement> <system>sourceforge</system> - <url>http://sourceforge.net/tracker/?group_id=175139</url> + <url>https://sourceforge.net/tracker/?group_id=175139</url> </issueManagement> <distributionManagement> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2010-03-29 15:59:42
|
Revision: 329 http://objectlabkit.svn.sourceforge.net/objectlabkit/?rev=329&view=rev Author: marchy Date: 2010-03-29 15:59:31 +0000 (Mon, 29 Mar 2010) Log Message: ----------- synched the date to what's in changes.xml. Modified Paths: -------------- trunk/src/site/xdoc/index.xml Modified: trunk/src/site/xdoc/index.xml =================================================================== --- trunk/src/site/xdoc/index.xml 2010-03-29 14:22:13 UTC (rev 328) +++ trunk/src/site/xdoc/index.xml 2010-03-29 15:59:31 UTC (rev 329) @@ -26,7 +26,7 @@ <p><b>2010-03-xx</b>: version 1.2.0 is out and contains a couple of changes, including the ability to see the registered calendar and unregistering calendars (useful if calendars are dynamic). More info on the changes <a href="changes-report.html">here</a>. Also, one of the authors is on Twitter, follow your favorite Belgian at <a href="http://twitter.com/benoitx">http://twitter.com/benoitx</a>.</p> - <p><b>2007-03-24</b>: version 1.1.0 is out and contains a couple of changes, a new HolidayHandler and the ability to define a valid range for the holiday (and + <p><b>2007-03-25</b>: version 1.1.0 is out and contains a couple of changes, a new HolidayHandler and the ability to define a valid range for the holiday (and if the calculation is beyond that range, an exception is thrown). This is done via HolidayCalendar which should replace the simple Set<E> for holidays. More info on the changes <a href="changes-report.html">here</a>.</p> </section> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2010-03-29 14:22:19
|
Revision: 328 http://objectlabkit.svn.sourceforge.net/objectlabkit/?rev=328&view=rev Author: marchy Date: 2010-03-29 14:22:13 +0000 (Mon, 29 Mar 2010) Log Message: ----------- Ugly icon, but it's just proof of concept. Think it looks betterwith blue background? Modified Paths: -------------- trunk/src/site/resources/images/objectlab_logo.gif Modified: trunk/src/site/resources/images/objectlab_logo.gif =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2010-03-29 11:13:16
|
Revision: 327 http://objectlabkit.svn.sourceforge.net/objectlabkit/?rev=327&view=rev Author: marchy Date: 2010-03-29 11:13:10 +0000 (Mon, 29 Mar 2010) Log Message: ----------- fixed background image link in css. Modified Paths: -------------- trunk/datecalc-common/src/site/resources/css/site.css trunk/datecalc-jdk/src/site/resources/css/site.css trunk/datecalc-joda/src/site/resources/css/site.css Modified: trunk/datecalc-common/src/site/resources/css/site.css =================================================================== --- trunk/datecalc-common/src/site/resources/css/site.css 2010-03-29 11:10:59 UTC (rev 326) +++ trunk/datecalc-common/src/site/resources/css/site.css 2010-03-29 11:13:10 UTC (rev 327) @@ -1,5 +1,5 @@ #banner { - background: transparent url(../images/banner_background.png) repeat scroll 0 0; + background: transparent url(../../images/banner_background.png) repeat scroll 0 0; height: 69px; } @@ -10,7 +10,7 @@ h3 { color: #2872B4; background-color: #FFFFFF; - background-image: url(../images/h3_white.png); + background-image: url(../../images/h3_white.png); border-bottom: 1px solid #CCCCCC; } Modified: trunk/datecalc-jdk/src/site/resources/css/site.css =================================================================== --- trunk/datecalc-jdk/src/site/resources/css/site.css 2010-03-29 11:10:59 UTC (rev 326) +++ trunk/datecalc-jdk/src/site/resources/css/site.css 2010-03-29 11:13:10 UTC (rev 327) @@ -1,5 +1,5 @@ #banner { - background: transparent url(../images/banner_background.png) repeat scroll 0 0; + background: transparent url(../../images/banner_background.png) repeat scroll 0 0; height: 69px; } @@ -10,7 +10,7 @@ h3 { color: #2872B4; background-color: #FFFFFF; - background-image: url(../images/h3_white.png); + background-image: url(../../images/h3_white.png); border-bottom: 1px solid #CCCCCC; } Modified: trunk/datecalc-joda/src/site/resources/css/site.css =================================================================== --- trunk/datecalc-joda/src/site/resources/css/site.css 2010-03-29 11:10:59 UTC (rev 326) +++ trunk/datecalc-joda/src/site/resources/css/site.css 2010-03-29 11:13:10 UTC (rev 327) @@ -1,5 +1,5 @@ #banner { - background: transparent url(../images/banner_background.png) repeat scroll 0 0; + background: transparent url(../../images/banner_background.png) repeat scroll 0 0; height: 69px; } @@ -10,7 +10,7 @@ h3 { color: #2872B4; background-color: #FFFFFF; - background-image: url(../images/h3_white.png); + background-image: url(../../images/h3_white.png); border-bottom: 1px solid #CCCCCC; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2010-03-29 11:11:05
|
Revision: 326 http://objectlabkit.svn.sourceforge.net/objectlabkit/?rev=326&view=rev Author: marchy Date: 2010-03-29 11:10:59 +0000 (Mon, 29 Mar 2010) Log Message: ----------- formatting, and unifying the relative links to be the same as in index.xml Modified Paths: -------------- trunk/src/site/site.xml Modified: trunk/src/site/site.xml =================================================================== --- trunk/src/site/site.xml 2010-03-29 11:10:24 UTC (rev 325) +++ trunk/src/site/site.xml 2010-03-29 11:10:59 UTC (rev 326) @@ -57,9 +57,9 @@ </head> <links> - <item name="common" href="./datecalc-common/index.html" /> - <item name="jdk" href="./datecalc-jdk/index.html" /> - <item name="joda" href="./datecalc-joda/index.html" /> + <item name="common" href="datecalc-common/index.html" /> + <item name="jdk" href="datecalc-jdk/index.html" /> + <item name="joda" href="datecalc-joda/index.html" /> <item name="sf.net/projects/objectlabkit" href="https://sourceforge.net/projects/objectlabkit/" /> </links> @@ -79,6 +79,7 @@ </menu> <menu ref="modules" /> + <menu ref="reports" /> <menu name="Interesting Projects"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2010-03-29 11:10:30
|
Revision: 325 http://objectlabkit.svn.sourceforge.net/objectlabkit/?rev=325&view=rev Author: marchy Date: 2010-03-29 11:10:24 +0000 (Mon, 29 Mar 2010) Log Message: ----------- We're not using this anymore, are we? sorry if we are... ;) Removed Paths: ------------- trunk/statsvn.bat Deleted: trunk/statsvn.bat =================================================================== --- trunk/statsvn.bat 2010-03-28 20:23:17 UTC (rev 324) +++ trunk/statsvn.bat 2010-03-29 11:10:24 UTC (rev 325) @@ -1,3 +0,0 @@ -svn log -v --xml https://objectlabkit.svn.sourceforge.net/svnroot/objectlabkit/ > svn.log -rem mkdir src\site\statsvn -java -jar c:\java\statsvn\statsvn.jar -xdoc -verbose -output-dir src\site\statsvn -tags "^1.0.1|^1.1.0|^1.2.0" -title ObjectLabKit -exclude "**/qalab.xml" -viewvc http://svn.sourceforge.net/viewvc/objectlabkit/trunk ./svn.log . \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2010-03-28 20:23:25
|
Revision: 324 http://objectlabkit.svn.sourceforge.net/objectlabkit/?rev=324&view=rev Author: marchy Date: 2010-03-28 20:23:17 +0000 (Sun, 28 Mar 2010) Log Message: ----------- New site Modified Paths: -------------- trunk/datecalc-common/pom.xml trunk/datecalc-common/src/site/resources/css/site.css trunk/datecalc-common/src/site/site.xml trunk/datecalc-common/src/site/xdoc/index.xml trunk/datecalc-jdk/pom.xml trunk/datecalc-jdk/src/site/resources/css/site.css trunk/datecalc-jdk/src/site/site.xml trunk/datecalc-jdk/src/site/xdoc/index.xml trunk/datecalc-joda/pom.xml trunk/datecalc-joda/src/site/resources/css/site.css trunk/datecalc-joda/src/site/site.xml trunk/datecalc-joda/src/site/xdoc/index.xml trunk/pom.xml trunk/src/site/resources/css/site.css trunk/src/site/site.xml trunk/src/site/xdoc/index.xml Added Paths: ----------- trunk/src/site/resources/css/shCore.css trunk/src/site/resources/css/shThemeMidnight.css trunk/src/site/resources/images/appendium_logo.png trunk/src/site/resources/images/banner_background.png trunk/src/site/resources/images/h3_white.png trunk/src/site/resources/images/sonar_logo.png trunk/src/site/resources/js/ trunk/src/site/resources/js/shBrushJava.js trunk/src/site/resources/js/shCore.js Removed Paths: ------------- trunk/datecalc-common/src/site/resources/images/aquadot.jpg trunk/datecalc-common/src/site/resources/images/bg.gif trunk/datecalc-common/src/site/resources/images/grayBar.jpg trunk/datecalc-jdk/src/site/resources/images/aquadot.jpg trunk/datecalc-jdk/src/site/resources/images/bg.gif trunk/datecalc-jdk/src/site/resources/images/grayBar.jpg trunk/datecalc-joda/src/site/resources/images/aquadot.jpg trunk/datecalc-joda/src/site/resources/images/bg.gif trunk/datecalc-joda/src/site/resources/images/grayBar.jpg trunk/src/site/resources/images/appendium_logo.jpg trunk/src/site/resources/images/aquadot.jpg trunk/src/site/resources/images/bg.gif trunk/src/site/resources/images/grayBar.jpg Modified: trunk/datecalc-common/pom.xml =================================================================== --- trunk/datecalc-common/pom.xml 2010-03-28 20:19:16 UTC (rev 323) +++ trunk/datecalc-common/pom.xml 2010-03-28 20:23:17 UTC (rev 324) @@ -11,7 +11,7 @@ <artifactId>datecalc-common</artifactId> <packaging>bundle</packaging> - <name>DateCalc Commons</name> + <name>Date Calculator Common</name> <description>Common Date Calculator Code</description> <build> @@ -44,55 +44,4 @@ </plugins> </build> - <reporting> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-checkstyle-plugin</artifactId> - <configuration> - <configLocation>config/maven_checks.xml</configLocation> - </configuration> - </plugin> - - <!-- - <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> </plugin> - <plugin> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <aggregate>true</aggregate> <source>1.5</source> - </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jxr-maven-plugin</artifactId> - </plugin> - --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-jxr-plugin</artifactId> - </plugin> - <plugin> - <artifactId>maven-surefire-plugin</artifactId> - </plugin> - <plugin> - <artifactId>maven-clover-plugin</artifactId> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>cobertura-maven-plugin</artifactId> - </plugin> - <plugin> - <artifactId>maven-pmd-plugin</artifactId> - <configuration> - <targetJdk>1.5</targetJdk> - <rulesets> - <ruleset>/rulesets/basic.xml</ruleset> - <ruleset>/rulesets/controversial.xml</ruleset> - </rulesets> - <linkXref>true</linkXref> - <minimumTokens>100</minimumTokens> - </configuration> - </plugin> - <!-- - <plugin> <artifactId>maven-changes-plugin</artifactId> <configuration> - <issueLinkTemplate>%URL%/?func=detail&group_id=175139&%ISSUE%</issueLinkTemplate> </configuration> </plugin> - <plugin> <artifactId>maven-changelog-plugin</artifactId> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> - <artifactId>dashboard-maven-plugin</artifactId> </plugin> <plugin> <groupId>net.sf</groupId> - <artifactId>stat-scm</artifactId> </plugin> - --> - </plugins> - </reporting> </project> \ No newline at end of file Modified: trunk/datecalc-common/src/site/resources/css/site.css =================================================================== --- trunk/datecalc-common/src/site/resources/css/site.css 2010-03-28 20:19:16 UTC (rev 323) +++ trunk/datecalc-common/src/site/resources/css/site.css 2010-03-28 20:23:17 UTC (rev 324) @@ -1,146 +1,30 @@ -body, select, input, li { - background: #ffffff; - color: #002070; - font-family: Verdana, Arial, Helvetica, sans-serif; - font-size: 12px; -} - -a img { - border: 0; -} - -a:link, a:visited { - color: #0020d0; - text-decoration: underline; -} - -a:hover { - color: #0000ff !important; -} - -a.externalLink, a.externalLink:link, a.externalLink:visited, a.externalLink:active, a.externalLink:hover { - background: url(../images/external.png) right center no-repeat; - padding-right: 15px; -} - -a.newWindow, a.newWindow:link, a.newWindow:visited, a.newWindow:active, a.newWindow:hover { - background: url(../images/newwindow.png) right center no-repeat; - padding-right: 18px; -} - -h2 { - padding: 2px 5px; - border: 1px solid #c0c0c0; - color: #002070; - background-color: #eeeeee; - font-weight: bold; - font-size: 16px; -} - -h3 { - padding: 2px 5px; - border: 1px solid #aaaaaa; - color: #002070; - background-color: #eeeeee; - font-size: 14px; -} - -p { - line-height: 1.3em; - font-size: small; -} - -#breadcrumbs { - background: url(../images/grayBar.jpg); - border: 1px solid #c0c0c0; - height: 17px; -} - -#breadcrumbs a { - font-size: 11px; - font-weight: bold; - margin: 0px 2px; - text-decoration: none; -} - -#leftColumn { - border: 1px solid #999999; - border-top: 0; - border-left: 0; - background: #eeeeee; -} - -div#navcolumn { - font-size: 12px; -} - -div#navcolumn h5 { - font-size: 12px; - padding-top: 2px; -} -/* -div#navcolumn li { - background: #eeeeee !important; -} -*/ -div#navcolumn div a { - color: #002070; - font-size: 11px; - text-decoration: none; -} - -table.bodyTable th { - color: #ffffff; - background-color: #bbb; - text-align: left; - font-weight: bold; -} - -table.bodyTable th { - color: #ffffff; - background-color: #bbb; - text-align: left; - font-weight: bold; -} - -table.bodyTable a { - text-decoration : none; -} - -table.bodyTable tr.a { - background-color: #ddd; - text-decoration : none; -} - -table.bodyTable tr.b { - background-color: #eee; -} - -.source { - background: #ffffdd; - border: 1px solid #999999; - color: #000000; - font-size: 12px !important; - margin-left: 10px; - margin-right: 10px; - padding: 5px 5px 5px 7px; -} - - -.xright, #projectLogo img, #projectLogo span{ - float:right; - color: #0020a0; -} - -#footer { - padding: 10px; - margin: 20px 0px 20px 0px; - border-top: solid #ccc 1px; - color: #333333; -} - -.subsectionTitle { - font-size: 13px; - font-weight: bold; - color: #666; -} +#banner { + background: transparent url(../images/banner_background.png) repeat scroll 0 0; + height: 69px; +} + +h2 { + color: #2872B4; +} + +h3 { + color: #2872B4; + background-color: #FFFFFF; + background-image: url(../images/h3_white.png); + border-bottom: 1px solid #CCCCCC; +} + +h4 { + color: #2872B4; + font-size:12px; + font-weight:bold; +} + +#navcolumn h5 { + color: #2872B4; + border-bottom: 1px solid #CCCCCC; +} + +#footer { + border-top: 1px solid #2872B4; +} \ No newline at end of file Deleted: trunk/datecalc-common/src/site/resources/images/aquadot.jpg =================================================================== (Binary files differ) Deleted: trunk/datecalc-common/src/site/resources/images/bg.gif =================================================================== (Binary files differ) Deleted: trunk/datecalc-common/src/site/resources/images/grayBar.jpg =================================================================== (Binary files differ) Modified: trunk/datecalc-common/src/site/site.xml =================================================================== --- trunk/datecalc-common/src/site/site.xml 2010-03-28 20:19:16 UTC (rev 323) +++ trunk/datecalc-common/src/site/site.xml 2010-03-28 20:23:17 UTC (rev 324) @@ -1,19 +1,21 @@ <?xml version="1.0" encoding="UTF-8"?> <project name="ObjectLab-Kit" xmlns="http://maven.apache.org/DECORATION/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd"> - <title>DateCalc Common</title> <body> - <menu name="DateCalc Common"> - <item name="Sitemap" href="sitemap.html" /> - </menu> - <menu ref="modules" /> + + <breadcrumbs> + <item name="Common" href="http://objectlabkit.sourceforge.net/datecalc-common/"/> + </breadcrumbs> + <menu ref="reports" /> + <menu name="Interesting Projects"> <item name="QALab" href="http://qalab.sourceforge.net/" /> <item name="JTreeMap" href="http://jtreemap.sourceforge.net/" /> <item name="PZFileReader" href="http://pzfilereader.sourceforge.net/" /> - <item name="StatSVN" href="http://www.StatSVN.org/" /> + <item name="StatSVN" href="http://www.statsvn.org/" /> <item name="ObjectLab" href="http://www.objectlab.co.uk" /> - <item name="Joda-time" href="http://joda-time.sourceforge.net" /> + <item name="Joda Time" href="http://joda-time.sourceforge.net" /> </menu> + </body> </project> \ No newline at end of file Modified: trunk/datecalc-common/src/site/xdoc/index.xml =================================================================== --- trunk/datecalc-common/src/site/xdoc/index.xml 2010-03-28 20:19:16 UTC (rev 323) +++ trunk/datecalc-common/src/site/xdoc/index.xml 2010-03-28 20:23:17 UTC (rev 324) @@ -1,11 +1,11 @@ <document> <properties> - <author email="Ki...@ob...">Benoit Xhenseval</author> - <title>DateCalc Common Intro</title> + <author email="ki...@ob...">Benoit Xhenseval</author> + <title>DateCalc Common Introduction</title> </properties> <head> <meta name="description" - content="ObjectLab Kit offers free and open source Date calculators, released under the business-friendly Apache 2.0 license." + content="ObjectLab Kit offers free and open source Date calculators, released under the business-friendly Apache 2.0 license." /> <meta name="keywords" @@ -23,8 +23,8 @@ <section name="DateCalc Common Introduction"> <p>DateCalc Common defines the common functionalities (implementation using some generics).</p> - <p>Check out the <a href="apidocs/index.html">UML diagrams here</a></p> - <p>Also look at the <a href="maven-reports.html">Project Reports</a> menu on the left for project specific items, unit tests, QA etc.</p> + <p>Check out the <a href="../apidocs/index.html?net/objectlab/kit/datecalc/common/package-summary.html">UML diagrams and JavaDocs here</a>.</p> + <p>Also look at the <a href="project-reports.html">Project Reports</a> menu on the left for project specific items, unit tests, QA etc.</p> </section> </body> Modified: trunk/datecalc-jdk/pom.xml =================================================================== --- trunk/datecalc-jdk/pom.xml 2010-03-28 20:19:16 UTC (rev 323) +++ trunk/datecalc-jdk/pom.xml 2010-03-28 20:23:17 UTC (rev 324) @@ -53,7 +53,6 @@ </execution> </executions> </plugin> - <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> @@ -86,7 +85,7 @@ <executions> <execution> <id>surefire-perf</id> - <!-- use it mvn integration-test -P integration-test --> + <!-- use it mvn test -P perf-testing --> <phase>test</phase> <goals> <goal>test</goal> @@ -106,54 +105,4 @@ </profile> </profiles> - <reporting> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-checkstyle-plugin</artifactId> - <configuration> - <configLocation>config/maven_checks.xml</configLocation> - </configuration> - </plugin> - - <!-- - <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> </plugin> - <plugin> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <aggregate>true</aggregate> </configuration> - </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jxr-maven-plugin</artifactId> </plugin> - --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-jxr-plugin</artifactId> - </plugin> - <plugin> - <artifactId>maven-surefire-plugin</artifactId> - </plugin> - <plugin> - <artifactId>maven-clover-plugin</artifactId> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>cobertura-maven-plugin</artifactId> - </plugin> - <plugin> - <artifactId>maven-pmd-plugin</artifactId> - <configuration> - <targetJdk>1.5</targetJdk> - <rulesets> - <ruleset>/rulesets/basic.xml</ruleset> - <ruleset>/rulesets/controversial.xml</ruleset> - </rulesets> - <linkXref>true</linkXref> - <minimumTokens>100</minimumTokens> - </configuration> - </plugin> - <!-- - <plugin> <artifactId>maven-changes-plugin</artifactId> <configuration> - <issueLinkTemplate>%URL%/?func=detail&group_id=175139&%ISSUE%</issueLinkTemplate> </configuration> </plugin> - <plugin> <artifactId>maven-changelog-plugin</artifactId> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> - <artifactId>dashboard-maven-plugin</artifactId> </plugin> <plugin> <groupId>net.sf</groupId> - <artifactId>stat-scm</artifactId> </plugin> - --> - </plugins> - </reporting> </project> \ No newline at end of file Modified: trunk/datecalc-jdk/src/site/resources/css/site.css =================================================================== --- trunk/datecalc-jdk/src/site/resources/css/site.css 2010-03-28 20:19:16 UTC (rev 323) +++ trunk/datecalc-jdk/src/site/resources/css/site.css 2010-03-28 20:23:17 UTC (rev 324) @@ -1,146 +1,30 @@ -body, select, input, li { - background: #ffffff; - color: #002070; - font-family: Verdana, Arial, Helvetica, sans-serif; - font-size: 12px; -} - -a img { - border: 0; -} - -a:link, a:visited { - color: #0020d0; - text-decoration: underline; -} - -a:hover { - color: #0000ff !important; -} - -a.externalLink, a.externalLink:link, a.externalLink:visited, a.externalLink:active, a.externalLink:hover { - background: url(../images/external.png) right center no-repeat; - padding-right: 15px; -} - -a.newWindow, a.newWindow:link, a.newWindow:visited, a.newWindow:active, a.newWindow:hover { - background: url(../images/newwindow.png) right center no-repeat; - padding-right: 18px; -} - -h2 { - padding: 2px 5px; - border: 1px solid #c0c0c0; - color: #002070; - background-color: #eeeeee; - font-weight: bold; - font-size: 16px; -} - -h3 { - padding: 2px 5px; - border: 1px solid #aaaaaa; - color: #002070; - background-color: #eeeeee; - font-size: 14px; -} - -p { - line-height: 1.3em; - font-size: small; -} - -#breadcrumbs { - background: url(../images/grayBar.jpg); - border: 1px solid #c0c0c0; - height: 17px; -} - -#breadcrumbs a { - font-size: 11px; - font-weight: bold; - margin: 0px 2px; - text-decoration: none; -} - -#leftColumn { - border: 1px solid #999999; - border-top: 0; - border-left: 0; - background: #eeeeee; -} - -div#navcolumn { - font-size: 12px; -} - -div#navcolumn h5 { - font-size: 12px; - padding-top: 2px; -} -/* -div#navcolumn li { - background: #eeeeee !important; -} -*/ -div#navcolumn div a { - color: #002070; - font-size: 11px; - text-decoration: none; -} - -table.bodyTable th { - color: #ffffff; - background-color: #bbb; - text-align: left; - font-weight: bold; -} - -table.bodyTable th { - color: #ffffff; - background-color: #bbb; - text-align: left; - font-weight: bold; -} - -table.bodyTable a { - text-decoration : none; -} - -table.bodyTable tr.a { - background-color: #ddd; - text-decoration : none; -} - -table.bodyTable tr.b { - background-color: #eee; -} - -.source { - background: #ffffdd; - border: 1px solid #999999; - color: #000000; - font-size: 12px !important; - margin-left: 10px; - margin-right: 10px; - padding: 5px 5px 5px 7px; -} - - -.xright, #projectLogo img, #projectLogo span{ - float:right; - color: #0020a0; -} - -#footer { - padding: 10px; - margin: 20px 0px 20px 0px; - border-top: solid #ccc 1px; - color: #333333; -} - -.subsectionTitle { - font-size: 13px; - font-weight: bold; - color: #666; -} +#banner { + background: transparent url(../images/banner_background.png) repeat scroll 0 0; + height: 69px; +} + +h2 { + color: #2872B4; +} + +h3 { + color: #2872B4; + background-color: #FFFFFF; + background-image: url(../images/h3_white.png); + border-bottom: 1px solid #CCCCCC; +} + +h4 { + color: #2872B4; + font-size:12px; + font-weight:bold; +} + +#navcolumn h5 { + color: #2872B4; + border-bottom: 1px solid #CCCCCC; +} + +#footer { + border-top: 1px solid #2872B4; +} \ No newline at end of file Deleted: trunk/datecalc-jdk/src/site/resources/images/aquadot.jpg =================================================================== (Binary files differ) Deleted: trunk/datecalc-jdk/src/site/resources/images/bg.gif =================================================================== (Binary files differ) Deleted: trunk/datecalc-jdk/src/site/resources/images/grayBar.jpg =================================================================== (Binary files differ) Modified: trunk/datecalc-jdk/src/site/site.xml =================================================================== --- trunk/datecalc-jdk/src/site/site.xml 2010-03-28 20:19:16 UTC (rev 323) +++ trunk/datecalc-jdk/src/site/site.xml 2010-03-28 20:23:17 UTC (rev 324) @@ -1,17 +1,21 @@ <?xml version="1.0" encoding="UTF-8"?> <project name="ObjectLab-Kit" xmlns="http://maven.apache.org/DECORATION/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd"> - <title>DateCalc JDK</title> <body> - <menu name="DateCalc JDK"> - <item name="Sitemap" href="sitemap.html" /> - </menu> + + <breadcrumbs> + <item name="JDK" href="http://objectlabkit.sourceforge.net/datecalc-jdk/"/> + </breadcrumbs> + + <menu ref="reports" /> + <menu name="Interesting Projects"> <item name="QALab" href="http://qalab.sourceforge.net/" /> <item name="JTreeMap" href="http://jtreemap.sourceforge.net/" /> <item name="PZFileReader" href="http://pzfilereader.sourceforge.net/" /> - <item name="StatSVN" href="http://www.StatSVN.org/" /> + <item name="StatSVN" href="http://www.statsvn.org/" /> <item name="ObjectLab" href="http://www.objectlab.co.uk" /> - <item name="Joda-time" href="http://joda-time.sourceforge.net" /> + <item name="Joda Time" href="http://joda-time.sourceforge.net" /> </menu> + </body> </project> \ No newline at end of file Modified: trunk/datecalc-jdk/src/site/xdoc/index.xml =================================================================== --- trunk/datecalc-jdk/src/site/xdoc/index.xml 2010-03-28 20:19:16 UTC (rev 323) +++ trunk/datecalc-jdk/src/site/xdoc/index.xml 2010-03-28 20:23:17 UTC (rev 324) @@ -22,9 +22,10 @@ <!-- The body of the document contains a number of sections --> <section name="DateCalc JDK Introduction"> - <p>DateCalc JDK provides an implementation for pure JDK.</p> - <p>Check out the <a href="apidocs/index.html">UML diagrams here</a></p> - <p>Also look at the <a href="maven-reports.html">Project Reports</a> menu on the left for project specific items, unit tests, QA etc.</p> + <p>DateCalc JDK provides a pure Java implementation, without any dependencies.</p> + <p>So if your requirements are to not have further dependencies, namely on Joda-Time, use this module. Otherwise, we encourage you to use the Joda implementation - it's faster and more robust.</p> + <p>Check out the <a href="../apidocs/index.html?net/objectlab/kit/datecalc/jdk/package-summary.html">UML diagrams and JavaDocs here</a>.</p> + <p>Also look at the <a href="../project-reports.html">Project Reports</a> menu on the left for project specific items, unit tests, QA etc.</p> </section> </body> Modified: trunk/datecalc-joda/pom.xml =================================================================== --- trunk/datecalc-joda/pom.xml 2010-03-28 20:19:16 UTC (rev 323) +++ trunk/datecalc-joda/pom.xml 2010-03-28 20:23:17 UTC (rev 324) @@ -58,7 +58,6 @@ </execution> </executions> </plugin> - <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> @@ -91,7 +90,7 @@ <executions> <execution> <id>surefire-perf</id> - <!-- use it mvn integration-test -P integration-test --> + <!-- use it mvn test -P perf-testing --> <phase>test</phase> <goals> <goal>test</goal> @@ -111,55 +110,4 @@ </profile> </profiles> - <reporting> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-checkstyle-plugin</artifactId> - <configuration> - <configLocation>config/maven_checks.xml</configLocation> - </configuration> - </plugin> - - <!-- - <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> </plugin> - <plugin> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <aggregate>true</aggregate> </configuration> - </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jxr-maven-plugin</artifactId> </plugin> - --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-jxr-plugin</artifactId> - </plugin> - <plugin> - <artifactId>maven-surefire-plugin</artifactId> - </plugin> - <plugin> - <artifactId>maven-clover-plugin</artifactId> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>cobertura-maven-plugin</artifactId> - </plugin> - <plugin> - <artifactId>maven-pmd-plugin</artifactId> - <configuration> - <targetJdk>1.5</targetJdk> - <rulesets> - <ruleset>/rulesets/basic.xml</ruleset> - <ruleset>/rulesets/controversial.xml</ruleset> - </rulesets> - <linkXref>true</linkXref> - <minimumTokens>100</minimumTokens> - </configuration> - </plugin> - <!-- - <plugin> <artifactId>maven-changes-plugin</artifactId> <configuration> - <issueLinkTemplate>%URL%/?func=detail&group_id=175139&%ISSUE%</issueLinkTemplate> </configuration> </plugin> - <plugin> <artifactId>maven-changelog-plugin</artifactId> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> - <artifactId>dashboard-maven-plugin</artifactId> </plugin> <plugin> <groupId>net.sf</groupId> - <artifactId>stat-scm</artifactId> </plugin> - --> - </plugins> - </reporting> - </project> \ No newline at end of file Modified: trunk/datecalc-joda/src/site/resources/css/site.css =================================================================== --- trunk/datecalc-joda/src/site/resources/css/site.css 2010-03-28 20:19:16 UTC (rev 323) +++ trunk/datecalc-joda/src/site/resources/css/site.css 2010-03-28 20:23:17 UTC (rev 324) @@ -1,146 +1,30 @@ -body, select, input, li { - background: #ffffff; - color: #002070; - font-family: Verdana, Arial, Helvetica, sans-serif; - font-size: 12px; -} - -a img { - border: 0; -} - -a:link, a:visited { - color: #0020d0; - text-decoration: underline; -} - -a:hover { - color: #0000ff !important; -} - -a.externalLink, a.externalLink:link, a.externalLink:visited, a.externalLink:active, a.externalLink:hover { - background: url(../images/external.png) right center no-repeat; - padding-right: 15px; -} - -a.newWindow, a.newWindow:link, a.newWindow:visited, a.newWindow:active, a.newWindow:hover { - background: url(../images/newwindow.png) right center no-repeat; - padding-right: 18px; -} - -h2 { - padding: 2px 5px; - border: 1px solid #c0c0c0; - color: #002070; - background-color: #eeeeee; - font-weight: bold; - font-size: 16px; -} - -h3 { - padding: 2px 5px; - border: 1px solid #aaaaaa; - color: #002070; - background-color: #eeeeee; - font-size: 14px; -} - -p { - line-height: 1.3em; - font-size: small; -} - -#breadcrumbs { - background: url(../images/grayBar.jpg); - border: 1px solid #c0c0c0; - height: 17px; -} - -#breadcrumbs a { - font-size: 11px; - font-weight: bold; - margin: 0px 2px; - text-decoration: none; -} - -#leftColumn { - border: 1px solid #999999; - border-top: 0; - border-left: 0; - background: #eeeeee; -} - -div#navcolumn { - font-size: 12px; -} - -div#navcolumn h5 { - font-size: 12px; - padding-top: 2px; -} -/* -div#navcolumn li { - background: #eeeeee !important; -} -*/ -div#navcolumn div a { - color: #002070; - font-size: 11px; - text-decoration: none; -} - -table.bodyTable th { - color: #ffffff; - background-color: #bbb; - text-align: left; - font-weight: bold; -} - -table.bodyTable th { - color: #ffffff; - background-color: #bbb; - text-align: left; - font-weight: bold; -} - -table.bodyTable a { - text-decoration : none; -} - -table.bodyTable tr.a { - background-color: #ddd; - text-decoration : none; -} - -table.bodyTable tr.b { - background-color: #eee; -} - -.source { - background: #ffffdd; - border: 1px solid #999999; - color: #000000; - font-size: 12px !important; - margin-left: 10px; - margin-right: 10px; - padding: 5px 5px 5px 7px; -} - - -.xright, #projectLogo img, #projectLogo span{ - float:right; - color: #0020a0; -} - -#footer { - padding: 10px; - margin: 20px 0px 20px 0px; - border-top: solid #ccc 1px; - color: #333333; -} - -.subsectionTitle { - font-size: 13px; - font-weight: bold; - color: #666; -} +#banner { + background: transparent url(../images/banner_background.png) repeat scroll 0 0; + height: 69px; +} + +h2 { + color: #2872B4; +} + +h3 { + color: #2872B4; + background-color: #FFFFFF; + background-image: url(../images/h3_white.png); + border-bottom: 1px solid #CCCCCC; +} + +h4 { + color: #2872B4; + font-size:12px; + font-weight:bold; +} + +#navcolumn h5 { + color: #2872B4; + border-bottom: 1px solid #CCCCCC; +} + +#footer { + border-top: 1px solid #2872B4; +} \ No newline at end of file Deleted: trunk/datecalc-joda/src/site/resources/images/aquadot.jpg =================================================================== (Binary files differ) Deleted: trunk/datecalc-joda/src/site/resources/images/bg.gif =================================================================== (Binary files differ) Deleted: trunk/datecalc-joda/src/site/resources/images/grayBar.jpg =================================================================== (Binary files differ) Modified: trunk/datecalc-joda/src/site/site.xml =================================================================== --- trunk/datecalc-joda/src/site/site.xml 2010-03-28 20:19:16 UTC (rev 323) +++ trunk/datecalc-joda/src/site/site.xml 2010-03-28 20:23:17 UTC (rev 324) @@ -1,17 +1,20 @@ <?xml version="1.0" encoding="UTF-8"?> <project name="ObjectLab-Kit" xmlns="http://maven.apache.org/DECORATION/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd"> - <title>DateCalc JODA</title> <body> - <menu name="DateCalc JODA"> - <item name="Sitemap" href="sitemap.html" /> - </menu> + + <breadcrumbs> + <item name="Joda" href="http://objectlabkit.sourceforge.net/datecalc-joda/"/> + </breadcrumbs> + + <menu ref="reports" /> + <menu name="Interesting Projects"> <item name="QALab" href="http://qalab.sourceforge.net/" /> <item name="JTreeMap" href="http://jtreemap.sourceforge.net/" /> <item name="PZFileReader" href="http://pzfilereader.sourceforge.net/" /> - <item name="StatSVN" href="http://www.StatSVN.org/" /> + <item name="StatSVN" href="http://www.statsvn.org/" /> <item name="ObjectLab" href="http://www.objectlab.co.uk" /> - <item name="Joda-time" href="http://joda-time.sourceforge.net" /> + <item name="Joda Time" href="http://joda-time.sourceforge.net" /> </menu> - </body> -</project> \ No newline at end of file + + </body></project> \ No newline at end of file Modified: trunk/datecalc-joda/src/site/xdoc/index.xml =================================================================== --- trunk/datecalc-joda/src/site/xdoc/index.xml 2010-03-28 20:19:16 UTC (rev 323) +++ trunk/datecalc-joda/src/site/xdoc/index.xml 2010-03-28 20:23:17 UTC (rev 324) @@ -23,8 +23,8 @@ <section name="DateCalc JODA Introduction"> <p>DateCalc Joda provides an implementation based on <a href="http://joda-time.sourceforge.net">Joda Time</a>.</p> - <p>Check out the <a href="apidocs/index.html">UML diagrams here</a></p> - <p>Also look at the <a href="maven-reports.html">Project Reports</a> menu on the left for project specific items, unit tests, QA etc.</p> + <p>Check out the <a href="../apidocs/index.html?net/objectlab/kit/datecalc/joda/package-summary.html">UML diagrams and JavaDocs here</a>.</p> + <p>Also look at the <a href="project-reports.html">Project Reports</a> menu on the left for project specific items, unit tests, QA etc.</p> <p>Finally, this jar requires Joda time 1.3+, the website is <a href="http://joda-time.sourceforge.net">here</a>.</p> </section> Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2010-03-28 20:19:16 UTC (rev 323) +++ trunk/pom.xml 2010-03-28 20:23:17 UTC (rev 324) @@ -141,8 +141,49 @@ <target>1.5</target> </configuration> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <configuration> + <source>1.5</source> + <doclet>gr.spinellis.umlgraph.doclet.UmlGraphDoc</doclet> + <docletArtifact> + <groupId>gr.spinellis</groupId> + <artifactId>UmlGraph</artifactId> + <version>4.6</version> + </docletArtifact> + <additionalparam> + -inferrel + -inferdep + -quiet + -constructors + -visibility + -types + -postfixpackage + -nodefontsize 9 + -nodefontpackagesize 7 + -hide java.* + -collpackages java.util.* + -link http://java.sun.com/j2se/1.5.0/docs/api/ + -link http://joda-time.sourceforge.net/api-release/ + </additionalparam> + </configuration> + <executions> + <execution> + <id>aggregate</id> + <goals> + <goal>aggregate</goal> + </goals> + <phase>site</phase> + </execution> + </executions> + </plugin> </plugins> </build> + + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + </properties> <profiles> <profile> @@ -175,9 +216,25 @@ </plugins> </build> </profile> + <profile> + <id>stat-scm</id> + <activation> + <property> + <name>performRelease</name> + <value>true</value> + </property> + </activation> + <reporting> + <plugins> + <plugin> + <groupId>net.sf</groupId> + <artifactId>stat-scm</artifactId> + </plugin> + </plugins> + </reporting> + </profile> </profiles> - <scm> <connection>scm:svn:https://objectlabkit.svn.sourceforge.net/svnroot/objectlabkit/trunk/</connection> <developerConnection>scm:svn:https://objectlabkit.svn.sourceforge.net/svnroot/objectlabkit/trunk/</developerConnection> @@ -185,19 +242,20 @@ </scm> <issueManagement> - <system>sourceforge.net</system> + <system>sourceforge</system> <url>http://sourceforge.net/tracker/?group_id=175139</url> </issueManagement> <distributionManagement> <repository> - <id>sourceforge.net</id> - <url>scp://shell.sourceforge.net/home/groups/o/ob/objectlabkit/htdocs/m2-repo</url> + <id>sonatype-nexus-staging</id> + <name>Sonatype Nexus Staging Repository</name> + <url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> <snapshotRepository> <id>sonatype-nexus-snapshots</id> - <name>Sonatype Nexus Snapshots</name> - <url>http://oss.sonatype.org/content/repositories/snapshots</url> + <name>Sonatype Nexus Snapshots Repository</name> + <url>http://oss.sonatype.org/content/repositories/snapshots/</url> </snapshotRepository> <site> <id>objectlabkit.sf.net</id> @@ -207,47 +265,74 @@ <reporting> <plugins> - <!-- - <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <configuration> - <configLocation>/common_build/checkstyle_checks.xml</configLocation> </configuration> </plugin> <plugin> - <groupId>org.codehaus.mojo</groupId> <artifactId>jxr-maven-plugin</artifactId> </plugin> <plugin> - <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jxr-plugin</artifactId> </plugin> <plugin> - <artifactId>maven-surefire-plugin</artifactId> </plugin> <plugin> <artifactId>maven-clover-plugin</artifactId> </plugin> - <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> </plugin> <plugin> - <artifactId>maven-pmd-plugin</artifactId> <configuration> <targetJdk>1.5</targetJdk> <rulesets> - <ruleset>/rulesets/basic.xml</ruleset> <ruleset>/rulesets/controversial.xml</ruleset> </rulesets> <linkXref>true</linkXref> - <minimumTokens>100</minimumTokens> </configuration> </plugin> - --> <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>cobertura-maven-plugin</artifactId> + </plugin> + <plugin> + <artifactId>maven-changes-plugin</artifactId> + <configuration> + <issueLinkTemplatePerSystem> + <default>%URL%/?group_id=175139&func=detail&%ISSUE%</default> + </issueLinkTemplatePerSystem> + </configuration> + </plugin> + <plugin> <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-project-info-reports-plugin</artifactId> + <artifactId>maven-jxr-plugin</artifactId> + <configuration> + <aggregate>true</aggregate> + <linkJavadoc>true</linkJavadoc> + <javadocDir>apidocs</javadocDir> + </configuration> </plugin> <plugin> - <artifactId>maven-javadoc-plugin</artifactId> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-report-plugin</artifactId> <configuration> - <code>javadoc:aggregate</code> - <source>1.5</source> + <aggregate>true</aggregate> </configuration> </plugin> <plugin> - <artifactId>maven-changes-plugin</artifactId> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-pmd-plugin</artifactId> <configuration> - <issueLinkTemplatePerSystem> - <default>%URL%/?func=detail&group_id=175139&%ISSUE%</default> - </issueLinkTemplatePerSystem> + <targetJdk>1.5</targetJdk> + <rulesets> + <ruleset>/rulesets/basic.xml</ruleset> + <ruleset>/rulesets/controversial.xml</ruleset> + </rulesets> + <minimumTokens>100</minimumTokens> + <linkXref>true</linkXref> + <xrefLocation>${project.reporting.outputDirectory}/../xref</xrefLocation> </configuration> </plugin> <plugin> - <artifactId>maven-changelog-plugin</artifactId> + <groupId>org.codehaus.mojo</groupId> + <artifactId>findbugs-maven-plugin</artifactId> + <version>2.0</version> + <configuration> + <effort>Max</effort> + <threshold>Low</threshold> + <includeFilterFile>${project.basedir}/../src/source-checks/findbugs-filter.xml</includeFilterFile> + <xrefLocation>${project.reporting.outputDirectory}/../xref</xrefLocation> + </configuration> </plugin> <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-checkstyle-plugin</artifactId> + <configuration> + <!-- these do not currently work as they are in the old format + <configLocation>${project.basedir}/../src/source-checks/checkstyle-checks.xml</configLocation> + <configLocation>${project.basedir}/../src/source-checks/objectlab-checks.xml</configLocation> + --> + <xrefLocation>${project.reporting.outputDirectory}/../xref</xrefLocation> + </configuration> + </plugin> + <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>dashboard-maven-plugin</artifactId> </plugin> - <plugin> - <groupId>net.sf</groupId> - <artifactId>stat-scm</artifactId> - </plugin> </plugins> </reporting> Added: trunk/src/site/resources/css/shCore.css =================================================================== --- trunk/src/site/resources/css/shCore.css (rev 0) +++ trunk/src/site/resources/css/shCore.css 2010-03-28 20:23:17 UTC (rev 324) @@ -0,0 +1,330 @@ +/** + * SyntaxHighlighter + * http://alexgorbatchev.com/ + * + * SyntaxHighlighter is donationware. If you are using it, please donate. + * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate + * + * @version + * 2.1.364 (October 15 2009) + * + * @copyright + * Copyright (C) 2004-2009 Alex Gorbatchev. + * + * @license + * This file is part of SyntaxHighlighter. + * + * SyntaxHighlighter is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * SyntaxHighlighter is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>. + */ +.syntaxhighlighter, +.syntaxhighlighter div, +.syntaxhighlighter code, +.syntaxhighlighter table, +.syntaxhighlighter table td, +.syntaxhighlighter table tr, +.syntaxhighlighter table tbody +{ + margin: 0 !important; + padding: 0 !important; + border: 0 !important; + outline: 0 !important; + background: none !important; + text-align: left !important; + float: none !important; + vertical-align: baseline !important; + position: static !important; + left: auto !important; + top: auto !important; + right: auto !important; + bottom: auto !important; + height: auto !important; + width: auto !important; + line-height: 1.1em !important; + font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; + font-weight: normal !important; + font-style: normal !important; + font-size: 1em !important; + min-height: inherit !important; /* For IE8, FF & WebKit */ + min-height: auto !important; /* For IE7 */ +} + +.syntaxhighlighter +{ + width: 99% !important; /* 99% fixes IE8 horizontal scrollbar */ + margin: 1em 0 1em 0 !important; + padding: 1px !important; /* adds a little border on top and bottom */ + position: relative !important; +} + +.syntaxhighlighter .bold +{ + font-weight: bold !important; +} + +.syntaxhighlighter .italic +{ + font-style: italic !important; +} + +.syntaxhighlighter .line +{ +} + +.syntaxhighlighter .no-wrap .line .content +{ + white-space: pre !important; +} + +.syntaxhighlighter .line table +{ + border-collapse: collapse !important; +} + +.syntaxhighlighter .line td +{ + vertical-align: top !important; +} + +.syntaxhighlighter .line .number +{ + width: 3em !important; +} + +.syntaxhighlighter .line .number code +{ + width: 2.7em !important; + padding-right: .3em !important; + text-align: right !important; + display: block !important; +} + +.syntaxhighlighter .line .content +{ + padding-left: .5em !important; +} + +.syntaxhighlighter .line .spaces +{ +} + +/* Disable border and margin on the lines when no gutter option is set */ +.syntaxhighlighter.nogutter .line .content +{ + border-left: none !important; +} + +.syntaxhighlighter .bar +{ + display: none !important; +} + +.syntaxhighlighter .bar.show +{ + display: block !important; +} + +.syntaxhighlighter.collapsed .bar +{ + display: block !important; +} + +/* Adjust some properties when collapsed */ + +.syntaxhighlighter.collapsed .lines +{ + display: none !important; +} + +.syntaxhighlighter .lines.no-wrap +{ + overflow: auto !important; + overflow-y: hidden !important; +} + +/* Styles for the toolbar */ + +.syntaxhighlighter .toolbar +{ + position: absolute !important; + right: 0px !important; + top: 0px !important; + font-size: 1px !important; + padding: 8px 8px 8px 0 !important; /* in px because images don't scale with ems */ +} + +.syntaxhighlighter.collapsed .toolbar +{ + font-size: 80% !important; + padding: .2em 0 .5em .5em !important; + position: static !important; +} + +.syntaxhighlighter .toolbar a.item, +.syntaxhighlighter .toolbar .item +{ + display: block !important; + float: left !important; + margin-left: 8px !important; + background-repeat: no-repeat !important; + overflow: hidden !important; + text-indent: -5000px !important; +} + +.syntaxhighlighter.collapsed .toolbar .item +{ + display: none !important; +} + +.syntaxhighlighter.collapsed .toolbar .item.expandSource +{ + background-image: url(magnifier.png) !important; + display: inline !important; + text-indent: 0 !important; + width: auto !important; + float: none !important; + height: 16px !important; + padding-left: 20px !important; +} + +.syntaxhighlighter .toolbar .item.viewSource +{ + background-image: url(page_white_code.png) !important; +} + +.syntaxhighlighter .toolbar .item.printSource +{ + background-image: url(printer.png) !important; +} + +.syntaxhighlighter .toolbar .item.copyToClipboard +{ + text-indent: 0 !important; + background: none !important; + overflow: visible !important; +} + +.syntaxhighlighter .toolbar .item.about +{ + background-image: url(help.png) !important; +} + +/** + * Print view. + * Colors are based on the default theme without background. + */ + +.syntaxhighlighter.printing, +.syntaxhighlighter.printing .line.alt1 .content, +.syntaxhighlighter.printing .line.alt2 .content, +.syntaxhighlighter.printing .line.highlighted .number, +.syntaxhighlighter.printing .line.highlighted.alt1 .content, +.syntaxhighlighter.printing .line.highlighted.alt2 .content, +{ + background: none !important; +} + +/* Gutter line numbers */ +.syntaxhighlighter.printing .line .number +{ + color: #bbb !important; +} + +/* Add border to the lines */ +.syntaxhighlighter.printing .line .content +{ + color: #000 !important; +} + +/* Toolbar when visible */ +.syntaxhighlighter.printing .toolbar +{ + display: none !important; +} + +.syntaxhighlighter.printing a +{ + text-decoration: none !important; +} + +.syntaxhighlighter.printing .plain, +.syntaxhighlighter.printing .plain a +{ + color: #000 !important; +} + +.syntaxhighlighter.printing .comments, +.syntaxhighlighter.printing .comments a +{ + color: #008200 !important; +} + +.syntaxhighlighter.printing .string, +.syntaxhighlighter.printing .string a +{ + color: blue !important; +} + +.syntaxhighlighter.printing .keyword +{ + color: #069 !important; + font-weight: bold !important; +} + +.syntaxhighlighter.printing .preprocessor +{ + color: gray !important; +} + +.syntaxhighlighter.printing .variable +{ + color: #a70 !important; +} + +.syntaxhighlighter.printing .value +{ + color: #090 !important; +} + +.syntaxhighlighter.printing .functions +{ + color: #ff1493 !important; +} + +.syntaxhighlighter.printing .constants +{ + color: #0066CC !important; +} + +.syntaxhighlighter.printing .script +{ + font-weight: bold !important; +} + +.syntaxhighlighter.printing .color1, +.syntaxhighlighter.printing .color1 a +{ + color: #808080 !important; +} + +.syntaxhighlighter.printing .color2, +.syntaxhighlighter.printing .color2 a +{ + color: #ff1493 !important; +} + +.syntaxhighlighter.printing .color3, +.syntaxhighlighter.printing .color3 a +{ + color: red !important; +} Added: trunk/src/site/resources/css/shThemeMidnight.css =================================================================== --- trunk/src/site/resources/css/shThemeMidnight.css (rev 0) +++ trunk/src/site/resources/css/shThemeMidnight.css 2010-03-28 20:23:17 UTC (rev 324) @@ -0,0 +1,175 @@ +/** + * SyntaxHighlighter + * http://alexgorbatchev.com/ + * + * SyntaxHighlighter is donationware. If you are using it, please donate. + * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate + * + * @version + * 2.1.364 (October 15 2009) + * + * @copyright + * Copyright (C) 2004-2009 Alex Gorbatchev. + * + * @license + * This file is part of SyntaxHighlighter. + * + * SyntaxHighlighter is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * SyntaxHighlighter is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>. + */ +/** + * Midnight SyntaxHighlighter theme based on theme by J.D. Myers + * http://webdesign.lsnjd.com/ + */ + +/************************************ + * Interface elements. + ************************************/ + +.syntaxhighlighter +{ + background-color: #0F192A !important; +} + +/* Gutter line numbers */ +.syntaxhighlighter .line .number +{ + color: #38566F !important; +} + +/* Add border to the lines */ +.syntaxhighlighter .line .content +{ + border-left: 3px solid #435A5F !important; + color: #B9BDB6 !important; +} + +.syntaxhighlighter.printing .line .content +{ + border: 0 !important; +} + +/* First line */ +.syntaxhighlighter .line.alt1 +{ + background-color: #0F192A !important; +} + +/* Second line */ +.syntaxhighlighter .line.alt2 +{ + background-color: #0F192A !important; +} + +/* Highlighed line number */ +.syntaxhighlighter .line.highlighted .number +{ + background-color: #253E5A !important; + color: #fff !important; +} + +/* Highlighed line */ +.syntaxhighlighter .line.highlighted.alt1, +.syntaxhighlighter .line.highlighted.alt2 +{ + background-color: #253E5A !important; +} + +.syntaxhighlighter .toolbar +{ + background-color: #0F192A !important; +} + +.syntaxhighlighter .toolbar a +{ + color: #38566F !important; +} + +.syntaxhighlighter .toolbar a:hover +{ + color: #8AA6C1 !important; +} + +/************************************ + * Actual syntax highlighter colors. + ************************************/ +.syntaxhighlighter .plain, +.syntaxhighlighter .plain a +{ + color: #D1EDFF !important; +} + +.syntaxhighlighter .comments, +.syntaxhighlighter .comments a +{ + color: #428BDD !important; +} + +.syntaxhighlighter .string, +.syntaxhighlighter .string a +{ + color: #1DC116 !important; +} + +.syntaxhighlighter .keyword +{ + color: #B43D3D !important; +} + +.syntaxhighlighter .preprocessor +{ + color: #8AA6C1 !important; +} + +.syntaxhighlighter .variable +{ + color: #FFAA3E !important; +} + +.syntaxhighlighter .value +{ + color: #F7E741 !important; +} + +.syntaxhighlighter .functions +{ + color: #FFAA3E !important; +} + +.syntaxhighlighter .constants +{ + color: #E0E8FF !important; +} + +.syntaxhighlighter .script +{ + background-color: #404040 !important; +} + +.syntaxhighlighter .color1, +.syntaxhighlighter .color1 a +{ + color: #F8BB00 !important; +} + +.syntaxhighlighter .color2, +.syntaxhighlighter .color2 a +{ + color: #FFFFFF !important; +} + +.syntaxhighlighter .color3, +.syntaxhighlighter .color3 a +{ + color: #FFAA3E !important; +} Modified: trunk/src/site/resources/css/site.css =================================================================== --- trunk/src/site/resources/css/site.css 2010-03-28 20:19:16 UTC (rev 323) +++ trunk/src/site/resources/css/site.css 2010-03-28 20:23:17 UTC (rev 324) @@ -1,146 +1,30 @@ -body, select, input, li { - background: #ffffff; - color: #002070; - font-family: Verdana, Arial, Helvetica, sans-serif; - font-size: 12px; -} - -a img { - border: 0; -} - -a:link, a:visited { - color: #0020d0; - text-decoration: underline; -} - -a:hover { - color: #0000ff !important; -} - -a.externalLink, a.externalLink:link, a.externalLink:visited, a.externalLink:active, a.externalLink:hover { - background: url(../images/external.png) right center no-repeat; - padding-right: 15px; -} - -a.newWindow, a.newWindow:link, a.newWindow:visited, a.newWindow:active, a.newWindow:hover { - background: url(../images/newwindow.png) right center no-repeat; - padding-right: 18px; -} - -h2 { - padding: 2px 5px; - border: 1px solid #c0c0c0; - color: #002070; - background-color: #eeeeee; - font-weight: bold; - font-size: 16px; -} - -h3 { - padding: 2px 5px; - border: 1px solid #aaaaaa; - color: #002070; - background-color: #eeeeee; - font-size: 14px; -} - -p { - line-height: 1.3em; - font-size: small; -} - -#breadcrumbs { - background: url(../images/grayBar.jpg); - border: 1px solid #c0c0c0; - height: 17px; -} - -#breadcrumbs a { - font-size: 11px; - font-weight: bold; - margin: 0px 2px; - text-decoration: none; -} - -#leftColumn { - border: 1px solid #999999; - border-top: 0; - border-left: 0; - background: #eeeeee; -} - -div#navcolumn { - font-size: 12px; -} - -div#navcolumn h5 { - font-size: 12px; - padding-top: 2px; -} -/* -div#navcolumn li { - background: #eeeeee !important; -} -*/ -div#navcolumn div a { - color: #002070; - font-size: 11px; - text-decoration: none; -} - -table.bodyTable th { - color: #ffffff; - background-color: #bbb; - text-align: left; - font-weight: bold; -} - -table.bodyTable th { - color: #ffffff; - background-color: #bbb; - text-align: left; - font-weight: bold; -} - -table.bodyTable a { - text-decoration : none; -} - -table.bodyTable tr.a { - background-color: #ddd; - text-decoration : none; -} - -table.bodyTable tr.b { - background-color: #eee; -} - -.source { - background: #ffffdd; - border: 1px solid #999999; - color: #000000; - font-size: 12px !important; - margin-left: 10px; - margin-right: 10px; - padding: 5px 5px 5px 7px; -} - - -.xright, #projectLogo img, #projectLogo span{ - float:right; - color: #0020a0; -} - -#footer { - padding: 10px; - margin: 20px 0px 20px 0px; - border-top: solid #ccc 1px; - color: #333333; -} - -.subsectionTitle { - font-size: 13px; - font-weight: bold; - color: #666; -} +#banner { + background: transparent url(../images/banner_background.png) repeat scroll 0 0; + height: 69px; +} + +h2 { + color: #2872B4; +} + +h3 { + color: #2872B4; + background-color: #FFFFFF; + background-image: url(../images/h3_white.png); + border-bottom: 1px solid #CCCCCC; +} + +h4 { + color: #2872B4; + font-size:12px; + font-weight:bold; +} + +#navcolumn h5 { + color: #2872B4; + border-bottom: 1px solid #CCCCCC; +} + +#footer { + border-top: 1px solid #2872B4; +} \ No newline at end of file Deleted: trunk/src/site/resources/images/appendium_logo.jpg =================================================================== (Binary files differ) Added: trunk/src/site/resources/images/appendium_logo.png =================================================================== --- trunk/src/site/resources/images/appendium_logo.png (rev 0) +++ trunk/src/site/resources/images/appendium_logo.png 2010-03-28 20:23:17 UTC (rev 324) @@ -0,0 +1,133 @@ +\x89PNG + + |
From: <ma...@us...> - 2010-03-28 20:19:23
|
Revision: 323 http://objectlabkit.svn.sourceforge.net/objectlabkit/?rev=323&view=rev Author: marchy Date: 2010-03-28 20:19:16 +0000 (Sun, 28 Mar 2010) Log Message: ----------- I don't think this is getting used anywhere?. Removed Paths: ------------- trunk/objectlab-statcvs.css Deleted: trunk/objectlab-statcvs.css =================================================================== --- trunk/objectlab-statcvs.css 2010-03-28 20:08:11 UTC (rev 322) +++ trunk/objectlab-statcvs.css 2010-03-28 20:19:16 UTC (rev 323) @@ -1,169 +0,0 @@ -body { - margin-left: 70px; - background: #ffffff; - color: #002070; - font-family: Verdana, Arial, Helvetica, sans-serif; - font-size: 12px; -} -h1 { - padding: 2px 5px; - border: 1px solid #c0c0c0; - color: #002070; - background-color: #eeeeee; - font-weight: bold; - font-size: 16px; -} - -h2 { - padding: 2px 5px; - border: 1px solid #aaaaaa; - color: #002070; - background-color: #eeeeee; - font-size: 14px; -} - -#h1 { -# margin-left: -25px; -# padding: 0.4em; -# font-size: 200%; -# font-weight: bold; -# color: #000; -# background-color: #91AB67; -#} -#h2 { -# margin-left: -25px; -# margin-top: 3em; -# padding: 0.3em; -# font-size: 135%; -# font-weight: bold; -# color: #000; -# background-color: #91AB67; -#} -a:link { - font-weight: bold; - text-decoration: underline; - color: #00c; -} -a:visited { - font-weight: bold; - text-decoration: underline; - color: #808; -} -a:hover { - font-weight: bold; - text-decoration: underline; - color: #f00; -} -a:link img { - border: 1px solid #00c; -} -a:visited img { - border: 1px solid #808; -} -a:hover img { - border: 1px solid #f00; -} -a.webrepository { - text-decoration: none; - font-weight: normal; -} -a.webrepository:hover { - text-decoration: underline; - font-weight: normal; -} -strong a.webrepository { - font-weight: bold; -} - -.summaryperiod { - font-size: 85%; - font-weight: bold; -} - -.commitlist dt { - float: left; - width: 10em; - margin: 0; - text-align: right; -} -.commitlist .date { - font-weight: normal; - white-space: nowrap; -} -.commitlist dd { - margin: 0 0 2em 11em; -} -.comment { - margin: 0 0 1em; - padding: 1em; - color: #000; - background-color: #eeeeee; -} -.commitdetails { - margin: 0; - font-size: 85%; -} -ul.commitdetails { - margin-top: 0.5em; -} -.commitdetails li { - margin: 0 0 0 5em; - list-style-type: none; - text-indent: -5em; -} - -.new { - color: #4a4; - background-color: #CCCCBB; -} -.del { - color: #c44; - background-color: #CCCCBB; -} -.change { - color: #777; -# background-color: #CCCCBB; -} - -table { - border-collapse: collapse; -} -table, thead, tfoot, tbody, colgroup, col, tr, th, td { - border: none; -} -td, th { - padding: 0.1em 1em 0.3em; -} -thead th { - text-align: center; -} -thead { - color: #000; - background-color: #DFDFC6; -} -tfoot { - color: #000; - background-color: #DFDFC6; -} -.odd { - color: #000; - background-color: #eeeeee; -} -.even { - color: #000; - background-color: #D8D8C8; -} - -#generatedby { - color: #667; - font-size: 75%; - margin-top: 2em; - text-align: right; -} -#generatedby a:link, #generatedby a:visited { - font-weight: normal; - color: #559; -} -#generatedby a:hover { - color: red; -} \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2010-03-28 20:08:18
|
Revision: 322 http://objectlabkit.svn.sourceforge.net/objectlabkit/?rev=322&view=rev Author: marchy Date: 2010-03-28 20:08:11 +0000 (Sun, 28 Mar 2010) Log Message: ----------- Removed Maven 1 files. Added Paths: ----------- trunk/src/source-checks/ trunk/src/source-checks/checkstyle-checks.xml trunk/src/source-checks/findbugs-filter.xml trunk/src/source-checks/objectlab-checks.xml Removed Paths: ------------- trunk/common-build/checkstyle_checks.xml trunk/common-build/findbugs-exclude-filter.xml trunk/common-build/objectlab_checks.xml trunk/common-build/project.properties trunk/common-build/project.xml trunk/datecalc-common/maven.xml trunk/datecalc-common/project.properties trunk/datecalc-common/project.xml trunk/datecalc-jdk/maven.xml trunk/datecalc-jdk/project.properties trunk/datecalc-jdk/project.xml trunk/datecalc-joda/maven.xml trunk/datecalc-joda/project.properties trunk/datecalc-joda/project.xml trunk/maven.xml trunk/project.properties trunk/project.xml Deleted: trunk/common-build/checkstyle_checks.xml =================================================================== --- trunk/common-build/checkstyle_checks.xml 2010-03-28 12:20:22 UTC (rev 321) +++ trunk/common-build/checkstyle_checks.xml 2010-03-28 20:08:11 UTC (rev 322) @@ -1,227 +0,0 @@ -<?xml version="1.0"?> -<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.1//EN" - "http://www.puppycrawl.com/dtds/configuration_1_1.dtd"> -<!-- - - ObjectLab Checkstyle. - $Id$ - ---> -<module name="Checker"> - <!-- Checks that a package.html file exists for each package. --> - <!-- See http://checkstyle.sf.net/config_javadoc.html#PackageHtml --> - <module name="PackageHtml" /> - <!-- Checks whether files end with a new line. --> - <!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile --> - <module name="NewlineAtEndOfFile" /> - <!-- Checks that property files contain the same keys. --> - <!-- See http://checkstyle.sf.net/config_misc.html#Translation --> - <module name="Translation" /> - <module name="TreeWalker"> - <!-- ============================== --> - <!-- ============================== --> - <!-- Checks for Javadoc comments. --> - <!-- See http://checkstyle.sf.net/config_javadoc.html - -> - <module name="JavadocMethod"> - <property name="scope" value="public"/> - </module> - <module name="JavadocType"/> - <module name="JavadocVariable"/> - --> - <!-- ============================== --> - <!-- ============================== --> - <!-- Checks for Naming Conventions. --> - <!-- See http://checkstyle.sf.net/config_naming.html --> - <module name="ConstantName" /> - <module name="LocalFinalVariableName" /> - <module name="LocalVariableName" /> - <module name="MemberName" /> - <module name="MethodName" /> - <module name="PackageName" /> - <module name="ParameterName" /> - <module name="StaticVariableName" /> - <module name="TypeName" /> - <!-- ============================== --> - <!-- ============================== --> - <!-- Checks for Headers --> - <!-- See http://checkstyle.sf.net/config_header.html --> - <!-- <module name="Header"> --> - <!-- The follow property value demonstrates the ability --> - <!-- to have access to ANT properties. In this case it uses --> - <!-- the ${basedir} property to allow Checkstyle to be run --> - <!-- from any directory within a project. --> - <!-- <property name="headerFile" value="${basedir}/java.header"/> - </module> - --> - <!-- Following interprets the header file as regular expressions. --> - <!-- <module name="RegexpHeader"/> --> - <!-- ============================== --> - <!-- ============================== --> - <!-- Checks for imports --> - <!-- See http://checkstyle.sf.net/config_import.html --> - <module name="AvoidStarImport" /> - <module name="IllegalImport" /> - <!-- defaults to sun.* packages --> - <module name="RedundantImport" /> - <module name="UnusedImports" /> - <!-- ============================== --> - <!-- ============================== --> - <!-- Checks for Size Violations. --> - <!-- See http://checkstyle.sf.net/config_sizes.html --> - <module name="FileLength" /> - <module name="LineLength"> - <property name="max" value="150" /> - </module> - <module name="MethodLength"> - <property name="max" value="200" /> - </module> - <module name="ParameterNumber"> - <property name="max" value="8" /> - </module> - <module name="AnonInnerLength"> - <property name="max" value="25" /> - </module> - <!-- ============================== --> - <!-- ============================== --> - <!-- Checks for whitespace --> - <!-- See http://checkstyle.sf.net/config_whitespace.html --> - <module name="EmptyForIteratorPad" /> - <!-- <module name="NoWhitespaceAfter"/> - <module name="NoWhitespaceBefore"/> - <module name="WhitespaceAfter"/> - <module name="WhitespaceAround"/> - --> - <module name="OperatorWrap" /> - <module name="ParenPad" /> - <module name="TypecastParenPad" /> - <module name="TabCharacter" /> - <!-- ============================== --> - <!-- ============================== --> - <!-- Modifier Checks --> - <!-- See http://checkstyle.sf.net/config_modifiers.html --> - <module name="ModifierOrder" /> - <module name="RedundantModifier" /> - <!-- ============================== --> - <!-- ============================== --> - <!-- Checks for blocks. You know, those {}'s --> - <!-- See http://checkstyle.sf.net/config_blocks.html --> - <module name="AvoidNestedBlocks" /> - <module name="EmptyBlock" /> - <module name="LeftCurly" /> - <module name="NeedBraces" /> - <module name="RightCurly" /> - <!-- ============================== --> - <!-- ============================== --> - <!-- Checks for common coding problems --> - <!-- See http://checkstyle.sf.net/config_coding.html --> - <!-- <module name="AvoidInlineConditionals"/> --> - <module name="DoubleCheckedLocking" /> - <module name="EmptyStatement" /> - <module name="EqualsHashCode" /> - <module name="HiddenField"> - <property name="ignoreSetter" value="true" /> - <property name="ignoreConstructorParameter" value="true" /> - </module> - <module name="IllegalInstantiation" /> - <module name="InnerAssignment" /> - <module name="MagicNumber" /> - <module name="MissingSwitchDefault" /> - <module name="RedundantThrows" /> - <module name="SimplifyBooleanExpression" /> - <module name="SimplifyBooleanReturn" /> - <!-- ============================== --> - <!-- ============================== --> - <!-- Checks for class design --> - <!-- See http://checkstyle.sf.net/config_design.html --> - <!-- <module name="DesignForExtension"/> --> - <module name="MutableException" /> - <module name="FinalClass" /> - <module name="HideUtilityClassConstructor" /> - <module name="InterfaceIsType" /> - <module name="VisibilityModifier" /> - <module name="ThrowsCount"> - <property name="max" value="5" /> - </module> - <!-- ============================== --> - <!-- ============================== --> - <!-- Miscellaneous other checks. --> - <!-- See http://checkstyle.sf.net/config_misc.html --> - <module name="ArrayTypeStyle" /> - <module name="FinalParameters"> - <property name="tokens" value="CTOR_DEF" /> - </module> - <module name="GenericIllegalRegexp"> - <!-- . matches any character, so we need to escape it and use \. to match dots. --> - <property name="format" value="System\.out\.println" /> - </module> - <module name="GenericIllegalRegexp"> - <!-- . matches any character, so we need to escape it and use \. to match dots. --> - <property name="format" value="System\.err\.println" /> - </module> - <module name="TodoComment" /> - <module name="UpperEll" /> - <!-- ============================== --> - <!-- ============================== --> - <!-- New Tests with 3.2 --> - <module name="CyclomaticComplexity"> - <property name="max" value="15" /> - <!-- <property name="severity" value="ignore"/> --> - </module> - <!-- ============================== --> - <!-- ============================== --> - <!-- See http://checkstyle.sf.net/config_usage.html --> - <!-- <module name="usage.OneMethodPrivateField"/> - <module name="usage.UnusedLocalVariable" /> - <module name="usage.UnusedParameter"> - <property name="ignoreFormat" value="^ignore" /> - </module> - <module name="usage.UnusedPrivateField"> - <property name="ignoreFormat" value="serialVersionUID" /> - </module> - <module name="usage.UnusedPrivateMethod"> - <property name="ignoreFormat" - value="readObject$|writeObject$|readResolve$" /> - </module>--> - <module name="StringLiteralEquality" /> - <module name="SuperClone" /> - <module name="SuperFinalize" /> - <module name="NestedIfDepth"> - <property name="max" value="3" /> - </module> - <module name="NestedTryDepth" /> - <module name="ReturnCount"> - <property name="max" value="3" /> - </module> - <!-- ============================== --> - <!-- ============================== --> - <!-- j2ee stuff --> - <module name="j2ee.FinalStatic" /> - <module name="j2ee.LocalHomeInterface" /> - <module name="j2ee.LocalInterface" /> - <module name="j2ee.MessageBean" /> - <module name="j2ee.RemoteHomeInterface" /> - <module name="j2ee.RemoteInterface" /> - <module name="j2ee.SessionBean" /> - <module name="j2ee.ThisParameter" /> - <module name="j2ee.ThisReturn" /> - <!-- ============================== --> - <!-- ============================== --> - <!-- New 3.4 tests --> - <module name="BooleanExpressionComplexity"> - <property name="max" value="7" /> - </module> - <module name="ClassDataAbstractionCoupling"> - <property name="max" value="13" /> - </module> - <module name="NPathComplexity" /> - <module name="FallThrough" /> - <module name="MultipleVariableDeclarations" /> - <!-- <module name="UnnecessaryParentheses"/> --> - <!-- New 3.4 tests --> - </module> - <!-- <module name="SuppressionFilter"> - <property name="file" value="lib/build/checkstyle-suppressions.xml"/> - </module> - --> -</module> - Deleted: trunk/common-build/findbugs-exclude-filter.xml =================================================================== --- trunk/common-build/findbugs-exclude-filter.xml 2010-03-28 12:20:22 UTC (rev 321) +++ trunk/common-build/findbugs-exclude-filter.xml 2010-03-28 20:08:11 UTC (rev 322) @@ -1,12 +0,0 @@ -<!-- - /* - * ======================================================================== - * ObjectLab Financial Ltd, proud sponsor of The Kit. - * ======================================================================== - */ ---> -<FindBugsFilter> - <Match classregex="net.*"> - <BugCode name="EI,EI2" /> - </Match> -</FindBugsFilter> Deleted: trunk/common-build/objectlab_checks.xml =================================================================== --- trunk/common-build/objectlab_checks.xml 2010-03-28 12:20:22 UTC (rev 321) +++ trunk/common-build/objectlab_checks.xml 2010-03-28 20:08:11 UTC (rev 322) @@ -1,226 +0,0 @@ -<?xml version="1.0"?> -<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.1//EN" - "http://www.puppycrawl.com/dtds/configuration_1_1.dtd"> -<!-- - - ObjectLab Checkstyle. ---> - -<module name="Checker"> - <!-- Checks that a package.html file exists for each package. --> - <!-- See http://checkstyle.sf.net/config_javadoc.html#PackageHtml --> - <module name="PackageHtml" /> - <!-- Checks whether files end with a new line. --> - <!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile - <module name="NewlineAtEndOfFile"/>--> - <!-- Checks that property files contain the same keys. --> - <!-- See http://checkstyle.sf.net/config_misc.html#Translation --> - <module name="Translation" /> - <module name="TreeWalker"> - <!-- ============================== --> - <!-- ============================== --> - <!-- Checks for Javadoc comments. --> - <!-- See http://checkstyle.sf.net/config_javadoc.html - -> - <module name="JavadocMethod"> - <property name="scope" value="public"/> - </module> - <module name="JavadocType"/> - <module name="JavadocVariable"/> - --> - <!-- ============================== --> - <!-- ============================== --> - <!-- Checks for Naming Conventions. --> - <!-- See http://checkstyle.sf.net/config_naming.html --> - <module name="ConstantName" /> - <module name="LocalFinalVariableName" /> - <module name="LocalVariableName" /> - <module name="MemberName" /> - <module name="MethodName" /> - <module name="PackageName" /> - <module name="ParameterName" /> - <module name="StaticVariableName" /> - <module name="TypeName" /> - <!-- ============================== --> - <!-- ============================== --> - <!-- Checks for Headers --> - <!-- See http://checkstyle.sf.net/config_header.html --> - <!-- <module name="Header"> --> - <!-- The follow property value demonstrates the ability --> - <!-- to have access to ANT properties. In this case it uses --> - <!-- the ${basedir} property to allow Checkstyle to be run --> - <!-- from any directory within a project. --> - <!-- <property name="headerFile" value="${basedir}/java.header"/> - </module> - --> - <!-- Following interprets the header file as regular expressions. --> - <!-- <module name="RegexpHeader"/> --> - <!-- ============================== --> - <!-- ============================== --> - <!-- Checks for imports --> - <!-- See http://checkstyle.sf.net/config_import.html --> - <module name="AvoidStarImport" /> - <module name="IllegalImport" /> - <!-- defaults to sun.* packages --> - <module name="RedundantImport" /> - <module name="UnusedImports" /> - <!-- ============================== --> - <!-- ============================== --> - <!-- Checks for Size Violations. --> - <!-- See http://checkstyle.sf.net/config_sizes.html --> - <module name="FileLength" /> - <module name="LineLength"> - <property name="max" value="150" /> - </module> - <module name="MethodLength"> - <property name="max" value="200" /> - </module> - <module name="ParameterNumber"> - <property name="max" value="8" /> - </module> - <module name="AnonInnerLength"> - <property name="max" value="25" /> - </module> - <!-- ============================== --> - <!-- ============================== --> - <!-- Checks for whitespace --> - <!-- See http://checkstyle.sf.net/config_whitespace.html --> - <module name="EmptyForIteratorPad" /> - <!-- <module name="NoWhitespaceAfter"/> - <module name="NoWhitespaceBefore"/> - <module name="WhitespaceAfter"/> - <module name="WhitespaceAround"/> - --> - <module name="OperatorWrap" /> - <module name="ParenPad" /> - <module name="TypecastParenPad" /> - <module name="TabCharacter" /> - <!-- ============================== --> - <!-- ============================== --> - <!-- Modifier Checks --> - <!-- See http://checkstyle.sf.net/config_modifiers.html --> - <module name="ModifierOrder" /> - <module name="RedundantModifier" /> - <!-- ============================== --> - <!-- ============================== --> - <!-- Checks for blocks. You know, those {}'s --> - <!-- See http://checkstyle.sf.net/config_blocks.html --> - <module name="AvoidNestedBlocks" /> - <module name="EmptyBlock" /> - <module name="LeftCurly" /> - <module name="NeedBraces" /> - <module name="RightCurly" /> - <!-- ============================== --> - <!-- ============================== --> - <!-- Checks for common coding problems --> - <!-- See http://checkstyle.sf.net/config_coding.html --> - <!-- <module name="AvoidInlineConditionals"/> --> - <module name="DoubleCheckedLocking" /> - <module name="EmptyStatement" /> - <module name="EqualsHashCode" /> - <module name="HiddenField"> - <property name="ignoreSetter" value="true" /> - <property name="ignoreConstructorParameter" value="true" /> - </module> - <module name="IllegalInstantiation" /> - <module name="InnerAssignment" /> - <module name="MagicNumber" /> - <module name="MissingSwitchDefault" /> - <module name="RedundantThrows" /> - <module name="SimplifyBooleanExpression" /> - <module name="SimplifyBooleanReturn" /> - <!-- ============================== --> - <!-- ============================== --> - <!-- Checks for class design --> - <!-- See http://checkstyle.sf.net/config_design.html --> - <!-- <module name="DesignForExtension"/> --> - <module name="MutableException" /> - <module name="FinalClass" /> - <module name="HideUtilityClassConstructor" /> - <module name="InterfaceIsType" /> - <module name="VisibilityModifier" /> - <module name="ThrowsCount"> - <property name="max" value="5" /> - </module> - <!-- ============================== --> - <!-- ============================== --> - <!-- Miscellaneous other checks. --> - <!-- See http://checkstyle.sf.net/config_misc.html --> - <module name="ArrayTypeStyle" /> - <module name="FinalParameters"> - <property name="tokens" value="CTOR_DEF" /> - </module> - <module name="GenericIllegalRegexp"> - <!-- . matches any character, so we need to escape it and use \. to match dots. --> - <property name="format" value="System\.out\.println" /> - </module> - <module name="GenericIllegalRegexp"> - <!-- . matches any character, so we need to escape it and use \. to match dots. --> - <property name="format" value="System\.err\.println" /> - </module> - <module name="TodoComment" /> - <module name="UpperEll" /> - <!-- ============================== --> - <!-- ============================== --> - <!-- New Tests with 3.2 --> - <module name="CyclomaticComplexity"> - <property name="max" value="15" /> - <!-- <property name="severity" value="ignore"/> --> - </module> - <!-- ============================== --> - <!-- ============================== --> - <!-- See http://checkstyle.sf.net/config_usage.html --> - <!-- <module name="usage.OneMethodPrivateField"/> - <module name="usage.UnusedLocalVariable"/> - <module name="usage.UnusedParameter"> - <property name="ignoreFormat" value="^ignore"/> - </module> - <module name="usage.UnusedPrivateField"> - <property name="ignoreFormat" value="serialVersionUID"/> - </module> - <module name="usage.UnusedPrivateMethod"> - <property name="ignoreFormat" value="readObject$|writeObject$|readResolve$"/> - </module>--> - <module name="StringLiteralEquality" /> - <module name="SuperClone" /> - <module name="SuperFinalize" /> - <module name="NestedIfDepth"> - <property name="max" value="3" /> - </module> - <module name="NestedTryDepth" /> - <module name="ReturnCount"> - <property name="max" value="3" /> - </module> - <!-- ============================== --> - <!-- ============================== --> - <!-- j2ee stuff --> - <module name="j2ee.FinalStatic" /> - <module name="j2ee.LocalHomeInterface" /> - <module name="j2ee.LocalInterface" /> - <module name="j2ee.MessageBean" /> - <module name="j2ee.RemoteHomeInterface" /> - <module name="j2ee.RemoteInterface" /> - <module name="j2ee.SessionBean" /> - <module name="j2ee.ThisParameter" /> - <module name="j2ee.ThisReturn" /> - <!-- ============================== --> - <!-- ============================== --> - <!-- New 3.4 tests --> - <module name="BooleanExpressionComplexity"> - <property name="max" value="7" /> - </module> - <module name="ClassDataAbstractionCoupling"> - <property name="max" value="13" /> - </module> - <module name="NPathComplexity" /> - <module name="FallThrough" /> - <module name="MultipleVariableDeclarations" /> - <!-- <module name="UnnecessaryParentheses"/> --> - <!-- New 3.4 tests --> - </module> - <!-- - <module name="SuppressionFilter"> - <property name="file" value="lib/build/checkstyle-suppressions.xml"/> - </module> - --> -</module> - Deleted: trunk/common-build/project.properties =================================================================== --- trunk/common-build/project.properties 2010-03-28 12:20:22 UTC (rev 321) +++ trunk/common-build/project.properties 2010-03-28 20:08:11 UTC (rev 322) @@ -1,109 +0,0 @@ -#/* -# * ======================================================================== -# * -# * -# * ======================================================================== -# */ -maven.checkstyle.header.file = ${basedir}/../checkstyle-license.txt - -# Make sure we fork JUnit so that we can use a different version of Ant than -# the one provided by Maven. -maven.junit.fork = true - -# Display junit execution details on screen -maven.junit.usefile = false - -# Do not display junit test suite summary information -maven.junit.printSummary = false - -# Print names of test cases as they execute -maven.junit.format = plain - -# Target 1.5 JVMs -maven.compile.target=5 -# Source code is 1.5 -maven.compile.source=1.5 -#maven.compile.verbose=true - -maven.multiproject.ignoreFailures=true - -# Deprecation compilation -maven.compile.deprecation=on -maven.javadoc.debug=true -#pom.package=net.objectlab.kit.* -#maven.javadoc.extrasourcepath=../datecalc-jdk/src/main/java/**.java -#internal_javadoc_needed=true - -# ------------------------------------------------------------------- -# T E S T P R O P E R T I E S -# ------------------------------------------------------------------- -# Source Code for Test -maven.test.source = 1.5 -# enabling RUNNING with assertions! -maven.junit.jvmargs=-ea -maven.test.failure.ignore=true -maven.test.error.ignore=true -maven.test.skip=false - -# As we're using SVN we need to have this property set to tell the changelog plugin to use SVN -# and not CVS (which is its default) -#maven.changelog.factory = org.apache.maven.svnlib.SvnChangeLogFactory - -# ------------------------------------------------------------------- -# S I M I A N P R O P E R T I E S -# ------------------------------------------------------------------- -maven.simian.includetests=false - -# ------------------------------------------------------------------- -# Q A L A B P R O P E R T I E S -# ------------------------------------------------------------------- -#maven.qalab.merge.outputfile = ${basedir}/../qalab.xml -#maven.qalab.chart.destinationdir=${basedir}/../target/docs/qalab -#maven.qalab.movers.outputfile=${basedir}/../target/docs/qalab/qalab-movers.xml -maven.qalab.merge.propertiesFile=${basedir}/../project.properties -qalab.merge.timestampdateonly=true -qalab.merge.action=replace -maven.qalab.merge.quiet=true - -## -## Y D O C -## -maven.ydoc.packages=net.objectlab.kit.* - -#maven.build.dest = ${basedir}/classes -# ------------------------------------------------------------------------ -# M A V E N J A R O V E R R I D E -# ------------------------------------------------------------------------ -maven.jar.override = on - -# ------------------------------------------------------------------------ -# Jars set explicity by path. -# ------------------------------------------------------------------------ -maven.jar.class2svg = ${basedir}/../common-build/class2svg.jar -maven.jar.tools = ${java.home}/../lib/tools.jar - -maven.javadoc.additionalparam = "-breakiterator" - -#maven.ydoc.resources = ${basedir}/../common-build/resources - -#maven.xdoc.theme.url=http://maven.apache.org/maven-1.x/style/maven-stylus.css -#maven.xdoc.theme.url=http://maven.apache.org/style/maven-stylus.css -maven.xdoc.theme=objectlabkit -maven.docs.src=${basedir}/src/site - -# -# CHECKSTYLE -# -maven.checkstyle.dir=${maven.build.dir} -maven.checkstyle.properties=${basedir}/../common-build/objectlab_checks.xml -maven.checkstyle.check.tests=false - -# -# PMD -# -maven.pmd.targetjdk=1.5 - -maven.multiproject.navigation=independent - -maven.repo.remote=http://repo1.maven.org/maven,http://people.apache.org/repo/m1-snapshot-repository/ -maven.changes.issue.template=http://sourceforge.net/support/tracker.php?aid=%ISSUE% Deleted: trunk/common-build/project.xml =================================================================== --- trunk/common-build/project.xml 2010-03-28 12:20:22 UTC (rev 321) +++ trunk/common-build/project.xml 2010-03-28 20:08:11 UTC (rev 322) @@ -1,141 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<!-- - /* - * ======================================================================== - * $Id$ - * - * Copyright 2006 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not - * use this file except in compliance with the License. You may obtain a copy of - * the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations under - * the License. - * ======================================================================== - */ ---> - -<project xmlns="http://maven.apache.org/POM/3.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/3.0.0 http://maven.apache.org/maven-v3_0_0.xsd"> - <pomVersion>3</pomVersion> - <groupId>net.objectlab.kit.datecalc</groupId> - <currentVersion>1.2.0</currentVersion> - <organization> - <name>Appendium - Portfolio Financing Platform</name> - <url>http://www.appendium.com/</url> - <logo>http://www.appendium.com/openimages/appendium_logo.jpg</logo> - </organization> - <inceptionYear>2006</inceptionYear> - <url>http://objectlabkit.sourceforge.net</url> - <issueTrackingUrl>http://www.sourceforge.net/tracker/?group_id=175139</issueTrackingUrl> - <siteAddress>objectlabkit.sourceforge.net</siteAddress> - <siteDirectory>/var/www/solutions/website/objectlab.co.uk/</siteDirectory> - <repository> - <url>http://objectlabkit.svn.sourceforge.net/svnroot/objectlabkit</url> - <connection>scm:svn:https://objectlabkit.svn.sourceforge.net/svnroot/objectlabkit/trunk</connection> - <developerConnection>scm:svn:https://objectlabkit.svn.sourceforge.net/svnroot/objectlabkit/trunk</developerConnection> - </repository> - <developers> - <developer> - <name>Benoit Xhenseval</name> - <id>benoitx</id> - <email>kit AT appendium DOT com</email> - <organization>Appendium Ltd</organization> - <roles> - <role>Team Leader</role> - <role>Developer</role> - </roles> - <url>http://www.xhenseval.com</url> - <timezone>+0</timezone> - </developer> - <developer> - <name>Marcin Jekot</name> - <id>marchy</id> - <email>marchy at users dot sourceforge dot net</email> - <organization>ObjectLab Financial Ltd</organization> - <roles> - <role>Developer</role> - </roles> - <timezone>+0</timezone> - </developer> - </developers> - <!-- any mailing lists for the project --> - <mailingLists> - <mailingList> - <name>News about ObjectLab's projects (Alerts online)</name> - <subscribe>http://lists.sourceforge.net/lists/listinfo/objectlabkit-news</subscribe> - <unsubscribe>http://lists.sourceforge.net/lists/listinfo/objectlabkit-news</unsubscribe> - <post /> - <archive>http://sourceforge.net/mailarchive/forum.php?forum=objectlabkit-news</archive> - </mailingList> - <mailingList> - <name>Kit Announcements</name> - <subscribe>http://lists.sourceforge.net/lists/listinfo/objectlabkit-announce</subscribe> - <unsubscribe>http://lists.sourceforge.net/lists/listinfo/objectlabkit-announce</unsubscribe> - <post /> - <archive>http://sourceforge.net/mailarchive/forum.php?forum=objectlabkit-announce</archive> - </mailingList> - <mailingList> - <name>Kit User</name> - <subscribe>http://lists.sourceforge.net/lists/listinfo/objectlabkit-user</subscribe> - <unsubscribe>http://lists.sourceforge.net/lists/listinfo/objectlabkit-user</unsubscribe> - <post>obj...@li...</post> - <archive>http://sourceforge.net/mailarchive/forum.php?forum=objectlabkit-user</archive> - </mailingList> - <mailingList> - <name>Kit Developers (SVN checkins)</name> - <subscribe>http://lists.sourceforge.net/lists/listinfo/objectlabkit-svn</subscribe> - <unsubscribe>http://lists.sourceforge.net/lists/listinfo/objectlabkit-svn</unsubscribe> - <post /> - <archive>http://sourceforge.net/mailarchive/forum.php?forum=objectlabkit-svn</archive> - </mailingList> - </mailingLists> - - <build> - <!-- We need to put here something other when we release it or I'll receive the emails from - everyone who tries to use the project... --> - <nagEmailAddress>ki...@ob...</nagEmailAddress> - <defaultGoal>kit:build</defaultGoal> - </build> - - <reports> - <report>maven-checkstyle-plugin</report> - <report>maven-findbugs-plugin</report> - <report>maven-pmd-plugin</report> - <report>maven-simian-plugin</report> - <report>maven-cobertura-plugin</report> - <report>maven-qalab-plugin</report> - <report>maven-ydoc-plugin</report> - <report>maven-jdepend-plugin</report> - <report>maven-faq-plugin</report> - <report>maven-junit-report-plugin</report> - <report>maven-jxr-plugin</report> - <report>maven-tasklist-plugin</report> - </reports> - - <versions> - <version> - <id>1.1.0</id> - <name>1.1.0</name> - <tag>v1.1.0</tag> - </version> - <version> - <id>1.2.0</id> - <name>1.2.0</name> - <tag>v1.2.0</tag> - </version> - <version> - <id>1.0.1</id> - <name>1.0.1</name> - <tag>v1.0.1</tag> - </version> - </versions> -</project> - Deleted: trunk/datecalc-common/maven.xml =================================================================== --- trunk/datecalc-common/maven.xml 2010-03-28 12:20:22 UTC (rev 321) +++ trunk/datecalc-common/maven.xml 2010-03-28 20:08:11 UTC (rev 322) @@ -1,18 +0,0 @@ -<?xml version="1.0"?> - -<!-- - /* - * ======================================================================== - * ObjectLab Financial Ltd, proud sponsor of The Kit. - * ======================================================================== - */ ---> - -<project xmlns:j="jelly:core" xmlns:core="jelly:core" - xmlns:maven="jelly:maven" xmlns:ant="jelly:ant" - xmlns:define="jelly:define" xmlns:doc="doc" xmlns:util="jelly:util" - xmlns:log="jelly:log"> - - <goal name="kit:build" prereqs="jar:install" /> - <goal name="kit:rebuild" prereqs="clean,kit:build" /> -</project> Deleted: trunk/datecalc-common/project.properties =================================================================== --- trunk/datecalc-common/project.properties 2010-03-28 12:20:22 UTC (rev 321) +++ trunk/datecalc-common/project.properties 2010-03-28 20:08:11 UTC (rev 322) @@ -1,2 +0,0 @@ -qalab.merge.projectName=objectlabkit -qalab.merge.moduleName=common Deleted: trunk/datecalc-common/project.xml =================================================================== --- trunk/datecalc-common/project.xml 2010-03-28 12:20:22 UTC (rev 321) +++ trunk/datecalc-common/project.xml 2010-03-28 20:08:11 UTC (rev 322) @@ -1,67 +0,0 @@ -<?xml version="1.0"?> - -<!-- - /* - * ======================================================================== - * $Id$ - * - * Copyright 2006 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not - * use this file except in compliance with the License. You may obtain a copy of - * the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations under - * the License. - * ======================================================================== - */ ---> - -<project> - <extend>../common-build/project.xml</extend> - <name>DateCalc Common</name> - <artifactId>datecalc-common</artifactId> - <package>net.objectlab.kit.datecalc</package> - <shortDescription>DateCalc Common library</shortDescription> - <description> - DateCalc Common library is the library used by both JDK and JODA - libraries. - </description> - <repository> - <connection> - scm:svn:https://objectlabkit.svn.sourceforge.net/svnroot/objectlabkit/trunk/datecalc-common - </connection> - <developerConnection> - scm:svn:https://objectlabkit.svn.sourceforge.net/svnroot/objectlabkit/trunk/datecalc-common - </developerConnection> - </repository> - <dependencies /> - - <build> - <sourceDirectory>src/main/java</sourceDirectory> - <unitTestSourceDirectory>src/test/java</unitTestSourceDirectory> - <unitTest> - <includes> - <include>**/*Test.java</include> - </includes> - <excludes> - <exclude>**/Abstract*.java</exclude> - </excludes> - <resources> - <resource> - <directory>src/test/java</directory> - <includes> - <include>**/*.txt</include> - </includes> - <filtering>false</filtering> - </resource> - </resources> - </unitTest> - </build> - -</project> Deleted: trunk/datecalc-jdk/maven.xml =================================================================== --- trunk/datecalc-jdk/maven.xml 2010-03-28 12:20:22 UTC (rev 321) +++ trunk/datecalc-jdk/maven.xml 2010-03-28 20:08:11 UTC (rev 322) @@ -1,32 +0,0 @@ -<?xml version="1.0"?> - -<!-- - /* - * ======================================================================== - * $Id$ - * - * Copyright 2006 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not - * use this file except in compliance with the License. You may obtain a copy of - * the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations under - * the License. - * ======================================================================== - */ ---> - -<project xmlns:j="jelly:core" xmlns:ant="jelly:ant" - xmlns:artifact="artifact" - xmlns:maven="jelly:org.apache.maven.jelly.tags.project.MavenTagLibrary"> - - <goal name="kit:rebuild" prereqs="clean,kit:build" /> - - <goal name="kit:build" prereqs="jar:install" /> -</project> Deleted: trunk/datecalc-jdk/project.properties =================================================================== --- trunk/datecalc-jdk/project.properties 2010-03-28 12:20:22 UTC (rev 321) +++ trunk/datecalc-jdk/project.properties 2010-03-28 20:08:11 UTC (rev 322) @@ -1,2 +0,0 @@ -qalab.merge.projectName=objectlabkit -qalab.merge.moduleName=jdk Deleted: trunk/datecalc-jdk/project.xml =================================================================== --- trunk/datecalc-jdk/project.xml 2010-03-28 12:20:22 UTC (rev 321) +++ trunk/datecalc-jdk/project.xml 2010-03-28 20:08:11 UTC (rev 322) @@ -1,78 +0,0 @@ -<?xml version="1.0"?> - -<!-- - /* - * ======================================================================== - * $Id$ - * - * Copyright 2006 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not - * use this file except in compliance with the License. You may obtain a copy of - * the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations under - * the License. - * ======================================================================== - */ ---> - -<project> - <extend>../common-build/project.xml</extend> - <name>DateCalc JDK</name> - <artifactId>datecalc-jdk</artifactId> - <package>net.objectlab.kit.datecalc</package> - <shortDescription>DateCalc JDK library</shortDescription> - <description> - This library provides pure JDK implementation of the Kit - Calculators. - </description> - <repository> - <connection> - scm:svn:https://objectlabkit.svn.sourceforge.net/svnroot/objectlabkit/trunk/datecalc-jdk - </connection> - <developerConnection> - scm:svn:https://objectlabkit.svn.sourceforge.net/svnroot/objectlabkit/trunk/datecalc-jdk - </developerConnection> - </repository> - <dependencies> - <dependency> - <groupId>net.objectlab.kit.datecalc</groupId> - <artifactId>datecalc-common</artifactId> - <version>${pom.currentVersion}</version> - <type>jar</type> - </dependency> - </dependencies> - - - <build> - <sourceDirectory>src/main/java</sourceDirectory> - <unitTestSourceDirectory>src/test/java</unitTestSourceDirectory> - <unitTest> - <includes> - <include>**/*Test.java</include> - </includes> - <excludes> - <exclude>**/Abstract*.java</exclude> - </excludes> - - <!-- The tests depends on the COMMON tests. --> - <resources> - <resource> - <directory> - ../datecalc-common/target/test-classes - </directory> - <filtering>false</filtering> - <includes> - <include>**/*.class</include> - </includes> - </resource> - </resources> - </unitTest> - </build> -</project> Deleted: trunk/datecalc-joda/maven.xml =================================================================== --- trunk/datecalc-joda/maven.xml 2010-03-28 12:20:22 UTC (rev 321) +++ trunk/datecalc-joda/maven.xml 2010-03-28 20:08:11 UTC (rev 322) @@ -1,32 +0,0 @@ -<?xml version="1.0"?> - -<!-- - /* - * ======================================================================== - * $Id$ - * - * Copyright 2006 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not - * use this file except in compliance with the License. You may obtain a copy of - * the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations under - * the License. - * ======================================================================== - */ ---> - -<project xmlns:j="jelly:core" xmlns:ant="jelly:ant" - xmlns:artifact="artifact" - xmlns:maven="jelly:org.apache.maven.jelly.tags.project.MavenTagLibrary"> - - <goal name="kit:rebuild" prereqs="clean,kit:build" /> - - <goal name="kit:build" prereqs="jar:install"/> -</project> Deleted: trunk/datecalc-joda/project.properties =================================================================== --- trunk/datecalc-joda/project.properties 2010-03-28 12:20:22 UTC (rev 321) +++ trunk/datecalc-joda/project.properties 2010-03-28 20:08:11 UTC (rev 322) @@ -1,2 +0,0 @@ -qalab.merge.projectName=objectlabkit -qalab.merge.moduleName=joda Deleted: trunk/datecalc-joda/project.xml =================================================================== --- trunk/datecalc-joda/project.xml 2010-03-28 12:20:22 UTC (rev 321) +++ trunk/datecalc-joda/project.xml 2010-03-28 20:08:11 UTC (rev 322) @@ -1,83 +0,0 @@ -<?xml version="1.0"?> - -<!-- - /* - * ======================================================================== - * $Id$ - * - * Copyright 2006 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not - * use this file except in compliance with the License. You may obtain a copy of - * the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations under - * the License. - * ======================================================================== - */ ---> - -<project> - <extend>../common-build/project.xml</extend> - <name>DateCalc Joda</name> - <artifactId>datecalc-joda</artifactId> - <package>net.objectlab.kit.datecalc</package> - <shortDescription>DateCalc JDK library</shortDescription> - <description> - This library provides a Joda-Time implementation of the Kit - Calculators. - </description> - <repository> - <connection> - scm:svn:https://objectlabkit.svn.sourceforge.net/svnroot/objectlabkit/trunk/datecalc-joda - </connection> - <developerConnection> - scm:svn:https://objectlabkit.svn.sourceforge.net/svnroot/objectlabkit/trunk/datecalc-joda - </developerConnection> - </repository> - <dependencies> - <dependency> - <groupId>net.objectlab.kit.datecalc</groupId> - <artifactId>datecalc-common</artifactId> - <version>${pom.currentVersion}</version> - <type>jar</type> - </dependency> - <dependency> - <groupId>joda-time</groupId> - <artifactId>joda-time</artifactId> - <version>1.5</version> - <type>jar</type> - </dependency> - </dependencies> - - <build> - <sourceDirectory>src/main/java</sourceDirectory> - <unitTestSourceDirectory>src/test/java</unitTestSourceDirectory> - <unitTest> - <includes> - <include>**/*Test.java</include> - </includes> - <excludes> - <exclude>**/Abstract*.java</exclude> - </excludes> - - <!-- The tests depends on the COMMON tests. --> - <resources> - <resource> - <directory> - ../datecalc-common/target/test-classes - </directory> - <filtering>false</filtering> - <includes> - <include>**/*.class</include> - </includes> - </resource> - </resources> - </unitTest> - </build> -</project> Deleted: trunk/maven.xml =================================================================== --- trunk/maven.xml 2010-03-28 12:20:22 UTC (rev 321) +++ trunk/maven.xml 2010-03-28 20:08:11 UTC (rev 322) @@ -1,54 +0,0 @@ -<?xml version="1.0"?> - -<!-- - /* - * ======================================================================== - * $Id$ - * - * Copyright 2006 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not - * use this file except in compliance with the License. You may obtain a copy of - * the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations under - * the License. - * ======================================================================== - */ ---> - -<project xmlns:j="jelly:core" xmlns:ant="jelly:ant" - xmlns:maven="jelly:maven" xmlns:x="jelly:xml"> - - <goal name="kit:clean" prereqs="multiproject:clean,clean" /> - - <goal name="kit:build"> - <j:set var="goal" value="kit:build" /> - <j:set var="do.obfuscation" value="false" scope="parent" /> - <attainGoal name="multiproject:goal" /> - </goal> - - <goal name="kit:rebuild"> - <attainGoal name="kit:clean" /> - <j:set var="goal" value="kit:rebuild" /> - <attainGoal name="multiproject:goal" /> - </goal> - - <goal name="kit:releasebuild"> - <attainGoal name="kit:clean" /> - <j:set var="goal" value="artifact:create-upload-bundle" /> - <attainGoal name="multiproject:goal" /> - <attainGoal name="kit:site" /> - </goal> - - <goal name="kit:site"> - <attainGoal name="dist:build" /> - <attainGoal name="dist:multiproject" /> - </goal> - -</project> Deleted: trunk/project.properties =================================================================== --- trunk/project.properties 2010-03-28 12:20:22 UTC (rev 321) +++ trunk/project.properties 2010-03-28 20:08:11 UTC (rev 322) @@ -1,114 +0,0 @@ -#/* -# * ======================================================================== -# * -# * Copyright 2005 ObjectLab Financial Ltd -# * -# * $Id$ -# * ======================================================================== -# */ - -# Multiproject properties -maven.multiproject.basedir=. -maven.multiproject.includes=*/project.xml -maven.multiproject.excludes=common-build/project.xml -maven.multiproject.navigation=aggregate - -maven.docs.src=src/site -maven.faq.src=src/site - -# ------------------------------------------------------------------- -# D A S H B O A R D P R O P E R T I E S -# ------------------------------------------------------------------- -# Tells the dashboard plugin not to run its own reactor. -# We'll use the one run by the multiproject. -maven.dashboard.runreactor = false -# -# Tells the multiproject plugin to execute the dashboard:report-single -# goal on each project when you run it through multiproject:site. -maven.multiproject.site.goals=site, dashboard:report-single -# -maven.dashboard.aggregators = cserrors,pmdviolations,fbviolations,simiantdl,junittests,junitfailures,juniterrors,junitpassrate,coberturalipc,coberturaloc -#maven.dashboard.aggregators = csfiles,cswarnings,cserrors,junittests,junitfailures,juniterrors,junitpassrate,pmdfiles,pmdviolations,simiantdl,jcoveragelipc,jcoverageloc - -maven.pmd.check.tests=false - -# ------------------------------------------------------------------- -# X D O C P R O P E R T I E S -# ------------------------------------------------------------------- -# Display the date on the Maven web site -maven.xdoc.date=left -maven.xdoc.date.format=dd MMM yyyy HH:mm z - -# Display the maven version the web site is documenting -#maven.xdoc.version = -maven.xdoc.version=${pom.currentVersion} -maven.xdoc.distributionUrl=https://sourceforge.net/project/showfiles.php?group_id=175139 -#maven.xdoc.poweredby.image=objectlab-poweredby.gif -maven.xdoc.poweredby.title=Powered By the Nice People of ObjectLab -maven.xdoc.poweredby.url=http://www.objectlab.co.uk - -# ------------------------------------------------------------------- -# A N N O U N C E M E N T P R O P E R T I E S -# ------------------------------------------------------------------- -#maven.announcement.distributionUrl=http://sourceforge.net/project/showfiles.php?group_id=140880 - -# ------------------------------------------------------------------- -# C H A N G E L O G P R O P E R T I E S -# ------------------------------------------------------------------- -# Change log & activity stuff -maven.changelog.factory=org.apache.maven.svnlib.SvnChangeLogFactory - -# ------------------------------------------------------------------- -# C H E C K S T Y L E P R O P E R T I E S -# ------------------------------------------------------------------- -#maven.checkstyle.properties = ${basedir}/checkstyle.xml -maven.checkstyle.header.file = ${basedir}/../checkstyle-license.txt -maven.checkstyle.properties = ${basedir}/../checkstyle_checks.xml - -# ------------------------------------------------------------------- -# S I M I A N P R O P E R T I E S -# ------------------------------------------------------------------- -maven.simian.includetests=no - - -# Define the following 3 properties in your build.properties as they are -# environment-dependant -# -# Location where CruiseControl is installed -#maven.cruisecontrol.home=C:/apps/cruisecontrol-2.2.1 -# -# The work directory that contains our CruiseControl configuration for this project -#maven.cruisecontrol.work.dir=c:/dev/mavenbook/work/cruisecontrol -# -# SMTP mail server to use for sending emails -#maven.cruisecontrol.mail.host=localhost - -# The goals to run on the webapp project to build it -maven.cruisecontrol.goals=scm:update|multiproject:clean safemargin:build multiproject:site - -# ------------------------------------------------------------------- -# Q A L A B P R O P E R T I E S -# ------------------------------------------------------------------- -#maven.qalab.merge.outputfile = ${basedir}/../qalab.xml -#maven.qalab.chart.destinationdir=${basedir}/../target/docs/qalab -#maven.qalab.movers.outputfile=${basedir}/../target/docs/qalab/qalab-movers.xml -qalab.merge.timestampdateonly=true -qalab.merge.action=replace -maven.qalab.merge.quiet=true -maven.qalab.merge.checkstyle = ${maven.build.dir}/checkstyle-raw-report.xml -maven.qalab.movers.types=checkstyle,pmd,findbugs - -# ------------------------------------------------------------------- -# F I N D B U G S P R O P E R T I E S -# ------------------------------------------------------------------- -maven.findbugs.excludeFilter=${basedir}/../common-build/findbugs-exclude-filter.xml - -# ------------------------------------------------------------------- -# Z K M P R O P E R T I E S -# ------------------------------------------------------------------- -#do.obfuscation=false - -# -maven.ydoc.packages=net.objectlab.kit.* - -maven.repo.remote=http://repo1.maven.org/maven,http://people.apache.org/repo/m1-snapshot-repository/ Deleted: trunk/project.xml =================================================================== --- trunk/project.xml 2010-03-28 12:20:22 UTC (rev 321) +++ trunk/project.xml 2010-03-28 20:08:11 UTC (rev 322) @@ -1,42 +0,0 @@ -<?xml version="1.0"?> - -<!-- - /* - * ======================================================================== - * $Id$ - * - * Copyright 2006 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not - * use this file except in compliance with the License. You may obtain a copy of - * the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations under - * the License. - * ======================================================================== - */ ---> - -<project> - <extend>${basedir}/common-build/project.xml</extend> - <artifactId>objectlabkit</artifactId> - <name>ObjectLab Kit</name> - <shortDescription> - Useful Kit from your friendly ObjectLab people: Date Calculators, IMM Dates, Period Count, Tenor moves, etc. - </shortDescription> - <reports> - <report>maven-faq-plugin</report> - <report>maven-dashboard-plugin</report> - <report>maven-license-plugin</report> - <report>maven-changes-plugin</report> - <report>maven-changelog-plugin</report> - <report>maven-developer-activity-plugin</report> - <report>maven-file-activity-plugin</report> - <!--<report>maven-linkcheck-plugin</report>--> - </reports> -</project> Copied: trunk/src/source-checks/checkstyle-checks.xml (from rev 317, trunk/common-build/checkstyle_checks.xml) =================================================================== --- trunk/src/source-checks/checkstyle-checks.xml (rev 0) +++ trunk/src/source-checks/checkstyle-checks.xml 2010-03-28 20:08:11 UTC (rev 322) @@ -0,0 +1,227 @@ +<?xml version="1.0"?> +<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.1//EN" + "http://www.puppycrawl.com/dtds/configuration_1_1.dtd"> +<!-- + + ObjectLab Checkstyle. + $Id$ + +--> +<module name="Checker"> + <!-- Checks that a package.html file exists for each package. --> + <!-- See http://checkstyle.sf.net/config_javadoc.html#PackageHtml --> + <module name="JavadocPackage" /> + <!-- Checks whether files end with a new line. --> + <!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile --> + <module name="NewlineAtEndOfFile" /> + <!-- Checks that property files contain the same keys. --> + <!-- See http://checkstyle.sf.net/config_misc.html#Translation --> + <module name="Translation" /> + <module name="TreeWalker"> + <!-- ============================== --> + <!-- ============================== --> + <!-- Checks for Javadoc comments. --> + <!-- See http://checkstyle.sf.net/config_javadoc.html - -> + <module name="JavadocMethod"> + <property name="scope" value="public"/> + </module> + <module name="JavadocType"/> + <module name="JavadocVariable"/> + --> + <!-- ============================== --> + <!-- ============================== --> + <!-- Checks for Naming Conventions. --> + <!-- See http://checkstyle.sf.net/config_naming.html --> + <module name="ConstantName" /> + <module name="LocalFinalVariableName" /> + <module name="LocalVariableName" /> + <module name="MemberName" /> + <module name="MethodName" /> + <module name="PackageName" /> + <module name="ParameterName" /> + <module name="StaticVariableName" /> + <module name="TypeName" /> + <!-- ============================== --> + <!-- ============================== --> + <!-- Checks for Headers --> + <!-- See http://checkstyle.sf.net/config_header.html --> + <!-- <module name="Header"> --> + <!-- The follow property value demonstrates the ability --> + <!-- to have access to ANT properties. In this case it uses --> + <!-- the ${basedir} property to allow Checkstyle to be run --> + <!-- from any directory within a project. --> + <!-- <property name="headerFile" value="${basedir}/java.header"/> + </module> + --> + <!-- Following interprets the header file as regular expressions. --> + <!-- <module name="RegexpHeader"/> --> + <!-- ============================== --> + <!-- ============================== --> + <!-- Checks for imports --> + <!-- See http://checkstyle.sf.net/config_import.html --> + <module name="AvoidStarImport" /> + <module name="IllegalImport" /> + <!-- defaults to sun.* packages --> + <module name="RedundantImport" /> + <module name="UnusedImports" /> + <!-- ============================== --> + <!-- ============================== --> + <!-- Checks for Size Violations. --> + <!-- See http://checkstyle.sf.net/config_sizes.html --> + <module name="FileLength" /> + <module name="LineLength"> + <property name="max" value="150" /> + </module> + <module name="MethodLength"> + <property name="max" value="200" /> + </module> + <module name="ParameterNumber"> + <property name="max" value="8" /> + </module> + <module name="AnonInnerLength"> + <property name="max" value="25" /> + </module> + <!-- ============================== --> + <!-- ============================== --> + <!-- Checks for whitespace --> + <!-- See http://checkstyle.sf.net/config_whitespace.html --> + <module name="EmptyForIteratorPad" /> + <!-- <module name="NoWhitespaceAfter"/> + <module name="NoWhitespaceBefore"/> + <module name="WhitespaceAfter"/> + <module name="WhitespaceAround"/> + --> + <module name="OperatorWrap" /> + <module name="ParenPad" /> + <module name="TypecastParenPad" /> + <module name="TabCharacter" /> + <!-- ============================== --> + <!-- ============================== --> + <!-- Modifier Checks --> + <!-- See http://checkstyle.sf.net/config_modifiers.html --> + <module name="ModifierOrder" /> + <module name="RedundantModifier" /> + <!-- ============================== --> + <!-- ============================== --> + <!-- Checks for blocks. You know, those {}'s --> + <!-- See http://checkstyle.sf.net/con... [truncated message content] |