You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(4) |
Nov
(39) |
Dec
(10) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(19) |
Feb
(150) |
Mar
(10) |
Apr
|
May
(8) |
Jun
(11) |
Jul
(27) |
Aug
(52) |
Sep
(35) |
Oct
(30) |
Nov
(18) |
Dec
(4) |
2008 |
Jan
(76) |
Feb
(121) |
Mar
(39) |
Apr
(55) |
May
(18) |
Jun
(49) |
Jul
(32) |
Aug
(4) |
Sep
(10) |
Oct
|
Nov
(3) |
Dec
(33) |
2009 |
Jan
(19) |
Feb
(87) |
Mar
(69) |
Apr
(38) |
May
(47) |
Jun
(20) |
Jul
(5) |
Aug
(76) |
Sep
(145) |
Oct
(34) |
Nov
(8) |
Dec
(68) |
2010 |
Jan
(150) |
Feb
(379) |
Mar
(191) |
Apr
(100) |
May
(525) |
Jun
(269) |
Jul
(127) |
Aug
(190) |
Sep
(190) |
Oct
(29) |
Nov
(147) |
Dec
(83) |
2011 |
Jan
(188) |
Feb
(81) |
Mar
(43) |
Apr
(97) |
May
(63) |
Jun
(129) |
Jul
(17) |
Aug
(124) |
Sep
(6) |
Oct
(20) |
Nov
(67) |
Dec
(23) |
2012 |
Jan
(6) |
Feb
(14) |
Mar
(181) |
Apr
(64) |
May
(102) |
Jun
(47) |
Jul
(26) |
Aug
(3) |
Sep
(1) |
Oct
(14) |
Nov
(13) |
Dec
(23) |
2013 |
Jan
(4) |
Feb
(14) |
Mar
(18) |
Apr
(14) |
May
(27) |
Jun
(27) |
Jul
(5) |
Aug
(2) |
Sep
(74) |
Oct
(79) |
Nov
(21) |
Dec
(97) |
2014 |
Jan
(6) |
Feb
(3) |
Mar
(8) |
Apr
|
May
(5) |
Jun
|
Jul
(9) |
Aug
(6) |
Sep
(3) |
Oct
(10) |
Nov
(6) |
Dec
|
2015 |
Jan
|
Feb
|
Mar
(1) |
Apr
(25) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
|
Apr
(5) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <fg...@us...> - 2008-04-27 21:45:54
|
Revision: 797 http://openutils.svn.sourceforge.net/openutils/?rev=797&view=rev Author: fgiust Date: 2008-04-27 14:45:51 -0700 (Sun, 27 Apr 2008) Log Message: ----------- breadcrumbs Modified Paths: -------------- trunk/openutils-backup/src/site/site.xml trunk/openutils-configuration-dataobjects/src/site/site.xml trunk/openutils-configuration-services/src/site/site.xml trunk/openutils-hibernate-security/src/site/site.xml trunk/openutils-maven-skin/src/site/site.xml trunk/openutils-mgnlspring/src/site/site.xml trunk/openutils-mgnlstripes/src/site/site.xml trunk/openutils-spring/src/site/site.xml trunk/openutils-spring-rmibernate/src/site/site.xml trunk/openutils-tags-spring/src/site/site.xml trunk/openutils-testing-junit/src/site/site.xml trunk/openutils-testing-testng/src/site/site.xml trunk/openutils-testing4dwr-junit/src/site/site.xml trunk/openutils-testing4dwr-testng/src/site/site.xml trunk/openutils-usermanagement/src/site/site.xml trunk/openutils-usermanagement-dataobjects/src/site/site.xml trunk/openutils-web/src/site/site.xml trunk/src/site/site.xml Added Paths: ----------- trunk/openutils-testing4dwr/src/site/ trunk/openutils-testing4dwr/src/site/site.xml Modified: trunk/openutils-backup/src/site/site.xml =================================================================== --- trunk/openutils-backup/src/site/site.xml 2008-04-27 21:36:00 UTC (rev 796) +++ trunk/openutils-backup/src/site/site.xml 2008-04-27 21:45:51 UTC (rev 797) @@ -1,9 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> -<project name="Openutils backup"> - <publishDate position="left" format="yyyy-MM-dd" /> +<project name="Openutils mgnlstripes"> + <publishDate position="navigation-bottom" format="yyyy-MM-dd" /> + <version position="navigation-bottom" /> <bannerRight> <name>Openutils</name> - <src>http://openutils.sourceforge.net/images/openutils-logo.png</src> + <src>http://openutils.sourceforge.net/images/openutils-logo.png + </src> <href>http://openutils.sourceforge.net</href> </bannerRight> <bannerLeft> @@ -15,6 +17,10 @@ <head> <link rel="icon" href="images/favicon.ico" /> </head> + <breadcrumbs> + <item name="openutils" href="http://openutils.sourceforge.net/" /> + <item name="openutils-backup" href="http://openutils.sourceforge.net/openutils-backup" /> + </breadcrumbs> <menu name="openutils-backup"> <item name="Usage" href="index.html"></item> </menu> Modified: trunk/openutils-configuration-dataobjects/src/site/site.xml =================================================================== --- trunk/openutils-configuration-dataobjects/src/site/site.xml 2008-04-27 21:36:00 UTC (rev 796) +++ trunk/openutils-configuration-dataobjects/src/site/site.xml 2008-04-27 21:45:51 UTC (rev 797) @@ -1,9 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> -<project name="Openutils configuration dataobjects"> - <publishDate position="left" format="yyyy-MM-dd" /> +<project name="Openutils mgnlstripes"> + <publishDate position="navigation-bottom" format="yyyy-MM-dd" /> + <version position="navigation-bottom" /> <bannerRight> <name>Openutils</name> - <src>http://openutils.sourceforge.net/images/openutils-logo.png</src> + <src>http://openutils.sourceforge.net/images/openutils-logo.png + </src> <href>http://openutils.sourceforge.net</href> </bannerRight> <bannerLeft> @@ -15,6 +17,10 @@ <head> <link rel="icon" href="images/favicon.ico" /> </head> + <breadcrumbs> + <item name="openutils" href="http://openutils.sourceforge.net/" /> + <item name="openutils-configuration-dataobjects" href="http://openutils.sourceforge.net/openutils-configuration-dataobjects" /> + </breadcrumbs> <menu name="openutils configuration"> <item name="Usage" href="index.html"></item> </menu> Modified: trunk/openutils-configuration-services/src/site/site.xml =================================================================== --- trunk/openutils-configuration-services/src/site/site.xml 2008-04-27 21:36:00 UTC (rev 796) +++ trunk/openutils-configuration-services/src/site/site.xml 2008-04-27 21:45:51 UTC (rev 797) @@ -1,9 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> -<project name="Openutils configuration services"> - <publishDate position="left" format="yyyy-MM-dd" /> +<project name="Openutils mgnlstripes"> + <publishDate position="navigation-bottom" format="yyyy-MM-dd" /> + <version position="navigation-bottom" /> <bannerRight> <name>Openutils</name> - <src>http://openutils.sourceforge.net/images/openutils-logo.png</src> + <src>http://openutils.sourceforge.net/images/openutils-logo.png + </src> <href>http://openutils.sourceforge.net</href> </bannerRight> <bannerLeft> @@ -15,6 +17,10 @@ <head> <link rel="icon" href="images/favicon.ico" /> </head> + <breadcrumbs> + <item name="openutils" href="http://openutils.sourceforge.net/" /> + <item name="openutils-configuration-services" href="http://openutils.sourceforge.net/openutils-configuration-services" /> + </breadcrumbs> <menu name="openutils configuration"> <item name="Usage" href="index.html"></item> </menu> Modified: trunk/openutils-hibernate-security/src/site/site.xml =================================================================== --- trunk/openutils-hibernate-security/src/site/site.xml 2008-04-27 21:36:00 UTC (rev 796) +++ trunk/openutils-hibernate-security/src/site/site.xml 2008-04-27 21:45:51 UTC (rev 797) @@ -1,9 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> -<project name="Openutils hibernate security"> - <publishDate position="left" format="yyyy-MM-dd" /> +<project name="Openutils mgnlstripes"> + <publishDate position="navigation-bottom" format="yyyy-MM-dd" /> + <version position="navigation-bottom" /> <bannerRight> <name>Openutils</name> - <src>http://openutils.sourceforge.net/images/openutils-logo.png</src> + <src>http://openutils.sourceforge.net/images/openutils-logo.png + </src> <href>http://openutils.sourceforge.net</href> </bannerRight> <bannerLeft> @@ -15,6 +17,10 @@ <head> <link rel="icon" href="images/favicon.ico" /> </head> + <breadcrumbs> + <item name="openutils" href="http://openutils.sourceforge.net/" /> + <item name="openutils-hibernate-security" href="http://openutils.sourceforge.net/openutils-hibernate-security" /> + </breadcrumbs> <menu name="openutils hibernate security"> <item name="Usage" href="index.html"></item> </menu> Modified: trunk/openutils-maven-skin/src/site/site.xml =================================================================== --- trunk/openutils-maven-skin/src/site/site.xml 2008-04-27 21:36:00 UTC (rev 796) +++ trunk/openutils-maven-skin/src/site/site.xml 2008-04-27 21:45:51 UTC (rev 797) @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <project name="Openutils mgnlspring"> - <publishDate position="left" format="yyyy-MM-dd" /> + <publishDate position="navigation-bottom" format="yyyy-MM-dd" /> + <version position="navigation-bottom" /> <bannerRight> <name>Openutils</name> <src>http://openutils.sourceforge.net/images/openutils-logo.png Modified: trunk/openutils-mgnlspring/src/site/site.xml =================================================================== --- trunk/openutils-mgnlspring/src/site/site.xml 2008-04-27 21:36:00 UTC (rev 796) +++ trunk/openutils-mgnlspring/src/site/site.xml 2008-04-27 21:45:51 UTC (rev 797) @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <project name="Openutils mgnlspring"> - <publishDate position="left" format="yyyy-MM-dd" /> + <publishDate position="navigation-bottom" format="yyyy-MM-dd" /> + <version position="navigation-bottom" /> <bannerRight> <name>Openutils</name> <src>http://openutils.sourceforge.net/images/openutils-logo.png Modified: trunk/openutils-mgnlstripes/src/site/site.xml =================================================================== --- trunk/openutils-mgnlstripes/src/site/site.xml 2008-04-27 21:36:00 UTC (rev 796) +++ trunk/openutils-mgnlstripes/src/site/site.xml 2008-04-27 21:45:51 UTC (rev 797) @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <project name="Openutils mgnlstripes"> - <publishDate position="left" format="yyyy-MM-dd" /> + <publishDate position="navigation-bottom" format="yyyy-MM-dd" /> + <version position="navigation-bottom" /> <bannerRight> <name>Openutils</name> <src>http://openutils.sourceforge.net/images/openutils-logo.png Modified: trunk/openutils-spring/src/site/site.xml =================================================================== --- trunk/openutils-spring/src/site/site.xml 2008-04-27 21:36:00 UTC (rev 796) +++ trunk/openutils-spring/src/site/site.xml 2008-04-27 21:45:51 UTC (rev 797) @@ -1,9 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> -<project name="Openutils spring"> - <publishDate position="left" format="yyyy-MM-dd" /> +<project name="Openutils mgnlstripes"> + <publishDate position="navigation-bottom" format="yyyy-MM-dd" /> + <version position="navigation-bottom" /> <bannerRight> <name>Openutils</name> - <src>http://openutils.sourceforge.net/images/openutils-logo.png</src> + <src>http://openutils.sourceforge.net/images/openutils-logo.png + </src> <href>http://openutils.sourceforge.net</href> </bannerRight> <bannerLeft> @@ -15,6 +17,10 @@ <head> <link rel="icon" href="images/favicon.ico" /> </head> + <breadcrumbs> + <item name="openutils" href="http://openutils.sourceforge.net/" /> + <item name="openutils-spring" href="http://openutils.sourceforge.net/openutils-spring" /> + </breadcrumbs> <menu name="openutils spring"> <item name="Usage" href="index.html"></item> </menu> Modified: trunk/openutils-spring-rmibernate/src/site/site.xml =================================================================== --- trunk/openutils-spring-rmibernate/src/site/site.xml 2008-04-27 21:36:00 UTC (rev 796) +++ trunk/openutils-spring-rmibernate/src/site/site.xml 2008-04-27 21:45:51 UTC (rev 797) @@ -1,9 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> -<project name="Openutils rmihibernate"> - <publishDate position="left" format="yyyy-MM-dd" /> +<project name="Openutils mgnlstripes"> + <publishDate position="navigation-bottom" format="yyyy-MM-dd" /> + <version position="navigation-bottom" /> <bannerRight> <name>Openutils</name> - <src>http://openutils.sourceforge.net/images/openutils-logo.png</src> + <src>http://openutils.sourceforge.net/images/openutils-logo.png + </src> <href>http://openutils.sourceforge.net</href> </bannerRight> <bannerLeft> @@ -15,6 +17,10 @@ <head> <link rel="icon" href="images/favicon.ico" /> </head> + <breadcrumbs> + <item name="openutils" href="http://openutils.sourceforge.net/" /> + <item name="openutils-spring-rmibernate" href="http://openutils.sourceforge.net/openutils-spring-rmibernate" /> + </breadcrumbs> <menu name="openutils rmihibernate"> <item name="Usage" href="index.html"></item> </menu> Modified: trunk/openutils-tags-spring/src/site/site.xml =================================================================== --- trunk/openutils-tags-spring/src/site/site.xml 2008-04-27 21:36:00 UTC (rev 796) +++ trunk/openutils-tags-spring/src/site/site.xml 2008-04-27 21:45:51 UTC (rev 797) @@ -1,9 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> -<project name="Openutils tags-spring"> - <publishDate position="left" format="yyyy-MM-dd" /> +<project name="Openutils mgnlstripes"> + <publishDate position="navigation-bottom" format="yyyy-MM-dd" /> + <version position="navigation-bottom" /> <bannerRight> <name>Openutils</name> - <src>http://openutils.sourceforge.net/images/openutils-logo.png</src> + <src>http://openutils.sourceforge.net/images/openutils-logo.png + </src> <href>http://openutils.sourceforge.net</href> </bannerRight> <bannerLeft> @@ -15,6 +17,10 @@ <head> <link rel="icon" href="images/favicon.ico" /> </head> + <breadcrumbs> + <item name="openutils" href="http://openutils.sourceforge.net/" /> + <item name="openutils-tags-spring" href="http://openutils.sourceforge.net/openutils-tags-spring" /> + </breadcrumbs> <menu name="openutils tags-spring"> <item name="Usage" href="index.html"></item> </menu> Modified: trunk/openutils-testing-junit/src/site/site.xml =================================================================== --- trunk/openutils-testing-junit/src/site/site.xml 2008-04-27 21:36:00 UTC (rev 796) +++ trunk/openutils-testing-junit/src/site/site.xml 2008-04-27 21:45:51 UTC (rev 797) @@ -1,9 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> -<project name="Openutils testing (junit)"> - <publishDate position="left" format="yyyy-MM-dd" /> +<project name="Openutils mgnlstripes"> + <publishDate position="navigation-bottom" format="yyyy-MM-dd" /> + <version position="navigation-bottom" /> <bannerRight> <name>Openutils</name> - <src>http://openutils.sourceforge.net/images/openutils-logo.png</src> + <src>http://openutils.sourceforge.net/images/openutils-logo.png + </src> <href>http://openutils.sourceforge.net</href> </bannerRight> <bannerLeft> @@ -15,6 +17,10 @@ <head> <link rel="icon" href="images/favicon.ico" /> </head> + <breadcrumbs> + <item name="openutils" href="http://openutils.sourceforge.net/" /> + <item name="openutils-testing-junit" href="http://openutils.sourceforge.net/openutils-testing-junit" /> + </breadcrumbs> <menu name="openutils testing (junit)"> <item name="Usage" href="index.html"></item> </menu> Modified: trunk/openutils-testing-testng/src/site/site.xml =================================================================== --- trunk/openutils-testing-testng/src/site/site.xml 2008-04-27 21:36:00 UTC (rev 796) +++ trunk/openutils-testing-testng/src/site/site.xml 2008-04-27 21:45:51 UTC (rev 797) @@ -1,9 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> -<project name="Openutils testing (testng)"> - <publishDate position="left" format="yyyy-MM-dd" /> +<project name="Openutils mgnlstripes"> + <publishDate position="navigation-bottom" format="yyyy-MM-dd" /> + <version position="navigation-bottom" /> <bannerRight> <name>Openutils</name> - <src>http://openutils.sourceforge.net/images/openutils-logo.png</src> + <src>http://openutils.sourceforge.net/images/openutils-logo.png + </src> <href>http://openutils.sourceforge.net</href> </bannerRight> <bannerLeft> @@ -15,6 +17,10 @@ <head> <link rel="icon" href="images/favicon.ico" /> </head> + <breadcrumbs> + <item name="openutils" href="http://openutils.sourceforge.net/" /> + <item name="openutils-testing-testng" href="http://openutils.sourceforge.net/openutils-testing-testng" /> + </breadcrumbs> <menu name="openutils testing (testng)"> <item name="Usage" href="index.html"></item> </menu> Added: trunk/openutils-testing4dwr/src/site/site.xml =================================================================== --- trunk/openutils-testing4dwr/src/site/site.xml (rev 0) +++ trunk/openutils-testing4dwr/src/site/site.xml 2008-04-27 21:45:51 UTC (rev 797) @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project name="Openutils mgnlstripes"> + <publishDate position="navigation-bottom" format="yyyy-MM-dd" /> + <version position="navigation-bottom" /> + <bannerRight> + <name>Openutils</name> + <src>http://openutils.sourceforge.net/images/openutils-logo.png + </src> + <href>http://openutils.sourceforge.net</href> + </bannerRight> + <bannerLeft> + <name>Sourceforge</name> + <src>http://sourceforge.net/sflogo.php?group_id=150467&amp;type=2</src> + <href>http://www.sourceforge.net/projects/openutils</href> + </bannerLeft> + <body> + <head> + <link rel="icon" href="images/favicon.ico" /> + </head> + <breadcrumbs> + <item name="openutils" href="http://openutils.sourceforge.net/" /> + <item name="openutils-testing4dwr" href="http://openutils.sourceforge.net/openutils-testing4dwr" /> + </breadcrumbs> + <menu name="openutils dwr testing"> + <item name="Usage" href="index.html"></item> + </menu> + <menu ref="modules" inherit="bottom" /> + <menu ref="reports" inherit="bottom" /> + </body> + <skin> + <groupId>net.sourceforge.openutils</groupId> + <artifactId>openutils-maven-skin</artifactId> + <version>1.1</version> + </skin> +</project> Property changes on: trunk/openutils-testing4dwr/src/site/site.xml ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Date Id Revision Name: svn:eol-style + native Modified: trunk/openutils-testing4dwr-junit/src/site/site.xml =================================================================== --- trunk/openutils-testing4dwr-junit/src/site/site.xml 2008-04-27 21:36:00 UTC (rev 796) +++ trunk/openutils-testing4dwr-junit/src/site/site.xml 2008-04-27 21:45:51 UTC (rev 797) @@ -1,9 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> -<project name="Openutils dwr testing (junit)"> - <publishDate position="left" format="yyyy-MM-dd" /> +<project name="Openutils mgnlstripes"> + <publishDate position="navigation-bottom" format="yyyy-MM-dd" /> + <version position="navigation-bottom" /> <bannerRight> <name>Openutils</name> - <src>http://openutils.sourceforge.net/images/openutils-logo.png</src> + <src>http://openutils.sourceforge.net/images/openutils-logo.png + </src> <href>http://openutils.sourceforge.net</href> </bannerRight> <bannerLeft> @@ -15,6 +17,10 @@ <head> <link rel="icon" href="images/favicon.ico" /> </head> + <breadcrumbs> + <item name="openutils" href="http://openutils.sourceforge.net/" /> + <item name="openutils-testing4dwr-junit" href="http://openutils.sourceforge.net/openutils-testing4dwr-junit" /> + </breadcrumbs> <menu name="openutils dwr testing (junit)"> <item name="Usage" href="index.html"></item> </menu> Modified: trunk/openutils-testing4dwr-testng/src/site/site.xml =================================================================== --- trunk/openutils-testing4dwr-testng/src/site/site.xml 2008-04-27 21:36:00 UTC (rev 796) +++ trunk/openutils-testing4dwr-testng/src/site/site.xml 2008-04-27 21:45:51 UTC (rev 797) @@ -1,9 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> -<project name="Openutils dwr testing (testng)"> - <publishDate position="left" format="yyyy-MM-dd" /> +<project name="Openutils mgnlstripes"> + <publishDate position="navigation-bottom" format="yyyy-MM-dd" /> + <version position="navigation-bottom" /> <bannerRight> <name>Openutils</name> - <src>http://openutils.sourceforge.net/images/openutils-logo.png</src> + <src>http://openutils.sourceforge.net/images/openutils-logo.png + </src> <href>http://openutils.sourceforge.net</href> </bannerRight> <bannerLeft> @@ -15,6 +17,10 @@ <head> <link rel="icon" href="images/favicon.ico" /> </head> + <breadcrumbs> + <item name="openutils" href="http://openutils.sourceforge.net/" /> + <item name="openutils-testing4dwr-testng" href="http://openutils.sourceforge.net/openutils-testing4dwr-testng" /> + </breadcrumbs> <menu name="openutils dwr testing (testng)"> <item name="Usage" href="index.html"></item> </menu> Modified: trunk/openutils-usermanagement/src/site/site.xml =================================================================== --- trunk/openutils-usermanagement/src/site/site.xml 2008-04-27 21:36:00 UTC (rev 796) +++ trunk/openutils-usermanagement/src/site/site.xml 2008-04-27 21:45:51 UTC (rev 797) @@ -1,9 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> -<project name="Openutils usermanagement"> - <publishDate position="left" format="yyyy-MM-dd" /> +<project name="Openutils mgnlstripes"> + <publishDate position="navigation-bottom" format="yyyy-MM-dd" /> + <version position="navigation-bottom" /> <bannerRight> <name>Openutils</name> - <src>http://openutils.sourceforge.net/images/openutils-logo.png</src> + <src>http://openutils.sourceforge.net/images/openutils-logo.png + </src> <href>http://openutils.sourceforge.net</href> </bannerRight> <bannerLeft> @@ -15,6 +17,10 @@ <head> <link rel="icon" href="images/favicon.ico" /> </head> + <breadcrumbs> + <item name="openutils" href="http://openutils.sourceforge.net/" /> + <item name="openutils-usermanagement" href="http://openutils.sourceforge.net/openutils-usermanagement" /> + </breadcrumbs> <menu name="openutils usermanagement"> <item name="Usage" href="index.html"></item> </menu> Modified: trunk/openutils-usermanagement-dataobjects/src/site/site.xml =================================================================== --- trunk/openutils-usermanagement-dataobjects/src/site/site.xml 2008-04-27 21:36:00 UTC (rev 796) +++ trunk/openutils-usermanagement-dataobjects/src/site/site.xml 2008-04-27 21:45:51 UTC (rev 797) @@ -1,9 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> -<project name="Openutils usermanagement dataobjects"> - <publishDate position="left" format="yyyy-MM-dd" /> +<project name="Openutils mgnlstripes"> + <publishDate position="navigation-bottom" format="yyyy-MM-dd" /> + <version position="navigation-bottom" /> <bannerRight> <name>Openutils</name> - <src>http://openutils.sourceforge.net/images/openutils-logo.png</src> + <src>http://openutils.sourceforge.net/images/openutils-logo.png + </src> <href>http://openutils.sourceforge.net</href> </bannerRight> <bannerLeft> @@ -15,6 +17,10 @@ <head> <link rel="icon" href="images/favicon.ico" /> </head> + <breadcrumbs> + <item name="openutils" href="http://openutils.sourceforge.net/" /> + <item name="openutils-usermanagement-dataobjects" href="http://openutils.sourceforge.net/openutils-usermanagement-dataobjects" /> + </breadcrumbs> <menu name="openutils usermanagement dataobjects"> <item name="Usage" href="index.html"></item> </menu> Modified: trunk/openutils-web/src/site/site.xml =================================================================== --- trunk/openutils-web/src/site/site.xml 2008-04-27 21:36:00 UTC (rev 796) +++ trunk/openutils-web/src/site/site.xml 2008-04-27 21:45:51 UTC (rev 797) @@ -1,9 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> -<project name="Openutils web"> - <publishDate position="left" format="yyyy-MM-dd" /> +<project name="Openutils mgnlstripes"> + <publishDate position="navigation-bottom" format="yyyy-MM-dd" /> + <version position="navigation-bottom" /> <bannerRight> <name>Openutils</name> - <src>http://openutils.sourceforge.net/images/openutils-logo.png</src> + <src>http://openutils.sourceforge.net/images/openutils-logo.png + </src> <href>http://openutils.sourceforge.net</href> </bannerRight> <bannerLeft> @@ -15,6 +17,10 @@ <head> <link rel="icon" href="images/favicon.ico" /> </head> + <breadcrumbs> + <item name="openutils" href="http://openutils.sourceforge.net/" /> + <item name="openutils-web" href="http://openutils.sourceforge.net/openutils-web" /> + </breadcrumbs> <menu name="openutils web"> <item name="Usage" href="index.html"></item> </menu> Modified: trunk/src/site/site.xml =================================================================== --- trunk/src/site/site.xml 2008-04-27 21:36:00 UTC (rev 796) +++ trunk/src/site/site.xml 2008-04-27 21:45:51 UTC (rev 797) @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <project name="Openutils"> - <publishDate position="left" format="yyyy-MM-dd" /> + <publishDate position="navigation-bottom" format="yyyy-MM-dd" /> <version position="bottom" /> <bannerRight> <name>Openutils</name> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fg...@us...> - 2008-04-27 21:37:03
|
Revision: 796 http://openutils.svn.sourceforge.net/openutils/?rev=796&view=rev Author: fgiust Date: 2008-04-27 14:36:00 -0700 (Sun, 27 Apr 2008) Log Message: ----------- breadcrumbs Modified Paths: -------------- trunk/openutils-maven-skin/src/site/site.xml trunk/openutils-mgnlspring/src/site/site.xml trunk/openutils-mgnlstripes/src/site/site.xml Modified: trunk/openutils-maven-skin/src/site/site.xml =================================================================== --- trunk/openutils-maven-skin/src/site/site.xml 2008-04-27 21:33:54 UTC (rev 795) +++ trunk/openutils-maven-skin/src/site/site.xml 2008-04-27 21:36:00 UTC (rev 796) @@ -16,6 +16,10 @@ <head> <link rel="icon" href="images/favicon.ico" /> </head> + <breadcrumbs> + <item name="openutils" href="http://openutils.sourceforge.net/" /> + <item name="openutils-maven-skin" href="http://openutils.sourceforge.net/openutils-maven-skin" /> + </breadcrumbs> <menu name="openutils maven skin"> <item name="Index" href="index.html"></item> </menu> Modified: trunk/openutils-mgnlspring/src/site/site.xml =================================================================== --- trunk/openutils-mgnlspring/src/site/site.xml 2008-04-27 21:33:54 UTC (rev 795) +++ trunk/openutils-mgnlspring/src/site/site.xml 2008-04-27 21:36:00 UTC (rev 796) @@ -3,7 +3,8 @@ <publishDate position="left" format="yyyy-MM-dd" /> <bannerRight> <name>Openutils</name> - <src>http://openutils.sourceforge.net/images/openutils-logo.png</src> + <src>http://openutils.sourceforge.net/images/openutils-logo.png + </src> <href>http://openutils.sourceforge.net</href> </bannerRight> <bannerLeft> @@ -15,6 +16,10 @@ <head> <link rel="icon" href="images/favicon.ico" /> </head> + <breadcrumbs> + <item name="openutils" href="http://openutils.sourceforge.net/" /> + <item name="openutils-mgnlspring" href="http://openutils.sourceforge.net/openutils-mgnlspring" /> + </breadcrumbs> <menu name="openutils mgnlspring"> <item name="Usage" href="index.html"></item> </menu> Modified: trunk/openutils-mgnlstripes/src/site/site.xml =================================================================== --- trunk/openutils-mgnlstripes/src/site/site.xml 2008-04-27 21:33:54 UTC (rev 795) +++ trunk/openutils-mgnlstripes/src/site/site.xml 2008-04-27 21:36:00 UTC (rev 796) @@ -3,7 +3,8 @@ <publishDate position="left" format="yyyy-MM-dd" /> <bannerRight> <name>Openutils</name> - <src>http://openutils.sourceforge.net/images/openutils-logo.png</src> + <src>http://openutils.sourceforge.net/images/openutils-logo.png + </src> <href>http://openutils.sourceforge.net</href> </bannerRight> <bannerLeft> @@ -15,6 +16,10 @@ <head> <link rel="icon" href="images/favicon.ico" /> </head> + <breadcrumbs> + <item name="openutils" href="http://openutils.sourceforge.net/" /> + <item name="openutils-mgnlstripes" href="http://openutils.sourceforge.net/openutils-mgnlstripes" /> + </breadcrumbs> <menu name="openutils mgnlstripes"> <item name="Usage" href="index.html"></item> </menu> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fg...@us...> - 2008-04-27 21:35:17
|
Revision: 795 http://openutils.svn.sourceforge.net/openutils/?rev=795&view=rev Author: fgiust Date: 2008-04-27 14:33:54 -0700 (Sun, 27 Apr 2008) Log Message: ----------- added skin to skin Added Paths: ----------- trunk/openutils-maven-skin/src/site/ trunk/openutils-maven-skin/src/site/apt/ trunk/openutils-maven-skin/src/site/changes/ trunk/openutils-maven-skin/src/site/site.xml Added: trunk/openutils-maven-skin/src/site/site.xml =================================================================== --- trunk/openutils-maven-skin/src/site/site.xml (rev 0) +++ trunk/openutils-maven-skin/src/site/site.xml 2008-04-27 21:33:54 UTC (rev 795) @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project name="Openutils mgnlspring"> + <publishDate position="left" format="yyyy-MM-dd" /> + <bannerRight> + <name>Openutils</name> + <src>http://openutils.sourceforge.net/images/openutils-logo.png + </src> + <href>http://openutils.sourceforge.net</href> + </bannerRight> + <bannerLeft> + <name>Sourceforge</name> + <src>http://sourceforge.net/sflogo.php?group_id=150467&amp;type=2</src> + <href>http://www.sourceforge.net/projects/openutils</href> + </bannerLeft> + <body> + <head> + <link rel="icon" href="images/favicon.ico" /> + </head> + <menu name="openutils maven skin"> + <item name="Index" href="index.html"></item> + </menu> + <menu ref="modules" inherit="bottom" /> + <menu ref="reports" inherit="bottom" /> + </body> + <skin> + <groupId>net.sourceforge.openutils</groupId> + <artifactId>openutils-maven-skin</artifactId> + <version>1.1</version> + </skin> +</project> Property changes on: trunk/openutils-maven-skin/src/site/site.xml ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Date Id Revision Name: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fg...@us...> - 2008-04-27 21:27:46
|
Revision: 794 http://openutils.svn.sourceforge.net/openutils/?rev=794&view=rev Author: fgiust Date: 2008-04-27 14:27:49 -0700 (Sun, 27 Apr 2008) Log Message: ----------- new skin version Modified Paths: -------------- trunk/openutils-backup/src/site/site.xml trunk/openutils-bshd5/src/site/site.xml trunk/openutils-configuration-dataobjects/src/site/site.xml trunk/openutils-configuration-services/src/site/site.xml trunk/openutils-dbmigration/src/site/site.xml trunk/openutils-deployment/src/site/site.xml trunk/openutils-hibernate-security/src/site/site.xml trunk/openutils-log4j/src/site/site.xml trunk/openutils-mgnlspring/src/site/site.xml trunk/openutils-mgnlstripes/src/site/site.xml trunk/openutils-mgnltasks/src/site/site.xml trunk/openutils-spring/src/site/site.xml trunk/openutils-spring-rmibernate/src/site/site.xml trunk/openutils-tags-spring/src/site/site.xml trunk/openutils-testing/src/site/site.xml trunk/openutils-testing-junit/src/site/site.xml trunk/openutils-testing-testng/src/site/site.xml trunk/openutils-testing4dwr-junit/src/site/site.xml trunk/openutils-testing4dwr-testng/src/site/site.xml trunk/openutils-usermanagement/src/site/site.xml trunk/openutils-usermanagement-dataobjects/src/site/site.xml trunk/openutils-web/src/site/site.xml trunk/src/site/site.xml Modified: trunk/openutils-backup/src/site/site.xml =================================================================== --- trunk/openutils-backup/src/site/site.xml 2008-04-27 21:22:10 UTC (rev 793) +++ trunk/openutils-backup/src/site/site.xml 2008-04-27 21:27:49 UTC (rev 794) @@ -24,6 +24,6 @@ <skin> <groupId>net.sourceforge.openutils</groupId> <artifactId>openutils-maven-skin</artifactId> - <version>1.0</version> + <version>1.1</version> </skin> </project> Modified: trunk/openutils-bshd5/src/site/site.xml =================================================================== --- trunk/openutils-bshd5/src/site/site.xml 2008-04-27 21:22:10 UTC (rev 793) +++ trunk/openutils-bshd5/src/site/site.xml 2008-04-27 21:27:49 UTC (rev 794) @@ -30,6 +30,6 @@ <skin> <groupId>net.sourceforge.openutils</groupId> <artifactId>openutils-maven-skin</artifactId> - <version>1.0</version> + <version>1.1</version> </skin> </project> Modified: trunk/openutils-configuration-dataobjects/src/site/site.xml =================================================================== --- trunk/openutils-configuration-dataobjects/src/site/site.xml 2008-04-27 21:22:10 UTC (rev 793) +++ trunk/openutils-configuration-dataobjects/src/site/site.xml 2008-04-27 21:27:49 UTC (rev 794) @@ -24,6 +24,6 @@ <skin> <groupId>net.sourceforge.openutils</groupId> <artifactId>openutils-maven-skin</artifactId> - <version>1.0</version> + <version>1.1</version> </skin> </project> Modified: trunk/openutils-configuration-services/src/site/site.xml =================================================================== --- trunk/openutils-configuration-services/src/site/site.xml 2008-04-27 21:22:10 UTC (rev 793) +++ trunk/openutils-configuration-services/src/site/site.xml 2008-04-27 21:27:49 UTC (rev 794) @@ -24,6 +24,6 @@ <skin> <groupId>net.sourceforge.openutils</groupId> <artifactId>openutils-maven-skin</artifactId> - <version>1.0</version> + <version>1.1</version> </skin> </project> Modified: trunk/openutils-dbmigration/src/site/site.xml =================================================================== --- trunk/openutils-dbmigration/src/site/site.xml 2008-04-27 21:22:10 UTC (rev 793) +++ trunk/openutils-dbmigration/src/site/site.xml 2008-04-27 21:27:49 UTC (rev 794) @@ -29,6 +29,6 @@ <skin> <groupId>net.sourceforge.openutils</groupId> <artifactId>openutils-maven-skin</artifactId> - <version>1.0</version> + <version>1.1</version> </skin> </project> Modified: trunk/openutils-deployment/src/site/site.xml =================================================================== --- trunk/openutils-deployment/src/site/site.xml 2008-04-27 21:22:10 UTC (rev 793) +++ trunk/openutils-deployment/src/site/site.xml 2008-04-27 21:27:49 UTC (rev 794) @@ -29,6 +29,6 @@ <skin> <groupId>net.sourceforge.openutils</groupId> <artifactId>openutils-maven-skin</artifactId> - <version>1.0</version> + <version>1.1</version> </skin> </project> Modified: trunk/openutils-hibernate-security/src/site/site.xml =================================================================== --- trunk/openutils-hibernate-security/src/site/site.xml 2008-04-27 21:22:10 UTC (rev 793) +++ trunk/openutils-hibernate-security/src/site/site.xml 2008-04-27 21:27:49 UTC (rev 794) @@ -24,6 +24,6 @@ <skin> <groupId>net.sourceforge.openutils</groupId> <artifactId>openutils-maven-skin</artifactId> - <version>1.0</version> + <version>1.1</version> </skin> </project> Modified: trunk/openutils-log4j/src/site/site.xml =================================================================== --- trunk/openutils-log4j/src/site/site.xml 2008-04-27 21:22:10 UTC (rev 793) +++ trunk/openutils-log4j/src/site/site.xml 2008-04-27 21:27:49 UTC (rev 794) @@ -33,6 +33,6 @@ <skin> <groupId>net.sourceforge.openutils</groupId> <artifactId>openutils-maven-skin</artifactId> - <version>1.0</version> + <version>1.1</version> </skin> </project> Modified: trunk/openutils-mgnlspring/src/site/site.xml =================================================================== --- trunk/openutils-mgnlspring/src/site/site.xml 2008-04-27 21:22:10 UTC (rev 793) +++ trunk/openutils-mgnlspring/src/site/site.xml 2008-04-27 21:27:49 UTC (rev 794) @@ -24,6 +24,6 @@ <skin> <groupId>net.sourceforge.openutils</groupId> <artifactId>openutils-maven-skin</artifactId> - <version>1.0</version> + <version>1.1</version> </skin> </project> Modified: trunk/openutils-mgnlstripes/src/site/site.xml =================================================================== --- trunk/openutils-mgnlstripes/src/site/site.xml 2008-04-27 21:22:10 UTC (rev 793) +++ trunk/openutils-mgnlstripes/src/site/site.xml 2008-04-27 21:27:49 UTC (rev 794) @@ -24,6 +24,6 @@ <skin> <groupId>net.sourceforge.openutils</groupId> <artifactId>openutils-maven-skin</artifactId> - <version>1.0</version> + <version>1.1</version> </skin> </project> Modified: trunk/openutils-mgnltasks/src/site/site.xml =================================================================== --- trunk/openutils-mgnltasks/src/site/site.xml 2008-04-27 21:22:10 UTC (rev 793) +++ trunk/openutils-mgnltasks/src/site/site.xml 2008-04-27 21:27:49 UTC (rev 794) @@ -29,6 +29,6 @@ <skin> <groupId>net.sourceforge.openutils</groupId> <artifactId>openutils-maven-skin</artifactId> - <version>1.0</version> + <version>1.1</version> </skin> </project> Modified: trunk/openutils-spring/src/site/site.xml =================================================================== --- trunk/openutils-spring/src/site/site.xml 2008-04-27 21:22:10 UTC (rev 793) +++ trunk/openutils-spring/src/site/site.xml 2008-04-27 21:27:49 UTC (rev 794) @@ -24,6 +24,6 @@ <skin> <groupId>net.sourceforge.openutils</groupId> <artifactId>openutils-maven-skin</artifactId> - <version>1.0</version> + <version>1.1</version> </skin> </project> Modified: trunk/openutils-spring-rmibernate/src/site/site.xml =================================================================== --- trunk/openutils-spring-rmibernate/src/site/site.xml 2008-04-27 21:22:10 UTC (rev 793) +++ trunk/openutils-spring-rmibernate/src/site/site.xml 2008-04-27 21:27:49 UTC (rev 794) @@ -24,6 +24,6 @@ <skin> <groupId>net.sourceforge.openutils</groupId> <artifactId>openutils-maven-skin</artifactId> - <version>1.0</version> + <version>1.1</version> </skin> </project> Modified: trunk/openutils-tags-spring/src/site/site.xml =================================================================== --- trunk/openutils-tags-spring/src/site/site.xml 2008-04-27 21:22:10 UTC (rev 793) +++ trunk/openutils-tags-spring/src/site/site.xml 2008-04-27 21:27:49 UTC (rev 794) @@ -24,6 +24,6 @@ <skin> <groupId>net.sourceforge.openutils</groupId> <artifactId>openutils-maven-skin</artifactId> - <version>1.0</version> + <version>1.1</version> </skin> </project> Modified: trunk/openutils-testing/src/site/site.xml =================================================================== --- trunk/openutils-testing/src/site/site.xml 2008-04-27 21:22:10 UTC (rev 793) +++ trunk/openutils-testing/src/site/site.xml 2008-04-27 21:27:49 UTC (rev 794) @@ -30,6 +30,6 @@ <skin> <groupId>net.sourceforge.openutils</groupId> <artifactId>openutils-maven-skin</artifactId> - <version>1.0</version> + <version>1.1</version> </skin> </project> Modified: trunk/openutils-testing-junit/src/site/site.xml =================================================================== --- trunk/openutils-testing-junit/src/site/site.xml 2008-04-27 21:22:10 UTC (rev 793) +++ trunk/openutils-testing-junit/src/site/site.xml 2008-04-27 21:27:49 UTC (rev 794) @@ -24,6 +24,6 @@ <skin> <groupId>net.sourceforge.openutils</groupId> <artifactId>openutils-maven-skin</artifactId> - <version>1.0</version> + <version>1.1</version> </skin> </project> Modified: trunk/openutils-testing-testng/src/site/site.xml =================================================================== --- trunk/openutils-testing-testng/src/site/site.xml 2008-04-27 21:22:10 UTC (rev 793) +++ trunk/openutils-testing-testng/src/site/site.xml 2008-04-27 21:27:49 UTC (rev 794) @@ -24,6 +24,6 @@ <skin> <groupId>net.sourceforge.openutils</groupId> <artifactId>openutils-maven-skin</artifactId> - <version>1.0</version> + <version>1.1</version> </skin> </project> Modified: trunk/openutils-testing4dwr-junit/src/site/site.xml =================================================================== --- trunk/openutils-testing4dwr-junit/src/site/site.xml 2008-04-27 21:22:10 UTC (rev 793) +++ trunk/openutils-testing4dwr-junit/src/site/site.xml 2008-04-27 21:27:49 UTC (rev 794) @@ -24,6 +24,6 @@ <skin> <groupId>net.sourceforge.openutils</groupId> <artifactId>openutils-maven-skin</artifactId> - <version>1.0</version> + <version>1.1</version> </skin> </project> Modified: trunk/openutils-testing4dwr-testng/src/site/site.xml =================================================================== --- trunk/openutils-testing4dwr-testng/src/site/site.xml 2008-04-27 21:22:10 UTC (rev 793) +++ trunk/openutils-testing4dwr-testng/src/site/site.xml 2008-04-27 21:27:49 UTC (rev 794) @@ -24,6 +24,6 @@ <skin> <groupId>net.sourceforge.openutils</groupId> <artifactId>openutils-maven-skin</artifactId> - <version>1.0</version> + <version>1.1</version> </skin> </project> Modified: trunk/openutils-usermanagement/src/site/site.xml =================================================================== --- trunk/openutils-usermanagement/src/site/site.xml 2008-04-27 21:22:10 UTC (rev 793) +++ trunk/openutils-usermanagement/src/site/site.xml 2008-04-27 21:27:49 UTC (rev 794) @@ -24,6 +24,6 @@ <skin> <groupId>net.sourceforge.openutils</groupId> <artifactId>openutils-maven-skin</artifactId> - <version>1.0</version> + <version>1.1</version> </skin> </project> Modified: trunk/openutils-usermanagement-dataobjects/src/site/site.xml =================================================================== --- trunk/openutils-usermanagement-dataobjects/src/site/site.xml 2008-04-27 21:22:10 UTC (rev 793) +++ trunk/openutils-usermanagement-dataobjects/src/site/site.xml 2008-04-27 21:27:49 UTC (rev 794) @@ -24,6 +24,6 @@ <skin> <groupId>net.sourceforge.openutils</groupId> <artifactId>openutils-maven-skin</artifactId> - <version>1.0</version> + <version>1.1</version> </skin> </project> Modified: trunk/openutils-web/src/site/site.xml =================================================================== --- trunk/openutils-web/src/site/site.xml 2008-04-27 21:22:10 UTC (rev 793) +++ trunk/openutils-web/src/site/site.xml 2008-04-27 21:27:49 UTC (rev 794) @@ -24,6 +24,6 @@ <skin> <groupId>net.sourceforge.openutils</groupId> <artifactId>openutils-maven-skin</artifactId> - <version>1.0</version> + <version>1.1</version> </skin> </project> Modified: trunk/src/site/site.xml =================================================================== --- trunk/src/site/site.xml 2008-04-27 21:22:10 UTC (rev 793) +++ trunk/src/site/site.xml 2008-04-27 21:27:49 UTC (rev 794) @@ -21,6 +21,6 @@ <skin> <groupId>net.sourceforge.openutils</groupId> <artifactId>openutils-maven-skin</artifactId> - <version>1.0</version> + <version>1.1</version> </skin> </project> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fg...@us...> - 2008-04-27 21:22:16
|
Revision: 793 http://openutils.svn.sourceforge.net/openutils/?rev=793&view=rev Author: fgiust Date: 2008-04-27 14:22:10 -0700 (Sun, 27 Apr 2008) Log Message: ----------- [maven-release-plugin] prepare for next development iteration Modified Paths: -------------- trunk/openutils-maven-skin/pom.xml Modified: trunk/openutils-maven-skin/pom.xml =================================================================== --- trunk/openutils-maven-skin/pom.xml 2008-04-27 21:21:43 UTC (rev 792) +++ trunk/openutils-maven-skin/pom.xml 2008-04-27 21:22:10 UTC (rev 793) @@ -9,13 +9,7 @@ </parent> <artifactId>openutils-maven-skin</artifactId> <packaging>jar</packaging> - <version>1.1</version> + <version>1.2-SNAPSHOT</version> <name>openutils maven skin</name> <description>openutils maven skin</description> - - <scm> - <connection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-maven-skin-1.1</connection> - <developerConnection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-maven-skin-1.1</developerConnection> - <url>http://openutils.svn.sourceforge.net/viewcvs.cgi/openutils/tags/openutils-maven-skin-1.1</url> - </scm> </project> \ 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: <fg...@us...> - 2008-04-27 21:21:55
|
Revision: 792 http://openutils.svn.sourceforge.net/openutils/?rev=792&view=rev Author: fgiust Date: 2008-04-27 14:21:43 -0700 (Sun, 27 Apr 2008) Log Message: ----------- [maven-release-plugin] copy for tag openutils-maven-skin-1.1 Added Paths: ----------- tags/openutils-maven-skin-1.1/ tags/openutils-maven-skin-1.1/pom.xml tags/openutils-maven-skin-1.1/src/main/resources/css/maven-base.css tags/openutils-maven-skin-1.1/src/main/resources/css/maven-theme.css tags/openutils-maven-skin-1.1/src/main/resources/css/print.css tags/openutils-maven-skin-1.1/src/main/resources/images/logos/ Removed Paths: ------------- tags/openutils-maven-skin-1.1/pom.xml tags/openutils-maven-skin-1.1/src/main/resources/css/site.css Copied: tags/openutils-maven-skin-1.1 (from rev 779, trunk/openutils-maven-skin) Deleted: tags/openutils-maven-skin-1.1/pom.xml =================================================================== --- trunk/openutils-maven-skin/pom.xml 2008-04-27 16:35:14 UTC (rev 779) +++ tags/openutils-maven-skin-1.1/pom.xml 2008-04-27 21:21:43 UTC (rev 792) @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd "> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>net.sourceforge.openutils</groupId> - <artifactId>openutils</artifactId> - <version>8</version> - <relativePath>..</relativePath> - </parent> - <artifactId>openutils-maven-skin</artifactId> - <packaging>jar</packaging> - <version>1.1-SNAPSHOT</version> - <name>maven skin for openutils site</name> - <description>maven skin for openutils site</description> -</project> Copied: tags/openutils-maven-skin-1.1/pom.xml (from rev 791, trunk/openutils-maven-skin/pom.xml) =================================================================== --- tags/openutils-maven-skin-1.1/pom.xml (rev 0) +++ tags/openutils-maven-skin-1.1/pom.xml 2008-04-27 21:21:43 UTC (rev 792) @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd "> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>net.sourceforge.openutils</groupId> + <artifactId>openutils</artifactId> + <version>8</version> + <relativePath>..</relativePath> + </parent> + <artifactId>openutils-maven-skin</artifactId> + <packaging>jar</packaging> + <version>1.1</version> + <name>openutils maven skin</name> + <description>openutils maven skin</description> + + <scm> + <connection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-maven-skin-1.1</connection> + <developerConnection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-maven-skin-1.1</developerConnection> + <url>http://openutils.svn.sourceforge.net/viewcvs.cgi/openutils/tags/openutils-maven-skin-1.1</url> + </scm> +</project> \ No newline at end of file Copied: tags/openutils-maven-skin-1.1/src/main/resources/css/maven-base.css (from rev 789, trunk/openutils-maven-skin/src/main/resources/css/maven-base.css) =================================================================== --- tags/openutils-maven-skin-1.1/src/main/resources/css/maven-base.css (rev 0) +++ tags/openutils-maven-skin-1.1/src/main/resources/css/maven-base.css 2008-04-27 21:21:43 UTC (rev 792) @@ -0,0 +1,148 @@ +body { + margin: 0px; + padding: 0px; +} +img { + border:none; +} +table { + padding:0px; + width: 100%; + margin-left: -2px; + margin-right: -2px; +} +acronym { + cursor: help; + border-bottom: 1px dotted #feb; +} +table.bodyTable th, table.bodyTable td { + padding: 2px 4px 2px 4px; + vertical-align: top; +} +div.clear{ + clear:both; + visibility: hidden; +} +div.clear hr{ + display: none; +} +#bannerLeft, #bannerRight { + font-size: xx-large; + font-weight: bold; +} +#bannerLeft img, #bannerRight img { + margin: 0px; +} +.xleft, #bannerLeft img { + float:left; + text-shadow: #7CFC00; +} +.xright, #bannerRight img { + float:right; + text-shadow: #7CFC00; +} +#banner { + padding: 0px; +} +#banner img { + border: none; +} +#breadcrumbs { + padding: 3px 10px 3px 10px; +} +#leftColumn { + width: 170px; + float:left; + overflow: auto; +} +#bodyColumn { + margin-right: 1.5em; + margin-left: 197px; +} +#legend { + padding: 8px 0 8px 0; +} +#navcolumn { + padding: 8px 4px 0 8px; +} +#navcolumn h5 { + margin: 0; + padding: 0; + font-size: small; +} +#navcolumn ul { + margin: 0; + padding: 0; + font-size: small; +} +#navcolumn li { + list-style-type: none; + background-image: none; + background-repeat: no-repeat; + background-position: 0 0.4em; + padding-left: 16px; + list-style-position: outside; + line-height: 1.2em; + font-size: smaller; +} +#navcolumn li.expanded { + background-image: url(../images/expanded.gif); +} +#navcolumn li.collapsed { + background-image: url(../images/collapsed.gif); +} +#poweredBy { + text-align: center; +} +#navcolumn img { + margin-top: 10px; + margin-bottom: 3px; +} +#poweredBy img { + display:block; + margin: 20px 0 20px 17px; + border: 1px solid black; + width: 90px; + height: 30px; +} +#search img { + margin: 0px; + display: block; +} +#search #q, #search #btnG { + border: 1px solid #999; + margin-bottom:10px; +} +#search form { + margin: 0px; +} +#lastPublished { + font-size: x-small; +} +.navSection { + margin-bottom: 2px; + padding: 8px; +} +.navSectionHead { + font-weight: bold; + font-size: x-small; +} +.section { + padding: 4px; +} +#footer { + padding: 3px 10px 3px 10px; + font-size: x-small; +} +#breadcrumbs { + font-size: x-small; + margin: 0pt; +} +.source { + padding: 12px; + margin: 1em 7px 1em 7px; +} +.source pre { + margin: 0px; + padding: 0px; +} Copied: tags/openutils-maven-skin-1.1/src/main/resources/css/maven-theme.css (from rev 789, trunk/openutils-maven-skin/src/main/resources/css/maven-theme.css) =================================================================== --- tags/openutils-maven-skin-1.1/src/main/resources/css/maven-theme.css (rev 0) +++ tags/openutils-maven-skin-1.1/src/main/resources/css/maven-theme.css 2008-04-27 21:21:43 UTC (rev 792) @@ -0,0 +1,316 @@ +body { + background-color: #1B87CA; + font-family: Verdana, Helvetica, Arial, sans-serif; + margin-left: auto; + margin-right: auto; + background-repeat: repeat-y; + font-size: 13px; + padding: 0px; +} + +#leftColumn { + width: 170px; + float: left; +} + +#bodyColumn { + margin-right: 0 !important; + margin-left: 0; + min-height: 600px; + background-color: #fff; + padding-left: 207px; + padding-right: 10px; +} + +td,select,input,li { + font-family: Verdana, Helvetica, Arial, sans-serif; + font-size: 12px; + color: #333; +} + +code { + font-size: 12px; +} + +a { + text-decoration: underline; +} + +#leftColumn a { + text-decoration: none; +} + +#leftColumn a.poweredBy { + border: none; +} + +a:link { + color: #47a; +} + +a:visited { + color: #666; +} + +a:active,a:hover { + color: #900; +} + +#legend li.externalLink { + background: url(../images/ico_external.png) left top no-repeat; + padding-left: 10px; +} + +a.externalLink,a.externalLink:link,a.externalLink:visited,a.externalLink:active,a.externalLink:hover { + background: url(../images/ico_external.png) right center no-repeat; + padding-right: 10px; +} + +#legend li.newWindow { + background: url(../images/ico_newwindow.png) left top no-repeat; + padding-left: 10px; +} + +a.newWindow,a.newWindow:link,a.newWindow:visited,a.newWindow:active,a.newWindow:hover { + background: url(../images/ico_newwindow.png) right center no-repeat; + padding-right: 10px; +} + +h2 { + font-family: Arial, Helvetica, sans-serif; + font-size: 28px; + color: #666; + background: none; + font-weight: normal; + padding-left: 0; + border: none; + border-bottom: 1px dotted #ccc; +} + +h3 { + font-family: Arial, Helvetica, sans-serif; + padding: 4px 4px 4px 0; + color: #999 !important; + background: none; + font-weight: none; + font-size: 20px; + border: none; + border-bottom: 1px dotted #ccc; +} + +p { + line-height: 1.3em; + font-size: 12px; + color: #000; +} + +#breadcrumbs { + overflow: hidden; + padding: 4px 10px 4px 20px; + background-image: url(../images/breadcrumbs.png); + background-repeat: repeat-x; + border: none; + background-color: #fff !important; +} + +#breadcrumbs a { + font-weight: bold; + color: #000; + text-decoration: underline; +} + +#leftColumn { + margin: 10px 0 10px 10px; + border: 1px solid #6bb521; + padding-right: 0; + padding-left: 0; + width: 180px; + background-color: #efc; +} + +#navcolumn { + margin: 0 !important; + padding: 0 !important; +} + +#navcolumn h5 { + font-size: 11px; + padding: 1px 0 1px 12px; + color: #fff; + background-position: left 5px; + font-variant: small-caps; + border: none; + border-bottom: 1px solid #ccc; + background-color: #6bb521; +} + +#navcolumn #lastPublished { + font-size: 10px; + margin: 20px 0pt 10px 15px; +} + +table.bodyTable th { + color: white; + background-color: #1B87CA; + text-align: left; + font-weight: normal; +} + +table.bodyTable th,table.bodyTable td { + font-size: 11px; +} + +table.bodyTable tr.a { + background-color: #ddd; +} + +table.bodyTable tr.b { + background-color: #eee; +} + +.source { + border: 1px solid #999; + overflow: auto; + background-color: #eee; +} + +dt { + padding: 4px 4px 4px 24px; + color: #333333; + background-color: #ccc; + font-weight: bold; + font-size: 14px; +} + +.subsectionTitle { + font-size: 13px; + font-weight: bold; + color: #666; +} + +table { + font-size: 10px; +} + +.xright a:link,.xright a:visited,.xright a:active { + color: #666; +} + +.xright a:hover { + color: #003300; +} + +#banner { + height: 93px; + background-color: #fff; + background-image: url(../images/header-background.png); +} + +#banner a#bannerRight img { + margin: 10px 10px 0 0 !important; +} + +#banner a#bannerLeft img { + margin: 10px 0 0 10px !important; +} + +#navcolumn ul { + margin: 3px 0 5px -0em; +} + +#navcolumn ul a { + color: #333333; +} + +#navcolumn ul a:hover { + color: red; +} + +#navcolumn ul li { + background-image: url(../images/list.png); + background-position: top left; + background-repeat: no-repeat; + margin-bottom: 2px; +} + +#navcolumn ul li.expanded { + background-image: none; + font-weight: bold; + color: #666; +} + +#navcolumn ul li.expanded ul { + margin-top: 0; + margin-bottom: 0; +} + +#navcolumn ul li.expanded ul li { + font-weight: normal; +} + +#intro { + border: solid #ccc 1px; + margin: 6px 0px 0px 0px; + padding: 10px 40px 10px 40px; +} + +.subsection { + margin-left: 3px; + color: #333333; +} + +.subsection p { + font-size: 12px; +} + +#footer { + padding: 10px; + margin: 0 0px 20px 0px; + border-top: solid #ccc 1px; + color: #fff; + background-color: #1B87CA; + background-image: url(../images/footer-background.png); + background-repeat: repeat-x; +} + +#footer div { + color: #fff; +} + +dl { + border: 1px dotted #ccc; + background-color: transparent; +} + +dt { + background-color: transparent; + font-family: Arial, Helvetica, sans-serif; + color: #999 !important; + font-weight: bold; + font-size: 16px; +} + +hr { + border: none; + border-bottom: 1px solid #ccc; + background-color: transparent; + height: 1px; +} + +#breadcrumbs,#footer,#navcolumn li { + font-size: 10px; +} + +a.poweredBy { + margin-left: 20px; +} + +.source { + margin: 10px 0; + padding: 12px; + border: 1px solid #1B87CA; +} + +#navcolumn li.collapsed { + background-image: url(../images/ico-collapsed.png); +} Copied: tags/openutils-maven-skin-1.1/src/main/resources/css/print.css (from rev 789, trunk/openutils-maven-skin/src/main/resources/css/print.css) =================================================================== --- tags/openutils-maven-skin-1.1/src/main/resources/css/print.css (rev 0) +++ tags/openutils-maven-skin-1.1/src/main/resources/css/print.css 2008-04-27 21:21:43 UTC (rev 792) @@ -0,0 +1,7 @@ +#banner, #footer, #leftcol, #breadcrumbs, .docs #toc, .docs .courtesylinks, #leftColumn, #navColumn { + display: none !important; +} +#bodyColumn, body.docs div.docs { + margin: 0 !important; + border: none !important +} Deleted: tags/openutils-maven-skin-1.1/src/main/resources/css/site.css =================================================================== --- trunk/openutils-maven-skin/src/main/resources/css/site.css 2008-04-27 16:35:14 UTC (rev 779) +++ tags/openutils-maven-skin-1.1/src/main/resources/css/site.css 2008-04-27 21:21:43 UTC (rev 792) @@ -1,314 +0,0 @@ -body { - background-color: #1B87CA; - font-family: Verdana, Helvetica, Arial, sans-serif; - margin-left: auto; - margin-right: auto; - background-repeat: repeat-y; - font-size: 13px; - padding: 0px; -} - -#leftColumn { - width: 170px; - float: left; -} - -#bodyColumn { - margin-right: 0 !important; - margin-left: 0; - min-height: 600px; - background-color: #fff; - padding-left: 207px; - padding-right: 10px; -} - -td,select,input,li { - font-family: Verdana, Helvetica, Arial, sans-serif; - font-size: 12px; - color: #333; -} - -code { - font-size: 12px; -} - -a { - text-decoration: underline; -} - -#leftColumn a { - text-decoration: none; -} - -#leftColumn a.poweredBy { - border: none; -} - -a:link { - color: #47a; -} - -a:visited { - color: #666; -} - -a:active,a:hover { - color: #900; -} - -#legend li.externalLink { - background: url(../images/ico_external.png) left top no-repeat; - padding-left: 10px; -} - -a.externalLink,a.externalLink:link,a.externalLink:visited,a.externalLink:active,a.externalLink:hover { - background: url(../images/ico_external.png) right center no-repeat; - padding-right: 10px; -} - -#legend li.newWindow { - background: url(../images/ico_newwindow.png) left top no-repeat; - padding-left: 10px; -} - -a.newWindow,a.newWindow:link,a.newWindow:visited,a.newWindow:active,a.newWindow:hover { - background: url(../images/ico_newwindow.png) right center no-repeat; - padding-right: 10px; -} - -h2 { - font-family: Arial, Helvetica, sans-serif; - font-size: 28px; - color: #666; - background: none; - font-weight: normal; - padding-left: 0; - border: none; - border-bottom: 1px dotted #ccc; -} - -h3 { - font-family: Arial, Helvetica, sans-serif; - padding: 4px 4px 4px 0; - color: #999 !important; - background: none; - font-weight: none; - font-size: 20px; - border: none; - border-bottom: 1px dotted #ccc; -} - -p { - line-height: 1.3em; - font-size: 12px; - color: #000; -} - -#breadcrumbs { - overflow: hidden; - padding: 4px 10px 4px 20px; - background-image: url(../images/breadcrumbs.png); - background-repeat: repeat-x; - border: none; - background-color: #fff !important; -} - -#breadcrumbs a { - font-weight: bold; - color: #000; - text-decoration: underline; -} - -#leftColumn { - margin: 10px 0 10px 10px; - border: 1px solid #6bb521; - padding-right: 0; - padding-left: 0; - width: 180px; - background-color: #efc; -} - -#navcolumn { - margin: 0 !important; - padding: 0 !important; -} - -#navcolumn h5 { - font-size: 11px; - padding: 1px 0 1px 12px; - color: #fff; - background-position: left 5px; - font-variant: small-caps; - border: none; - border-bottom: 1px solid #ccc; - background-color: #6bb521; -} - -#navcolumn #lastPublished { - font-size: 10px; - margin: 20px 0pt 10px 15px; -} - -table.bodyTable th { - color: white; - background-color: #1B87CA; - text-align: left; - font-weight: normal; -} - -table.bodyTable th,table.bodyTable td { - font-size: 11px; -} - -table.bodyTable tr.a { - background-color: #ddd; -} - -table.bodyTable tr.b { - background-color: #eee; -} - -.source { - border: 1px solid #999; - overflow: auto; - background-color: #eee; -} - -dt { - padding: 4px 4px 4px 24px; - color: #333333; - background-color: #ccc; - font-weight: bold; - font-size: 14px; -} - -.subsectionTitle { - font-size: 13px; - font-weight: bold; - color: #666; -} - -table { - font-size: 10px; -} - -.xright a:link,.xright a:visited,.xright a:active { - color: #666; -} - -.xright a:hover { - color: #003300; -} - -#banner { - height: 93px; - background-color: #fff; - background-image: url(../images/header-background.png); -} - -#banner a#bannerRight img { - margin: 10px 10px 0 0 !important; -} - -#banner a#bannerLeft img { - margin: 10px 0 0 10px !important; -} - -#navcolumn ul { - margin: 3px 0 5px -0em; -} - -#navcolumn ul a { - color: #333333; -} - -#navcolumn ul a:hover { - color: red; -} - -#navcolumn ul li { - background-image: url(../images/list.png); - background-position: top left; -} - -#navcolumn ul li.expanded { - background-image: none; - font-weight: bold; - color: #666; -} - -#navcolumn ul li.expanded ul { - margin-top: 0; - margin-bottom: 0; -} - -#navcolumn ul li.expanded ul li { - font-weight: normal; -} - -#intro { - border: solid #ccc 1px; - margin: 6px 0px 0px 0px; - padding: 10px 40px 10px 40px; -} - -.subsection { - margin-left: 3px; - color: #333333; -} - -.subsection p { - font-size: 12px; -} - -#footer { - padding: 10px; - margin: 0 0px 20px 0px; - border-top: solid #ccc 1px; - color: #fff; - background-color: #1B87CA; - background-image: url(../images/footer-background.png); - background-repeat: repeat-x; -} - -#footer div { - color: #fff; -} - -dl { - border: 1px dotted #ccc; - background-color: transparent; -} - -dt { - background-color: transparent; - font-family: Arial, Helvetica, sans-serif; - color: #999 !important; - font-weight: bold; - font-size: 16px; -} - -hr { - border: none; - border-bottom: 1px solid #ccc; - background-color: transparent; - height: 1px; -} - -#breadcrumbs,#footer,#navcolumn li { - font-size: 10px; -} - -a.poweredBy { - margin-left: 20px; -} - -.source { - margin: 10px 0; - padding: 12px; - border: 1px solid #1B87CA; -} - -#navcolumn li.collapsed { - background-image: url(../images/ico-collapsed.png); -} \ No newline at end of file Copied: tags/openutils-maven-skin-1.1/src/main/resources/images/logos (from rev 789, trunk/openutils-maven-skin/src/main/resources/images/logos) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fg...@us...> - 2008-04-27 21:21:22
|
Revision: 791 http://openutils.svn.sourceforge.net/openutils/?rev=791&view=rev Author: fgiust Date: 2008-04-27 14:20:35 -0700 (Sun, 27 Apr 2008) Log Message: ----------- [maven-release-plugin] prepare release openutils-maven-skin-1.1 Modified Paths: -------------- trunk/openutils-maven-skin/pom.xml Modified: trunk/openutils-maven-skin/pom.xml =================================================================== --- trunk/openutils-maven-skin/pom.xml 2008-04-27 21:19:55 UTC (rev 790) +++ trunk/openutils-maven-skin/pom.xml 2008-04-27 21:20:35 UTC (rev 791) @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd "> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd "> <modelVersion>4.0.0</modelVersion> <parent> <groupId>net.sourceforge.openutils</groupId> @@ -10,7 +9,13 @@ </parent> <artifactId>openutils-maven-skin</artifactId> <packaging>jar</packaging> - <version>1.1-SNAPSHOT</version> + <version>1.1</version> <name>openutils maven skin</name> <description>openutils maven skin</description> + + <scm> + <connection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-maven-skin-1.1</connection> + <developerConnection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-maven-skin-1.1</developerConnection> + <url>http://openutils.svn.sourceforge.net/viewcvs.cgi/openutils/tags/openutils-maven-skin-1.1</url> + </scm> </project> \ 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: <fg...@us...> - 2008-04-27 21:20:02
|
Revision: 790 http://openutils.svn.sourceforge.net/openutils/?rev=790&view=rev Author: fgiust Date: 2008-04-27 14:19:55 -0700 (Sun, 27 Apr 2008) Log Message: ----------- update description Modified Paths: -------------- trunk/openutils-maven-skin/pom.xml Modified: trunk/openutils-maven-skin/pom.xml =================================================================== --- trunk/openutils-maven-skin/pom.xml 2008-04-27 21:19:01 UTC (rev 789) +++ trunk/openutils-maven-skin/pom.xml 2008-04-27 21:19:55 UTC (rev 790) @@ -1,5 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd "> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd "> <modelVersion>4.0.0</modelVersion> <parent> <groupId>net.sourceforge.openutils</groupId> @@ -10,6 +11,6 @@ <artifactId>openutils-maven-skin</artifactId> <packaging>jar</packaging> <version>1.1-SNAPSHOT</version> - <name>maven skin for openutils site</name> - <description>maven skin for openutils site</description> -</project> + <name>openutils maven skin</name> + <description>openutils maven skin</description> +</project> \ 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: <fg...@us...> - 2008-04-27 21:19:05
|
Revision: 789 http://openutils.svn.sourceforge.net/openutils/?rev=789&view=rev Author: fgiust Date: 2008-04-27 14:19:01 -0700 (Sun, 27 Apr 2008) Log Message: ----------- updated skin, added missing resources Added Paths: ----------- trunk/openutils-maven-skin/src/main/resources/css/maven-base.css trunk/openutils-maven-skin/src/main/resources/css/maven-theme.css trunk/openutils-maven-skin/src/main/resources/css/print.css trunk/openutils-maven-skin/src/main/resources/images/logos/ trunk/openutils-maven-skin/src/main/resources/images/logos/maven-feather.png Removed Paths: ------------- trunk/openutils-maven-skin/src/main/resources/css/site.css Added: trunk/openutils-maven-skin/src/main/resources/css/maven-base.css =================================================================== --- trunk/openutils-maven-skin/src/main/resources/css/maven-base.css (rev 0) +++ trunk/openutils-maven-skin/src/main/resources/css/maven-base.css 2008-04-27 21:19:01 UTC (rev 789) @@ -0,0 +1,148 @@ +body { + margin: 0px; + padding: 0px; +} +img { + border:none; +} +table { + padding:0px; + width: 100%; + margin-left: -2px; + margin-right: -2px; +} +acronym { + cursor: help; + border-bottom: 1px dotted #feb; +} +table.bodyTable th, table.bodyTable td { + padding: 2px 4px 2px 4px; + vertical-align: top; +} +div.clear{ + clear:both; + visibility: hidden; +} +div.clear hr{ + display: none; +} +#bannerLeft, #bannerRight { + font-size: xx-large; + font-weight: bold; +} +#bannerLeft img, #bannerRight img { + margin: 0px; +} +.xleft, #bannerLeft img { + float:left; + text-shadow: #7CFC00; +} +.xright, #bannerRight img { + float:right; + text-shadow: #7CFC00; +} +#banner { + padding: 0px; +} +#banner img { + border: none; +} +#breadcrumbs { + padding: 3px 10px 3px 10px; +} +#leftColumn { + width: 170px; + float:left; + overflow: auto; +} +#bodyColumn { + margin-right: 1.5em; + margin-left: 197px; +} +#legend { + padding: 8px 0 8px 0; +} +#navcolumn { + padding: 8px 4px 0 8px; +} +#navcolumn h5 { + margin: 0; + padding: 0; + font-size: small; +} +#navcolumn ul { + margin: 0; + padding: 0; + font-size: small; +} +#navcolumn li { + list-style-type: none; + background-image: none; + background-repeat: no-repeat; + background-position: 0 0.4em; + padding-left: 16px; + list-style-position: outside; + line-height: 1.2em; + font-size: smaller; +} +#navcolumn li.expanded { + background-image: url(../images/expanded.gif); +} +#navcolumn li.collapsed { + background-image: url(../images/collapsed.gif); +} +#poweredBy { + text-align: center; +} +#navcolumn img { + margin-top: 10px; + margin-bottom: 3px; +} +#poweredBy img { + display:block; + margin: 20px 0 20px 17px; + border: 1px solid black; + width: 90px; + height: 30px; +} +#search img { + margin: 0px; + display: block; +} +#search #q, #search #btnG { + border: 1px solid #999; + margin-bottom:10px; +} +#search form { + margin: 0px; +} +#lastPublished { + font-size: x-small; +} +.navSection { + margin-bottom: 2px; + padding: 8px; +} +.navSectionHead { + font-weight: bold; + font-size: x-small; +} +.section { + padding: 4px; +} +#footer { + padding: 3px 10px 3px 10px; + font-size: x-small; +} +#breadcrumbs { + font-size: x-small; + margin: 0pt; +} +.source { + padding: 12px; + margin: 1em 7px 1em 7px; +} +.source pre { + margin: 0px; + padding: 0px; +} Property changes on: trunk/openutils-maven-skin/src/main/resources/css/maven-base.css ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/openutils-maven-skin/src/main/resources/css/maven-theme.css =================================================================== --- trunk/openutils-maven-skin/src/main/resources/css/maven-theme.css (rev 0) +++ trunk/openutils-maven-skin/src/main/resources/css/maven-theme.css 2008-04-27 21:19:01 UTC (rev 789) @@ -0,0 +1,316 @@ +body { + background-color: #1B87CA; + font-family: Verdana, Helvetica, Arial, sans-serif; + margin-left: auto; + margin-right: auto; + background-repeat: repeat-y; + font-size: 13px; + padding: 0px; +} + +#leftColumn { + width: 170px; + float: left; +} + +#bodyColumn { + margin-right: 0 !important; + margin-left: 0; + min-height: 600px; + background-color: #fff; + padding-left: 207px; + padding-right: 10px; +} + +td,select,input,li { + font-family: Verdana, Helvetica, Arial, sans-serif; + font-size: 12px; + color: #333; +} + +code { + font-size: 12px; +} + +a { + text-decoration: underline; +} + +#leftColumn a { + text-decoration: none; +} + +#leftColumn a.poweredBy { + border: none; +} + +a:link { + color: #47a; +} + +a:visited { + color: #666; +} + +a:active,a:hover { + color: #900; +} + +#legend li.externalLink { + background: url(../images/ico_external.png) left top no-repeat; + padding-left: 10px; +} + +a.externalLink,a.externalLink:link,a.externalLink:visited,a.externalLink:active,a.externalLink:hover { + background: url(../images/ico_external.png) right center no-repeat; + padding-right: 10px; +} + +#legend li.newWindow { + background: url(../images/ico_newwindow.png) left top no-repeat; + padding-left: 10px; +} + +a.newWindow,a.newWindow:link,a.newWindow:visited,a.newWindow:active,a.newWindow:hover { + background: url(../images/ico_newwindow.png) right center no-repeat; + padding-right: 10px; +} + +h2 { + font-family: Arial, Helvetica, sans-serif; + font-size: 28px; + color: #666; + background: none; + font-weight: normal; + padding-left: 0; + border: none; + border-bottom: 1px dotted #ccc; +} + +h3 { + font-family: Arial, Helvetica, sans-serif; + padding: 4px 4px 4px 0; + color: #999 !important; + background: none; + font-weight: none; + font-size: 20px; + border: none; + border-bottom: 1px dotted #ccc; +} + +p { + line-height: 1.3em; + font-size: 12px; + color: #000; +} + +#breadcrumbs { + overflow: hidden; + padding: 4px 10px 4px 20px; + background-image: url(../images/breadcrumbs.png); + background-repeat: repeat-x; + border: none; + background-color: #fff !important; +} + +#breadcrumbs a { + font-weight: bold; + color: #000; + text-decoration: underline; +} + +#leftColumn { + margin: 10px 0 10px 10px; + border: 1px solid #6bb521; + padding-right: 0; + padding-left: 0; + width: 180px; + background-color: #efc; +} + +#navcolumn { + margin: 0 !important; + padding: 0 !important; +} + +#navcolumn h5 { + font-size: 11px; + padding: 1px 0 1px 12px; + color: #fff; + background-position: left 5px; + font-variant: small-caps; + border: none; + border-bottom: 1px solid #ccc; + background-color: #6bb521; +} + +#navcolumn #lastPublished { + font-size: 10px; + margin: 20px 0pt 10px 15px; +} + +table.bodyTable th { + color: white; + background-color: #1B87CA; + text-align: left; + font-weight: normal; +} + +table.bodyTable th,table.bodyTable td { + font-size: 11px; +} + +table.bodyTable tr.a { + background-color: #ddd; +} + +table.bodyTable tr.b { + background-color: #eee; +} + +.source { + border: 1px solid #999; + overflow: auto; + background-color: #eee; +} + +dt { + padding: 4px 4px 4px 24px; + color: #333333; + background-color: #ccc; + font-weight: bold; + font-size: 14px; +} + +.subsectionTitle { + font-size: 13px; + font-weight: bold; + color: #666; +} + +table { + font-size: 10px; +} + +.xright a:link,.xright a:visited,.xright a:active { + color: #666; +} + +.xright a:hover { + color: #003300; +} + +#banner { + height: 93px; + background-color: #fff; + background-image: url(../images/header-background.png); +} + +#banner a#bannerRight img { + margin: 10px 10px 0 0 !important; +} + +#banner a#bannerLeft img { + margin: 10px 0 0 10px !important; +} + +#navcolumn ul { + margin: 3px 0 5px -0em; +} + +#navcolumn ul a { + color: #333333; +} + +#navcolumn ul a:hover { + color: red; +} + +#navcolumn ul li { + background-image: url(../images/list.png); + background-position: top left; + background-repeat: no-repeat; + margin-bottom: 2px; +} + +#navcolumn ul li.expanded { + background-image: none; + font-weight: bold; + color: #666; +} + +#navcolumn ul li.expanded ul { + margin-top: 0; + margin-bottom: 0; +} + +#navcolumn ul li.expanded ul li { + font-weight: normal; +} + +#intro { + border: solid #ccc 1px; + margin: 6px 0px 0px 0px; + padding: 10px 40px 10px 40px; +} + +.subsection { + margin-left: 3px; + color: #333333; +} + +.subsection p { + font-size: 12px; +} + +#footer { + padding: 10px; + margin: 0 0px 20px 0px; + border-top: solid #ccc 1px; + color: #fff; + background-color: #1B87CA; + background-image: url(../images/footer-background.png); + background-repeat: repeat-x; +} + +#footer div { + color: #fff; +} + +dl { + border: 1px dotted #ccc; + background-color: transparent; +} + +dt { + background-color: transparent; + font-family: Arial, Helvetica, sans-serif; + color: #999 !important; + font-weight: bold; + font-size: 16px; +} + +hr { + border: none; + border-bottom: 1px solid #ccc; + background-color: transparent; + height: 1px; +} + +#breadcrumbs,#footer,#navcolumn li { + font-size: 10px; +} + +a.poweredBy { + margin-left: 20px; +} + +.source { + margin: 10px 0; + padding: 12px; + border: 1px solid #1B87CA; +} + +#navcolumn li.collapsed { + background-image: url(../images/ico-collapsed.png); +} Property changes on: trunk/openutils-maven-skin/src/main/resources/css/maven-theme.css ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/openutils-maven-skin/src/main/resources/css/print.css =================================================================== --- trunk/openutils-maven-skin/src/main/resources/css/print.css (rev 0) +++ trunk/openutils-maven-skin/src/main/resources/css/print.css 2008-04-27 21:19:01 UTC (rev 789) @@ -0,0 +1,7 @@ +#banner, #footer, #leftcol, #breadcrumbs, .docs #toc, .docs .courtesylinks, #leftColumn, #navColumn { + display: none !important; +} +#bodyColumn, body.docs div.docs { + margin: 0 !important; + border: none !important +} Property changes on: trunk/openutils-maven-skin/src/main/resources/css/print.css ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Deleted: trunk/openutils-maven-skin/src/main/resources/css/site.css =================================================================== --- trunk/openutils-maven-skin/src/main/resources/css/site.css 2008-04-27 20:50:30 UTC (rev 788) +++ trunk/openutils-maven-skin/src/main/resources/css/site.css 2008-04-27 21:19:01 UTC (rev 789) @@ -1,314 +0,0 @@ -body { - background-color: #1B87CA; - font-family: Verdana, Helvetica, Arial, sans-serif; - margin-left: auto; - margin-right: auto; - background-repeat: repeat-y; - font-size: 13px; - padding: 0px; -} - -#leftColumn { - width: 170px; - float: left; -} - -#bodyColumn { - margin-right: 0 !important; - margin-left: 0; - min-height: 600px; - background-color: #fff; - padding-left: 207px; - padding-right: 10px; -} - -td,select,input,li { - font-family: Verdana, Helvetica, Arial, sans-serif; - font-size: 12px; - color: #333; -} - -code { - font-size: 12px; -} - -a { - text-decoration: underline; -} - -#leftColumn a { - text-decoration: none; -} - -#leftColumn a.poweredBy { - border: none; -} - -a:link { - color: #47a; -} - -a:visited { - color: #666; -} - -a:active,a:hover { - color: #900; -} - -#legend li.externalLink { - background: url(../images/ico_external.png) left top no-repeat; - padding-left: 10px; -} - -a.externalLink,a.externalLink:link,a.externalLink:visited,a.externalLink:active,a.externalLink:hover { - background: url(../images/ico_external.png) right center no-repeat; - padding-right: 10px; -} - -#legend li.newWindow { - background: url(../images/ico_newwindow.png) left top no-repeat; - padding-left: 10px; -} - -a.newWindow,a.newWindow:link,a.newWindow:visited,a.newWindow:active,a.newWindow:hover { - background: url(../images/ico_newwindow.png) right center no-repeat; - padding-right: 10px; -} - -h2 { - font-family: Arial, Helvetica, sans-serif; - font-size: 28px; - color: #666; - background: none; - font-weight: normal; - padding-left: 0; - border: none; - border-bottom: 1px dotted #ccc; -} - -h3 { - font-family: Arial, Helvetica, sans-serif; - padding: 4px 4px 4px 0; - color: #999 !important; - background: none; - font-weight: none; - font-size: 20px; - border: none; - border-bottom: 1px dotted #ccc; -} - -p { - line-height: 1.3em; - font-size: 12px; - color: #000; -} - -#breadcrumbs { - overflow: hidden; - padding: 4px 10px 4px 20px; - background-image: url(../images/breadcrumbs.png); - background-repeat: repeat-x; - border: none; - background-color: #fff !important; -} - -#breadcrumbs a { - font-weight: bold; - color: #000; - text-decoration: underline; -} - -#leftColumn { - margin: 10px 0 10px 10px; - border: 1px solid #6bb521; - padding-right: 0; - padding-left: 0; - width: 180px; - background-color: #efc; -} - -#navcolumn { - margin: 0 !important; - padding: 0 !important; -} - -#navcolumn h5 { - font-size: 11px; - padding: 1px 0 1px 12px; - color: #fff; - background-position: left 5px; - font-variant: small-caps; - border: none; - border-bottom: 1px solid #ccc; - background-color: #6bb521; -} - -#navcolumn #lastPublished { - font-size: 10px; - margin: 20px 0pt 10px 15px; -} - -table.bodyTable th { - color: white; - background-color: #1B87CA; - text-align: left; - font-weight: normal; -} - -table.bodyTable th,table.bodyTable td { - font-size: 11px; -} - -table.bodyTable tr.a { - background-color: #ddd; -} - -table.bodyTable tr.b { - background-color: #eee; -} - -.source { - border: 1px solid #999; - overflow: auto; - background-color: #eee; -} - -dt { - padding: 4px 4px 4px 24px; - color: #333333; - background-color: #ccc; - font-weight: bold; - font-size: 14px; -} - -.subsectionTitle { - font-size: 13px; - font-weight: bold; - color: #666; -} - -table { - font-size: 10px; -} - -.xright a:link,.xright a:visited,.xright a:active { - color: #666; -} - -.xright a:hover { - color: #003300; -} - -#banner { - height: 93px; - background-color: #fff; - background-image: url(../images/header-background.png); -} - -#banner a#bannerRight img { - margin: 10px 10px 0 0 !important; -} - -#banner a#bannerLeft img { - margin: 10px 0 0 10px !important; -} - -#navcolumn ul { - margin: 3px 0 5px -0em; -} - -#navcolumn ul a { - color: #333333; -} - -#navcolumn ul a:hover { - color: red; -} - -#navcolumn ul li { - background-image: url(../images/list.png); - background-position: top left; -} - -#navcolumn ul li.expanded { - background-image: none; - font-weight: bold; - color: #666; -} - -#navcolumn ul li.expanded ul { - margin-top: 0; - margin-bottom: 0; -} - -#navcolumn ul li.expanded ul li { - font-weight: normal; -} - -#intro { - border: solid #ccc 1px; - margin: 6px 0px 0px 0px; - padding: 10px 40px 10px 40px; -} - -.subsection { - margin-left: 3px; - color: #333333; -} - -.subsection p { - font-size: 12px; -} - -#footer { - padding: 10px; - margin: 0 0px 20px 0px; - border-top: solid #ccc 1px; - color: #fff; - background-color: #1B87CA; - background-image: url(../images/footer-background.png); - background-repeat: repeat-x; -} - -#footer div { - color: #fff; -} - -dl { - border: 1px dotted #ccc; - background-color: transparent; -} - -dt { - background-color: transparent; - font-family: Arial, Helvetica, sans-serif; - color: #999 !important; - font-weight: bold; - font-size: 16px; -} - -hr { - border: none; - border-bottom: 1px solid #ccc; - background-color: transparent; - height: 1px; -} - -#breadcrumbs,#footer,#navcolumn li { - font-size: 10px; -} - -a.poweredBy { - margin-left: 20px; -} - -.source { - margin: 10px 0; - padding: 12px; - border: 1px solid #1B87CA; -} - -#navcolumn li.collapsed { - background-image: url(../images/ico-collapsed.png); -} \ No newline at end of file Added: trunk/openutils-maven-skin/src/main/resources/images/logos/maven-feather.png =================================================================== (Binary files differ) Property changes on: trunk/openutils-maven-skin/src/main/resources/images/logos/maven-feather.png ___________________________________________________________________ Name: svn:mime-type + image/png This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fg...@us...> - 2008-04-27 20:51:43
|
Revision: 788 http://openutils.svn.sourceforge.net/openutils/?rev=788&view=rev Author: fgiust Date: 2008-04-27 13:50:30 -0700 (Sun, 27 Apr 2008) Log Message: ----------- [maven-release-plugin] prepare for next development iteration Modified Paths: -------------- trunk/openutils-mgnltasks/pom.xml Modified: trunk/openutils-mgnltasks/pom.xml =================================================================== --- trunk/openutils-mgnltasks/pom.xml 2008-04-27 20:48:55 UTC (rev 787) +++ trunk/openutils-mgnltasks/pom.xml 2008-04-27 20:50:30 UTC (rev 788) @@ -10,7 +10,7 @@ <packaging>jar</packaging> <artifactId>openutils-mgnltasks</artifactId> <name>openutils-mgnltasks</name> - <version>3.5</version> + <version>3.5.1-SNAPSHOT</version> <description>A collection of useful magnolia update tasks that can be reused in custom modules</description> <licenses> <license> @@ -86,10 +86,4 @@ </snapshots> </repository> </repositories> - - <scm> - <connection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-mgnltasks-3.5</connection> - <developerConnection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-mgnltasks-3.5</developerConnection> - <url>http://openutils.svn.sourceforge.net/viewcvs.cgi/openutils/tags/openutils-mgnltasks-3.5</url> - </scm> </project> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fg...@us...> - 2008-04-27 20:50:12
|
Revision: 787 http://openutils.svn.sourceforge.net/openutils/?rev=787&view=rev Author: fgiust Date: 2008-04-27 13:48:55 -0700 (Sun, 27 Apr 2008) Log Message: ----------- [maven-release-plugin] copy for tag openutils-mgnltasks-3.5 Added Paths: ----------- tags/openutils-mgnltasks-3.5/ tags/openutils-mgnltasks-3.5/pom.xml Removed Paths: ------------- tags/openutils-mgnltasks-3.5/pom.xml Copied: tags/openutils-mgnltasks-3.5 (from rev 784, trunk/openutils-mgnltasks) Deleted: tags/openutils-mgnltasks-3.5/pom.xml =================================================================== --- trunk/openutils-mgnltasks/pom.xml 2008-04-27 20:42:00 UTC (rev 784) +++ tags/openutils-mgnltasks-3.5/pom.xml 2008-04-27 20:48:55 UTC (rev 787) @@ -1,90 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - <parent> - <groupId>net.sourceforge.openutils</groupId> - <artifactId>openutils</artifactId> - <version>8</version> - <relativePath>..</relativePath> - </parent> - <modelVersion>4.0.0</modelVersion> - <packaging>jar</packaging> - <artifactId>openutils-mgnltasks</artifactId> - <name>openutils-mgnltasks</name> - <version>3.5-SNAPSHOT</version> - <description>A collection of useful magnolia update tasks that can be reused in custom modules</description> - <licenses> - <license> - <name>GPLv3</name> - <url>http://www.gnu.org/licenses/gpl-3.0.txt</url> - </license> - </licenses> - <build> - <resources> - <resource> - <filtering>false</filtering> - <directory>src/main/resources</directory> - <includes> - <include>**/*</include> - </includes> - </resource> - <resource> - <filtering>true</filtering> - <directory>src/main/resources</directory> - <includes> - <include>META-INF/magnolia/*</include> - </includes> - </resource> - </resources> - </build> - <dependencies> - <dependency> - <groupId>info.magnolia</groupId> - <artifactId>magnolia-core</artifactId> - <version>3.5.4</version> - </dependency> - <dependency> - <groupId>info.magnolia</groupId> - <artifactId>magnolia-module-admininterface</artifactId> - <version>3.5.4</version> - </dependency> - <dependency> - <groupId>javax.servlet</groupId> - <artifactId>servlet-api</artifactId> - <version>2.4</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>javax.servlet</groupId> - <artifactId>jsp-api</artifactId> - <version>2.0</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>org.testng</groupId> - <artifactId>testng</artifactId> - <classifier>jdk15</classifier> - <version>5.7</version> - <scope>test</scope> - <exclusions> - <exclusion> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - </exclusion> - </exclusions> - </dependency> - </dependencies> - <repositories> - <repository> - <id>repository.magnolia.info</id> - <name>magnolia repository</name> - <url>http://repo.magnolia.info/m2</url> - <releases> - <enabled>true</enabled> - </releases> - <snapshots> - <enabled>false</enabled> - </snapshots> - </repository> - </repositories> -</project> Copied: tags/openutils-mgnltasks-3.5/pom.xml (from rev 786, trunk/openutils-mgnltasks/pom.xml) =================================================================== --- tags/openutils-mgnltasks-3.5/pom.xml (rev 0) +++ tags/openutils-mgnltasks-3.5/pom.xml 2008-04-27 20:48:55 UTC (rev 787) @@ -0,0 +1,95 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <parent> + <groupId>net.sourceforge.openutils</groupId> + <artifactId>openutils</artifactId> + <version>8</version> + <relativePath>..</relativePath> + </parent> + <modelVersion>4.0.0</modelVersion> + <packaging>jar</packaging> + <artifactId>openutils-mgnltasks</artifactId> + <name>openutils-mgnltasks</name> + <version>3.5</version> + <description>A collection of useful magnolia update tasks that can be reused in custom modules</description> + <licenses> + <license> + <name>GPLv3</name> + <url>http://www.gnu.org/licenses/gpl-3.0.txt</url> + </license> + </licenses> + <build> + <resources> + <resource> + <filtering>false</filtering> + <directory>src/main/resources</directory> + <includes> + <include>**/*</include> + </includes> + </resource> + <resource> + <filtering>true</filtering> + <directory>src/main/resources</directory> + <includes> + <include>META-INF/magnolia/*</include> + </includes> + </resource> + </resources> + </build> + <dependencies> + <dependency> + <groupId>info.magnolia</groupId> + <artifactId>magnolia-core</artifactId> + <version>3.5.4</version> + </dependency> + <dependency> + <groupId>info.magnolia</groupId> + <artifactId>magnolia-module-admininterface</artifactId> + <version>3.5.4</version> + </dependency> + <dependency> + <groupId>javax.servlet</groupId> + <artifactId>servlet-api</artifactId> + <version>2.4</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>javax.servlet</groupId> + <artifactId>jsp-api</artifactId> + <version>2.0</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.testng</groupId> + <artifactId>testng</artifactId> + <classifier>jdk15</classifier> + <version>5.7</version> + <scope>test</scope> + <exclusions> + <exclusion> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + </exclusion> + </exclusions> + </dependency> + </dependencies> + <repositories> + <repository> + <id>repository.magnolia.info</id> + <name>magnolia repository</name> + <url>http://repo.magnolia.info/m2</url> + <releases> + <enabled>true</enabled> + </releases> + <snapshots> + <enabled>false</enabled> + </snapshots> + </repository> + </repositories> + + <scm> + <connection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-mgnltasks-3.5</connection> + <developerConnection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-mgnltasks-3.5</developerConnection> + <url>http://openutils.svn.sourceforge.net/viewcvs.cgi/openutils/tags/openutils-mgnltasks-3.5</url> + </scm> +</project> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fg...@us...> - 2008-04-27 20:48:32
|
Revision: 786 http://openutils.svn.sourceforge.net/openutils/?rev=786&view=rev Author: fgiust Date: 2008-04-27 13:47:59 -0700 (Sun, 27 Apr 2008) Log Message: ----------- [maven-release-plugin] prepare release openutils-mgnltasks-3.5 Modified Paths: -------------- trunk/openutils-mgnltasks/pom.xml Modified: trunk/openutils-mgnltasks/pom.xml =================================================================== --- trunk/openutils-mgnltasks/pom.xml 2008-04-27 20:45:10 UTC (rev 785) +++ trunk/openutils-mgnltasks/pom.xml 2008-04-27 20:47:59 UTC (rev 786) @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <parent> <groupId>net.sourceforge.openutils</groupId> <artifactId>openutils</artifactId> @@ -11,7 +10,7 @@ <packaging>jar</packaging> <artifactId>openutils-mgnltasks</artifactId> <name>openutils-mgnltasks</name> - <version>3.5-SNAPSHOT</version> + <version>3.5</version> <description>A collection of useful magnolia update tasks that can be reused in custom modules</description> <licenses> <license> @@ -87,4 +86,10 @@ </snapshots> </repository> </repositories> + + <scm> + <connection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-mgnltasks-3.5</connection> + <developerConnection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-mgnltasks-3.5</developerConnection> + <url>http://openutils.svn.sourceforge.net/viewcvs.cgi/openutils/tags/openutils-mgnltasks-3.5</url> + </scm> </project> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fg...@us...> - 2008-04-27 20:45:48
|
Revision: 785 http://openutils.svn.sourceforge.net/openutils/?rev=785&view=rev Author: fgiust Date: 2008-04-27 13:45:10 -0700 (Sun, 27 Apr 2008) Log Message: ----------- new modules Modified Paths: -------------- trunk/pom.xml Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2008-04-27 20:42:00 UTC (rev 784) +++ trunk/pom.xml 2008-04-27 20:45:10 UTC (rev 785) @@ -230,12 +230,11 @@ <module>openutils-configuration-dataobjects</module> <module>openutils-configuration-services</module> <module>openutils-hibernate-security</module> - <!-- temporarily disabled for missing dependencies --> - <!-- <module>openutils-mgnlspring</module> - --> <module>openutils-mgnlstripes</module> + <module>openutils-mgnltasks</module> <module>openutils-spring-rmibernate</module> + <!-- <module>openutils-spring-remote-callback</module>--> </modules> <dependencyManagement> <dependencies> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fg...@us...> - 2008-04-27 20:42:50
|
Revision: 784 http://openutils.svn.sourceforge.net/openutils/?rev=784&view=rev Author: fgiust Date: 2008-04-27 13:42:00 -0700 (Sun, 27 Apr 2008) Log Message: ----------- new openutils-mgnltasks module, fixed license headers Modified Paths: -------------- trunk/openutils-mgnlspring/pom.xml trunk/openutils-mgnlspring/src/main/java/it/openutils/mgnlspring/ContentBridgeTag.java trunk/openutils-mgnlspring/src/main/java/it/openutils/mgnlspring/MagnoliaMultipartResolver.java trunk/openutils-mgnlspring/src/main/java/it/openutils/mgnlspring/RewriteVarsThreadLocal.java trunk/openutils-mgnlspring/src/main/java/it/openutils/mgnlspring/UrlFunctions.java trunk/openutils-mgnlspring/src/main/java/it/openutils/mgnlspring/WrappedResponse.java trunk/openutils-mgnlstripes/pom.xml trunk/openutils-mgnlstripes/src/main/java/it/openutils/magnoliastripes/MagnoliaMultipartWrapper.java trunk/openutils-mgnlstripes/src/main/java/it/openutils/magnoliastripes/MgnlActionResolver.java trunk/openutils-mgnlstripes/src/main/java/it/openutils/magnoliastripes/StripesMagnoliaFilter.java trunk/openutils-mgnlstripes/src/main/java/it/openutils/magnoliastripes/StripesParagraphRenderer.java trunk/openutils-mgnlstripes/src/main/java/it/openutils/magnoliastripes/StripesParagraphRequestWrapper.java trunk/openutils-mgnlstripes/src/main/java/it/openutils/magnoliastripes/StripesParagraphResponseWrapper.java trunk/openutils-mgnlstripes/src/main/java/it/openutils/magnoliastripes/setup/StripesModuleVersionHandler.java trunk/openutils-mgnlstripes/src/site/changes/changes.xml Added Paths: ----------- trunk/openutils-mgnlspring/LICENSE.txt trunk/openutils-mgnlstripes/LICENSE.txt trunk/openutils-mgnlstripes/src/main/java/it/openutils/magnoliastripes/tag/ trunk/openutils-mgnlstripes/src/main/java/it/openutils/magnoliastripes/tag/ExtendedFormTag.java trunk/openutils-mgnlstripes/src/main/java/it/openutils/magnoliastripes/tag/ExtendedLabelTag.java trunk/openutils-mgnlstripes/src/main/java/it/openutils/magnoliastripes/tag/ExtendedMessagesTag.java trunk/openutils-mgnltasks/ trunk/openutils-mgnltasks/LICENSE.txt trunk/openutils-mgnltasks/pom.xml trunk/openutils-mgnltasks/src/ trunk/openutils-mgnltasks/src/main/ trunk/openutils-mgnltasks/src/main/java/ trunk/openutils-mgnltasks/src/main/java/it/ trunk/openutils-mgnltasks/src/main/java/it/openutils/ trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/ trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/AnonymousUserSetupTask.java trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/ChangeDefaultPasswordTask.java trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/CheckAndCreateUserTask.java trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/ConditionalBootstrapResource.java trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/DeleteNodeTask.java trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/ModuleConfigBootstrapTask.java trunk/openutils-mgnltasks/src/main/java/it/openutils/mgnltasks/NodeSortTask.java trunk/openutils-mgnltasks/src/site/ trunk/openutils-mgnltasks/src/site/apt/ trunk/openutils-mgnltasks/src/site/apt/index.apt trunk/openutils-mgnltasks/src/site/changes/ trunk/openutils-mgnltasks/src/site/changes/changes.xml trunk/openutils-mgnltasks/src/site/site.xml Added: trunk/openutils-mgnlspring/LICENSE.txt =================================================================== --- trunk/openutils-mgnlspring/LICENSE.txt (rev 0) +++ trunk/openutils-mgnlspring/LICENSE.txt 2008-04-27 20:42:00 UTC (rev 784) @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program 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 this program. If not, see <http://www.gnu.org/licenses/>. + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + <program> Copyright (C) <year> <name of author> + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +<http://www.gnu.org/licenses/>. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +<http://www.gnu.org/philosophy/why-not-lgpl.html>. Property changes on: trunk/openutils-mgnlspring/LICENSE.txt ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Date Id Revision Name: svn:eol-style + native Modified: trunk/openutils-mgnlspring/pom.xml =================================================================== --- trunk/openutils-mgnlspring/pom.xml 2008-04-27 20:01:20 UTC (rev 783) +++ trunk/openutils-mgnlspring/pom.xml 2008-04-27 20:42:00 UTC (rev 784) @@ -12,16 +12,22 @@ <artifactId>openutils-mgnlspring</artifactId> <name>openutils-mgnlspring</name> <version>0.2-SNAPSHOT</version> + <licenses> + <license> + <name>GPLv3</name> + <url>http://www.gnu.org/licenses/gpl-3.0.txt</url> + </license> + </licenses> <dependencies> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> - <version>1.4.3</version> + <version>1.5.0</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>jcl104-over-slf4j</artifactId> - <version>1.4.3</version> + <version>1.5.0</version> </dependency> <dependency> <groupId>org.springframework</groupId> @@ -59,7 +65,7 @@ <dependency> <groupId>info.magnolia</groupId> <artifactId>magnolia-core</artifactId> - <version>3.0.2</version> + <version>3.5.4</version> <exclusions> <exclusion> <groupId>commons-logging</groupId> @@ -70,7 +76,7 @@ <dependency> <groupId>info.magnolia</groupId> <artifactId>magnolia-jaas</artifactId> - <version>3.0.2</version> + <version>3.5.4</version> <exclusions> <exclusion> <groupId>commons-logging</groupId> @@ -107,7 +113,20 @@ </exclusions> </dependency> </dependencies> + <repositories> + <repository> + <id>repository.magnolia.info</id> + <name>magnolia repository</name> + <url>http://repo.magnolia.info/m2</url> + <releases> + <enabled>true</enabled> + </releases> + <snapshots> + <enabled>false</enabled> + </snapshots> + </repository> + </repositories> <properties> - <spring.version>2.5.1</spring.version> + <spring.version>2.5.3</spring.version> </properties> -</project> +</project> \ No newline at end of file Modified: trunk/openutils-mgnlspring/src/main/java/it/openutils/mgnlspring/ContentBridgeTag.java =================================================================== --- trunk/openutils-mgnlspring/src/main/java/it/openutils/mgnlspring/ContentBridgeTag.java 2008-04-27 20:01:20 UTC (rev 783) +++ trunk/openutils-mgnlspring/src/main/java/it/openutils/mgnlspring/ContentBridgeTag.java 2008-04-27 20:42:00 UTC (rev 784) @@ -1,17 +1,19 @@ -/* - * Copyright 2007 Fabrizio Giustina. +/** + * Copyright Openmind http://www.openmindonline.it * - * 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 + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * http://www.apache.org/licenses/LICENSE-2.0 + * This program 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. * - * 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. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * */ package it.openutils.mgnlspring; @@ -43,7 +45,7 @@ /** * @author fgiust - * @version $Id$ + * @version $Id:ContentBridgeTag.java 344 2007-06-30 15:31:28Z fgiust $ */ public class ContentBridgeTag extends TagSupport { Modified: trunk/openutils-mgnlspring/src/main/java/it/openutils/mgnlspring/MagnoliaMultipartResolver.java =================================================================== --- trunk/openutils-mgnlspring/src/main/java/it/openutils/mgnlspring/MagnoliaMultipartResolver.java 2008-04-27 20:01:20 UTC (rev 783) +++ trunk/openutils-mgnlspring/src/main/java/it/openutils/mgnlspring/MagnoliaMultipartResolver.java 2008-04-27 20:42:00 UTC (rev 784) @@ -1,17 +1,19 @@ -/* - * Copyright 2007 Fabrizio Giustina. +/** + * Copyright Openmind http://www.openmindonline.it * - * 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 + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * http://www.apache.org/licenses/LICENSE-2.0 + * This program 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. * - * 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. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * */ package it.openutils.mgnlspring; @@ -40,7 +42,6 @@ import org.springframework.web.multipart.MultipartHttpServletRequest; import org.springframework.web.multipart.MultipartResolver; import org.springframework.web.multipart.commons.CommonsFileUploadSupport; -import org.springframework.web.multipart.commons.CommonsMultipartFile; import org.springframework.web.multipart.support.DefaultMultipartHttpServletRequest; import org.springframework.web.util.WebUtils; @@ -48,7 +49,7 @@ /** * Spring MagnoliaMultipartResolver which interacts with magnolia. * @author fgiust - * @version $Id$ + * @version $Id:MagnoliaMultipartResolver.java 344 2007-06-30 15:31:28Z fgiust $ */ public class MagnoliaMultipartResolver extends CommonsFileUploadSupport implements Modified: trunk/openutils-mgnlspring/src/main/java/it/openutils/mgnlspring/RewriteVarsThreadLocal.java =================================================================== --- trunk/openutils-mgnlspring/src/main/java/it/openutils/mgnlspring/RewriteVarsThreadLocal.java 2008-04-27 20:01:20 UTC (rev 783) +++ trunk/openutils-mgnlspring/src/main/java/it/openutils/mgnlspring/RewriteVarsThreadLocal.java 2008-04-27 20:42:00 UTC (rev 784) @@ -1,23 +1,25 @@ -/* - * Copyright 2007 Fabrizio Giustina. +/** + * Copyright Openmind http://www.openmindonline.it * - * 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 + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * http://www.apache.org/licenses/LICENSE-2.0 + * This program 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. * - * 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. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * */ package it.openutils.mgnlspring; /** * @author fgiust - * @version $Id$ + * @version $Id:RewriteVarsThreadLocal.java 344 2007-06-30 15:31:28Z fgiust $ */ public final class RewriteVarsThreadLocal { Modified: trunk/openutils-mgnlspring/src/main/java/it/openutils/mgnlspring/UrlFunctions.java =================================================================== --- trunk/openutils-mgnlspring/src/main/java/it/openutils/mgnlspring/UrlFunctions.java 2008-04-27 20:01:20 UTC (rev 783) +++ trunk/openutils-mgnlspring/src/main/java/it/openutils/mgnlspring/UrlFunctions.java 2008-04-27 20:42:00 UTC (rev 784) @@ -1,17 +1,19 @@ -/* - * Copyright 2007 Fabrizio Giustina. +/** + * Copyright Openmind http://www.openmindonline.it * - * 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 + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * http://www.apache.org/licenses/LICENSE-2.0 + * This program 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. * - * 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. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * */ package it.openutils.mgnlspring; @@ -23,7 +25,7 @@ /** * @author fgiust - * @version $Id$ + * @version $Id:UrlFunctions.java 344 2007-06-30 15:31:28Z fgiust $ */ public final class UrlFunctions { Modified: trunk/openutils-mgnlspring/src/main/java/it/openutils/mgnlspring/WrappedResponse.java =================================================================== --- trunk/openutils-mgnlspring/src/main/java/it/openutils/mgnlspring/WrappedResponse.java 2008-04-27 20:01:20 UTC (rev 783) +++ trunk/openutils-mgnlspring/src/main/java/it/openutils/mgnlspring/WrappedResponse.java 2008-04-27 20:42:00 UTC (rev 784) @@ -1,17 +1,19 @@ -/* - * Copyright 2007 Fabrizio Giustina. +/** + * Copyright Openmind http://www.openmindonline.it * - * 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 + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * http://www.apache.org/licenses/LICENSE-2.0 + * This program 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. * - * 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. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * */ package it.openutils.mgnlspring; @@ -27,7 +29,7 @@ /** * @author fgiust - * @version $Id$ + * @version $Id:WrappedResponse.java 344 2007-06-30 15:31:28Z fgiust $ */ public class WrappedResponse extends HttpServletResponseWrapper { Added: trunk/openutils-mgnlstripes/LICENSE.txt =================================================================== --- trunk/openutils-mgnlstripes/LICENSE.txt (rev 0) +++ trunk/openutils-mgnlstripes/LICENSE.txt 2008-04-27 20:42:00 UTC (rev 784) @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on th... [truncated message content] |
From: <fg...@us...> - 2008-04-27 20:02:09
|
Revision: 783 http://openutils.svn.sourceforge.net/openutils/?rev=783&view=rev Author: fgiust Date: 2008-04-27 13:01:20 -0700 (Sun, 27 Apr 2008) Log Message: ----------- fix Before/After annotations Modified Paths: -------------- trunk/openutils-testing4dwr-junit/src/main/java/it/openutils/testing/junit/dwr/DwrTestCase.java Modified: trunk/openutils-testing4dwr-junit/src/main/java/it/openutils/testing/junit/dwr/DwrTestCase.java =================================================================== --- trunk/openutils-testing4dwr-junit/src/main/java/it/openutils/testing/junit/dwr/DwrTestCase.java 2008-04-27 18:42:02 UTC (rev 782) +++ trunk/openutils-testing4dwr-junit/src/main/java/it/openutils/testing/junit/dwr/DwrTestCase.java 2008-04-27 20:01:20 UTC (rev 783) @@ -20,10 +20,10 @@ import java.io.FileNotFoundException; import java.io.IOException; +import org.junit.After; import org.junit.AfterClass; +import org.junit.Before; import org.junit.BeforeClass; -import org.testng.annotations.AfterMethod; -import org.testng.annotations.BeforeMethod; /** @@ -56,13 +56,13 @@ dwrTestContext.setUpServer(); } - @BeforeMethod + @Before protected void setUpClient() throws Exception { dwrTestContext.setUpClient(); } - @AfterMethod + @After protected void tearDownClient() throws Exception { dwrTestContext.tearDownClient(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fg...@us...> - 2008-04-27 18:42:02
|
Revision: 782 http://openutils.svn.sourceforge.net/openutils/?rev=782&view=rev Author: fgiust Date: 2008-04-27 11:42:02 -0700 (Sun, 27 Apr 2008) Log Message: ----------- minor updates Modified Paths: -------------- trunk/openutils-mgnlstripes/pom.xml trunk/openutils-mgnlstripes/src/main/java/it/openutils/magnoliastripes/StripesMagnoliaFilter.java trunk/openutils-mgnlstripes/src/main/java/it/openutils/magnoliastripes/StripesParagraphRenderer.java trunk/openutils-mgnlstripes/src/main/java/it/openutils/magnoliastripes/StripesParagraphRequestWrapper.java trunk/openutils-mgnlstripes/src/main/resources/mgnl-bootstrap/stripes/config.server.filters.stripes.xml Modified: trunk/openutils-mgnlstripes/pom.xml =================================================================== --- trunk/openutils-mgnlstripes/pom.xml 2008-04-27 18:29:29 UTC (rev 781) +++ trunk/openutils-mgnlstripes/pom.xml 2008-04-27 18:42:02 UTC (rev 782) @@ -1,5 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <parent> <groupId>net.sourceforge.openutils</groupId> <artifactId>openutils</artifactId> @@ -50,12 +51,12 @@ <dependency> <groupId>info.magnolia</groupId> <artifactId>magnolia-core</artifactId> - <version>3.5-rc2</version> + <version>3.5.4</version> </dependency> <dependency> <groupId>info.magnolia</groupId> <artifactId>magnolia-module-admininterface</artifactId> - <version>3.5.2</version> + <version>3.5.4</version> </dependency> <dependency> <groupId>javax.servlet</groupId> @@ -83,6 +84,15 @@ </exclusions> </dependency> </dependencies> + <dependencyManagement> + <dependencies> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>INVALID</version> + </dependency> + </dependencies> + </dependencyManagement> <repositories> <repository> <id>repository.magnolia.info</id> @@ -96,4 +106,4 @@ </snapshots> </repository> </repositories> -</project> +</project> \ No newline at end of file Modified: trunk/openutils-mgnlstripes/src/main/java/it/openutils/magnoliastripes/StripesMagnoliaFilter.java =================================================================== --- trunk/openutils-mgnlstripes/src/main/java/it/openutils/magnoliastripes/StripesMagnoliaFilter.java 2008-04-27 18:29:29 UTC (rev 781) +++ trunk/openutils-mgnlstripes/src/main/java/it/openutils/magnoliastripes/StripesMagnoliaFilter.java 2008-04-27 18:42:02 UTC (rev 782) @@ -20,7 +20,7 @@ /** * @author fgiust - * @version $Id$ + * @version $Id: $ */ public class StripesMagnoliaFilter extends StripesFilter implements MgnlFilter { @@ -81,7 +81,7 @@ public void init(FilterConfig filterConfig) throws ServletException { super.init(filterConfig); - filterConfig.getServletContext().setAttribute(Configuration.class.getName(), getConfiguration()); + filterConfig.getServletContext().setAttribute(Configuration.class.getName(), getInstanceConfiguration()); } /** Modified: trunk/openutils-mgnlstripes/src/main/java/it/openutils/magnoliastripes/StripesParagraphRenderer.java =================================================================== --- trunk/openutils-mgnlstripes/src/main/java/it/openutils/magnoliastripes/StripesParagraphRenderer.java 2008-04-27 18:29:29 UTC (rev 781) +++ trunk/openutils-mgnlstripes/src/main/java/it/openutils/magnoliastripes/StripesParagraphRenderer.java 2008-04-27 18:42:02 UTC (rev 782) @@ -87,7 +87,6 @@ * </p> * {@inheritDoc} */ - @SuppressWarnings("unchecked") public void render(Content content, Paragraph paragraph, Writer out) throws IOException { // @fgiust start custom magnolia setup @@ -104,7 +103,8 @@ request = new StripesParagraphRequestWrapper( ((WebContext) MgnlContext.getInstance()).getRequest(), templatePath, - nodeDataMap); + nodeDataMap, + out); ((StripesParagraphRequestWrapper) request).setLocale(MgnlContext.getLocale()); } @@ -117,7 +117,7 @@ request.setAttribute(StripesConstants.REQ_ATTR_INCLUDE_PATH, templatePath); PageContext pageContext = webContext.getPageContext(); - ServletContext servletContext = null; + ServletContext servletContext = webContext.getServletContext(); if (pageContext != null) { @@ -133,8 +133,19 @@ try { - final Configuration config = StripesFilter.getConfiguration(); + Configuration config = (Configuration) servletContext.getAttribute(Configuration.class.getName()); + if (config == null) + { + // avoid NPES, an error has already been logged. + log.warn("Stripes configuration not found for request " + + request.getAttribute("javax.servlet.forward.request_uri") + + " while including " + + request.getRequestURI()); + + return; + } + // First manufacture an ActionBeanContext final ActionBeanContext context = config .getActionBeanContextFactory() @@ -147,7 +158,6 @@ ctx.setLifecycleStage(LifecycleStage.ActionBeanResolution); ctx.setActionBeanContext(context); - ActionBeanContext abc = ctx.getActionBeanContext(); if (pageContext != null) { DispatcherHelper.setPageContext(pageContext); Modified: trunk/openutils-mgnlstripes/src/main/java/it/openutils/magnoliastripes/StripesParagraphRequestWrapper.java =================================================================== --- trunk/openutils-mgnlstripes/src/main/java/it/openutils/magnoliastripes/StripesParagraphRequestWrapper.java 2008-04-27 18:29:29 UTC (rev 781) +++ trunk/openutils-mgnlstripes/src/main/java/it/openutils/magnoliastripes/StripesParagraphRequestWrapper.java 2008-04-27 18:42:02 UTC (rev 782) @@ -4,6 +4,7 @@ import info.magnolia.context.WebContext; import java.io.IOException; +import java.io.Writer; import java.util.Enumeration; import java.util.Hashtable; import java.util.Locale; @@ -37,6 +38,8 @@ */ private Map<String, String[]> parameterMap; + private Writer out; + /** * Instantiate a new request wrapper. * @param request original HttpServletRequest @@ -48,10 +51,12 @@ public StripesParagraphRequestWrapper( HttpServletRequest request, String servletPath, - Map<String, String[]> paragraphsData) throws StripesServletException + Map<String, String[]> paragraphsData, + Writer out) throws StripesServletException { super(request); this.servletPath = servletPath; + this.out = out; parameterMap = new Hashtable<String, String[]>(); parameterMap.putAll(request.getParameterMap()); @@ -128,7 +133,7 @@ @Override public RequestDispatcher getRequestDispatcher(String path) { - return new MagnoliaRequestDispatcher(path); + return new MagnoliaRequestDispatcher(path, out); } /** @@ -144,13 +149,16 @@ */ private String url; + private Writer out; + /** * Created a new MagnoliaRequestDispatcher for the given url. * @param url url passed to {@link HttpServletRequest#getRequestDispatcher()} */ - public MagnoliaRequestDispatcher(String url) + public MagnoliaRequestDispatcher(String url, Writer out) { this.url = url; + this.out = out; } /** @@ -158,7 +166,7 @@ */ public void forward(ServletRequest request, ServletResponse response) throws ServletException, IOException { - ((WebContext) MgnlContext.getInstance()).include(url, response.getWriter()); + ((WebContext) MgnlContext.getInstance()).include(url, out); } /** @@ -166,7 +174,8 @@ */ public void include(ServletRequest request, ServletResponse response) throws ServletException, IOException { - ((WebContext) MgnlContext.getInstance()).include(url, response.getWriter()); + ((WebContext) MgnlContext.getInstance()).include(url, out); } + } } \ No newline at end of file Modified: trunk/openutils-mgnlstripes/src/main/resources/mgnl-bootstrap/stripes/config.server.filters.stripes.xml =================================================================== --- trunk/openutils-mgnlstripes/src/main/resources/mgnl-bootstrap/stripes/config.server.filters.stripes.xml 2008-04-27 18:29:29 UTC (rev 781) +++ trunk/openutils-mgnlstripes/src/main/resources/mgnl-bootstrap/stripes/config.server.filters.stripes.xml 2008-04-27 18:42:02 UTC (rev 782) @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <sv:node sv:name="stripes" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:mgnl="http://www.magnolia.info/jcr/mgnl" - xmlns:rep="internal" xmlns:mix="http://www.jcp.org/jcr/mix/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" - xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:xs="http://www.w3.org/2001/XMLSchema" - xmlns:fn_old="http://www.w3.org/2004/10/xpath-functions" xmlns:sv="http://www.jcp.org/jcr/sv/1.0" + xmlns:rep="internal" xmlns:mix="http://www.jcp.org/jcr/mix/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:fn="http://www.w3.org/2005/xpath-functions" + xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn_old="http://www.w3.org/2004/10/xpath-functions" xmlns:sv="http://www.jcp.org/jcr/sv/1.0" xmlns:jcrfn="http://www.jcp.org/jcr/xpath-functions/1.0"> <sv:property sv:name="jcr:primaryType" sv:type="Name"> <sv:value>mgnl:content</sv:value> @@ -75,48 +74,5 @@ <sv:value>2007-11-15T20:26:33.315+01:00</sv:value> </sv:property> </sv:node> - <sv:node sv:name="extensions"> - <sv:property sv:name="jcr:primaryType" sv:type="Name"> - <sv:value>mgnl:contentNode</sv:value> - </sv:property> - <sv:property sv:name="jcr:mixinTypes" sv:type="Name"> - <sv:value>mix:versionable</sv:value> - </sv:property> - <sv:property sv:name="jcr:uuid" sv:type="String"> - <sv:value>e30e33c9-7093-4f1f-b889-36e4956e648f</sv:value> - </sv:property> - <sv:property sv:name="allow" sv:type="String"> - <sv:value>html,action</sv:value> - </sv:property> - <sv:property sv:name="not" sv:type="String"> - <sv:value>true</sv:value> - </sv:property> - <sv:property sv:name="class" sv:type="String"> - <sv:value>info.magnolia.voting.voters.ExtensionVoter</sv:value> - </sv:property> - <sv:node sv:name="MetaData"> - <sv:property sv:name="jcr:primaryType" sv:type="Name"> - <sv:value>mgnl:metaData</sv:value> - </sv:property> - <sv:property sv:name="mgnl:activated" sv:type="Boolean"> - <sv:value>false</sv:value> - </sv:property> - <sv:property sv:name="mgnl:activatorid" sv:type="String"> - <sv:value>mgnladmin</sv:value> - </sv:property> - <sv:property sv:name="mgnl:authorid" sv:type="String"> - <sv:value>mgnladmin</sv:value> - </sv:property> - <sv:property sv:name="mgnl:creationdate" sv:type="Date"> - <sv:value>2007-04-25T18:23:31.784+02:00</sv:value> - </sv:property> - <sv:property sv:name="mgnl:lastaction" sv:type="Date"> - <sv:value>2007-11-15T20:26:54.756+01:00</sv:value> - </sv:property> - <sv:property sv:name="mgnl:lastmodified" sv:type="Date"> - <sv:value>2007-11-15T20:27:51.247+01:00</sv:value> - </sv:property> - </sv:node> - </sv:node> </sv:node> -</sv:node> +</sv:node> \ 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: <fg...@us...> - 2008-04-27 18:30:03
|
Revision: 781 http://openutils.svn.sourceforge.net/openutils/?rev=781&view=rev Author: fgiust Date: 2008-04-27 11:29:29 -0700 (Sun, 27 Apr 2008) Log Message: ----------- dependencies updated Modified Paths: -------------- trunk/openutils-testing4dwr/pom.xml trunk/openutils-testing4web/pom.xml Modified: trunk/openutils-testing4dwr/pom.xml =================================================================== --- trunk/openutils-testing4dwr/pom.xml 2008-04-27 17:02:54 UTC (rev 780) +++ trunk/openutils-testing4dwr/pom.xml 2008-04-27 18:29:29 UTC (rev 781) @@ -123,7 +123,7 @@ <dependency> <groupId>rhino</groupId> <artifactId>js</artifactId> - <version>1.6R6-candidate2</version> + <version>1.7R1</version> </dependency> </dependencies> <properties> Modified: trunk/openutils-testing4web/pom.xml =================================================================== --- trunk/openutils-testing4web/pom.xml 2008-04-27 17:02:54 UTC (rev 780) +++ trunk/openutils-testing4web/pom.xml 2008-04-27 18:29:29 UTC (rev 781) @@ -13,11 +13,6 @@ <description>openutils test utils for webapps</description> <dependencies> <dependency> - <groupId>net.sourceforge.openutils</groupId> - <artifactId>openutils-testing</artifactId> - <version>2.1.1-SNAPSHOT</version> - </dependency> - <dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <version>${spring.version}</version> @@ -35,19 +30,14 @@ <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> - <version>1.4.3</version> + <version>1.5.0</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>jcl104-over-slf4j</artifactId> - <version>1.4.3</version> + <version>1.5.0</version> </dependency> <dependency> - <groupId>log4j</groupId> - <artifactId>log4j</artifactId> - <version>1.2.13</version> - </dependency> - <dependency> <groupId>httpunit</groupId> <artifactId>httpunit</artifactId> <version>1.6.2</version> @@ -128,10 +118,10 @@ <dependency> <groupId>rhino</groupId> <artifactId>js</artifactId> - <version>1.6R6-candidate2</version> + <version>1.7R1</version> </dependency> </dependencies> <properties> <spring.version>2.5.3</spring.version> </properties> -</project> +</project> \ 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: <fg...@us...> - 2008-04-27 17:03:06
|
Revision: 780 http://openutils.svn.sourceforge.net/openutils/?rev=780&view=rev Author: fgiust Date: 2008-04-27 10:02:54 -0700 (Sun, 27 Apr 2008) Log Message: ----------- refactor and rename openutils-testing for dwr Modified Paths: -------------- trunk/openutils-testing4dwr/pom.xml trunk/openutils-testing4dwr-junit/src/main/java/it/openutils/testing/junit/dwr/DwrTestCase.java trunk/openutils-testing4dwr-testng/src/main/java/it/openutils/testing/testng/dwr/DwrTestCase.java trunk/openutils-testing4web/pom.xml trunk/pom.xml Added Paths: ----------- trunk/openutils-testing4dwr/src/main/java/it/ trunk/openutils-testing4dwr/src/main/java/it/openutils/ trunk/openutils-testing4dwr/src/main/java/it/openutils/testing/ trunk/openutils-testing4dwr/src/main/java/it/openutils/testing/dwr/ trunk/openutils-testing4dwr/src/main/java/it/openutils/testing/dwr/DwrTestContext.java trunk/openutils-testing4dwr/src/main/java/it/openutils/testing/dwr/JsException.java trunk/openutils-testing4dwr/src/main/java/it/openutils/testing/dwr/XMLHttpRequest.java trunk/openutils-testing4dwr/src/main/resources/webEnv.js trunk/openutils-testing4dwr-junit/ trunk/openutils-testing4dwr-junit/pom.xml trunk/openutils-testing4dwr-junit/src/ trunk/openutils-testing4dwr-testng/ trunk/openutils-testing4dwr-testng/pom.xml trunk/openutils-testing4dwr-testng/src/ Removed Paths: ------------- trunk/openutils-testing-junit-dwr/ trunk/openutils-testing-testng-dwr/ trunk/openutils-testing4dwr-junit/pom.xml trunk/openutils-testing4dwr-junit/src/ trunk/openutils-testing4dwr-junit/src/main/java/it/openutils/testing/junit/dwr/JsException.java trunk/openutils-testing4dwr-junit/src/main/java/it/openutils/testing/junit/dwr/XMLHttpRequest.java trunk/openutils-testing4dwr-junit/src/main/resources/webEnv.js trunk/openutils-testing4dwr-testng/pom.xml trunk/openutils-testing4dwr-testng/src/ trunk/openutils-testing4dwr-testng/src/main/java/it/openutils/testing/testng/dwr/JsException.java trunk/openutils-testing4dwr-testng/src/main/java/it/openutils/testing/testng/dwr/XMLHttpRequest.java trunk/openutils-testing4dwr-testng/src/main/resources/webEnv.js Property Changed: ---------------- trunk/openutils-testing4dwr/ trunk/openutils-testing4web/ Property changes on: trunk/openutils-testing4dwr ___________________________________________________________________ Name: svn:ignore + .settings target .checkstyle .classpath .project Modified: trunk/openutils-testing4dwr/pom.xml =================================================================== --- trunk/openutils-testing4dwr/pom.xml 2008-04-27 16:35:14 UTC (rev 779) +++ trunk/openutils-testing4dwr/pom.xml 2008-04-27 17:02:54 UTC (rev 780) @@ -13,11 +13,6 @@ <description>openutils test utils for dwr</description> <dependencies> <dependency> - <groupId>net.sourceforge.openutils</groupId> - <artifactId>openutils-testing</artifactId> - <version>2.0.3-SNAPSHOT</version> - </dependency> - <dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <version>${spring.version}</version> @@ -48,12 +43,6 @@ <version>1.2.13</version> </dependency> <dependency> - <groupId>org.testng</groupId> - <artifactId>testng</artifactId> - <classifier>jdk15</classifier> - <version>5.1</version> - </dependency> - <dependency> <groupId>httpunit</groupId> <artifactId>httpunit</artifactId> <version>1.6.2</version> @@ -138,6 +127,6 @@ </dependency> </dependencies> <properties> - <spring.version>2.5.1</spring.version> + <spring.version>2.5.3</spring.version> </properties> -</project> +</project> \ No newline at end of file Added: trunk/openutils-testing4dwr/src/main/java/it/openutils/testing/dwr/DwrTestContext.java =================================================================== --- trunk/openutils-testing4dwr/src/main/java/it/openutils/testing/dwr/DwrTestContext.java (rev 0) +++ trunk/openutils-testing4dwr/src/main/java/it/openutils/testing/dwr/DwrTestContext.java 2008-04-27 17:02:54 UTC (rev 780) @@ -0,0 +1,312 @@ +/* + * Copyright Openmind http://www.openmindonline.it + * + * 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 it.openutils.testing.dwr; + +import java.io.File; +import java.io.FileInputStream; +import java.io.FileNotFoundException; +import java.io.IOException; +import java.io.InputStream; +import java.net.HttpURLConnection; +import java.net.MalformedURLException; +import java.net.URI; +import java.net.URISyntaxException; +import java.net.URL; +import java.util.ArrayList; +import java.util.List; + +import org.mozilla.javascript.Context; +import org.mozilla.javascript.Scriptable; +import org.mozilla.javascript.ScriptableObject; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.xml.sax.SAXException; + +import com.meterware.httpunit.GetMethodWebRequest; +import com.meterware.httpunit.WebResponse; +import com.meterware.servletunit.ServletRunner; +import com.meterware.servletunit.ServletUnitClient; + + +/** + * @author fgiust + * @version $Id$ + */ +public class DwrTestContext +{ + + public static final String SERVLET_UNIT_CLIENT = "SERVLET_UNIT_CLIENT"; + + private static Logger log = LoggerFactory.getLogger(DwrTestContext.class); + + private Context context; + + private Scriptable scope; + + private ServletUnitClient servletUnitClient; + + private ServletRunner servletRunner; + + private String webXmlLocation; + + private String contextPath = "/webapp"; + + private List<String> jsLibraries = new ArrayList<String>(); + + public void setAbsoluteWebXmlLocation(String absoluteWebXmlLocation) + { + this.webXmlLocation = absoluteWebXmlLocation; + } + + public void setContextPath(String contextPath) + { + this.contextPath = contextPath; + if (this.contextPath != null) + { + this.contextPath = this.contextPath.replace('\\', '/'); + if (!this.contextPath.startsWith("/")) + { + this.contextPath = "/" + this.contextPath; + } + } + } + + public void addJsLibrary(String library) + { + jsLibraries.add(library); + } + + public void setUpServer() throws Exception + { + // run httpunit servlet engine + servletRunner = new ServletRunner(new File(webXmlLocation), contextPath); + } + + public void setUpClient() throws Exception + { + servletUnitClient = servletRunner.newClient(); + + // init scripting context + context = Context.enter(); + context.setLanguageVersion(Context.VERSION_1_6); + + // store servletUnitClient in context + context.putThreadLocal(DwrTestContext.SERVLET_UNIT_CLIENT, servletUnitClient); + + // load js support for window and document + String jsWebEnvironment = ""; + InputStream is = Thread.currentThread().getContextClassLoader().getResourceAsStream("webEnv.js"); + byte[] buffer = new byte[1024]; + int read = 0; + int length = 1024; + while ((read = is.read(buffer, 0, length)) > 0) + { + jsWebEnvironment += new String(buffer, 0, read); + } + is.close(); + + // + scope = context.initStandardObjects(); + ScriptableObject.defineClass(scope, XMLHttpRequest.class); + // ScriptableObject.defineClass(scope, JsJUnitAssert.class); + context.evaluateString(scope, jsWebEnvironment, "webEnv.js", -1, null); + scope.put("Test", scope, this); + scope.put("Log", scope, log); + + // add javascript + for (String library : jsLibraries) + { + if (loadLibraryFromLocalServer(library)) + { + log.info("Loaded library from local server: " + library); + } + else if (loadLibraryFromRemoteServer(library)) + { + log.info("Loaded library from remote server: " + library); + } + else if (loadLibraryFromClasspath(library)) + { + log.info("Loaded library from classpath: " + library); + } + else if (loadLibraryFromFileSystem(library)) + { + log.info("Loaded library from filesystem: " + library); + } + else + { + log.error("Can't load library " + library); + throw new FileNotFoundException(library); + } + } + } + + private boolean loadLibraryFromLocalServer(String library) throws MalformedURLException, SAXException, IOException, + URISyntaxException + { + if (!library.startsWith("http://localhost/")) + { + return false; + } + + WebResponse response = servletUnitClient.getResponse(new GetMethodWebRequest(library)); + if (response == null) + { + return false; + } + URI uri = new URI(library); + context.evaluateString(scope, response.getText(), uri.getPath(), -1, null); + + return true; + } + + private boolean loadLibraryFromRemoteServer(String library) throws MalformedURLException, SAXException, + IOException, URISyntaxException + { + if (!library.startsWith("http://")) + { + return false; + } + + URL url = new URL(library); + + // connect to library + HttpURLConnection connection = (HttpURLConnection) url.openConnection(); + connection.setRequestMethod("GET"); + connection.setDoInput(true); + connection.connect(); + + // get response + InputStream is = connection.getInputStream(); + StringBuffer sb = new StringBuffer(); + + int i; + while ((i = is.read()) != -1) + { + sb.append((char) i); + } + is.close(); + connection.disconnect(); + + // put response in context + context.evaluateString(scope, sb.toString(), url.getPath(), -1, null); + + return true; + } + + private boolean loadLibraryFromClasspath(String library) throws IOException + { + String js = loadFileFromClassPath(library); + + if (js == null) + { + return false; + } + + context.evaluateString(scope, js, library, -1, null); + + return true; + } + + private String loadFileFromClassPath(String file) throws IOException + { + InputStream is = Thread.currentThread().getContextClassLoader().getResourceAsStream(file); + if (is == null) + { + return null; + } + byte[] buffer = new byte[1024]; + int read = 0; + String js = ""; + while ((read = is.read(buffer, 0, buffer.length)) > 0) + { + js += new String(buffer, 0, read); + } + is.close(); + + return js; + } + + private boolean loadLibraryFromFileSystem(String library) throws FileNotFoundException, IOException + { + String js = loadFileFromFileSystem(library); + + if (js == null) + { + return false; + } + + context.evaluateString(scope, js, library, -1, null); + + return true; + } + + private String loadFileFromFileSystem(String file) throws FileNotFoundException, IOException + { + File f = new File(file); + if (!f.exists()) + { + return null; + } + + InputStream is = new FileInputStream(f); + if (is == null) + { + return null; + } + byte[] buffer = new byte[1024]; + int read = 0; + String js = ""; + while ((read = is.read(buffer, 0, buffer.length)) > 0) + { + js += new String(buffer, 0, read); + } + is.close(); + + return js; + } + + public void tearDownClient() throws Exception + { + scope = null; + Context.exit(); + } + + public void tearDownServer() throws Exception + { + servletRunner.shutDown(); + } + + public void runScript(String script) + { + context.evaluateString(scope, script, "inline", -1, null); + } + + public void runScriptFile(String scriptFile) throws FileNotFoundException, IOException + { + String js = loadFileFromClassPath(scriptFile); + if (js == null) + { + js = loadFileFromFileSystem(scriptFile); + if (js == null) + { + throw new FileNotFoundException(scriptFile); + } + } + + context.evaluateString(scope, js, scriptFile, -1, null); + } + +} Property changes on: trunk/openutils-testing4dwr/src/main/java/it/openutils/testing/dwr/DwrTestContext.java ___________________________________________________________________ Name: svn:executable + * Name: svn:mime-type + text/plain Name: svn:keywords + Author Date Id Revision Name: svn:eol-style + native Added: trunk/openutils-testing4dwr/src/main/java/it/openutils/testing/dwr/JsException.java =================================================================== --- trunk/openutils-testing4dwr/src/main/java/it/openutils/testing/dwr/JsException.java (rev 0) +++ trunk/openutils-testing4dwr/src/main/java/it/openutils/testing/dwr/JsException.java 2008-04-27 17:02:54 UTC (rev 780) @@ -0,0 +1,23 @@ +package it.openutils.testing.dwr; + +import org.mozilla.javascript.ScriptableObject; + + +/** + * @author mmolaschi + * @version $Id$ + */ +public class JsException extends ScriptableObject +{ + + @Override + public String getClassName() + { + return "Exception"; + } + + public void js_constructor(String message) throws Exception + { + throw new Exception(message); + } +} Property changes on: trunk/openutils-testing4dwr/src/main/java/it/openutils/testing/dwr/JsException.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Date Id Revision Name: svn:eol-style + native Added: trunk/openutils-testing4dwr/src/main/java/it/openutils/testing/dwr/XMLHttpRequest.java =================================================================== --- trunk/openutils-testing4dwr/src/main/java/it/openutils/testing/dwr/XMLHttpRequest.java (rev 0) +++ trunk/openutils-testing4dwr/src/main/java/it/openutils/testing/dwr/XMLHttpRequest.java 2008-04-27 17:02:54 UTC (rev 780) @@ -0,0 +1,480 @@ +//============================================================================= +//Change History: +//Date UserId Defect Description +//---------------------------------------------------------------------------- +//07/02/05 ant ??? Initial version. +//09/02/05 ant Support both HTTP GET and POST +//14/02/05 ant Fix call backs in functions +//20/02/05 ant Support HTTP HEAD +//28/02/05 ant HTTP basic authentication support +// +package it.openutils.testing.dwr; + +import java.io.ByteArrayInputStream; +import java.io.IOException; +import java.io.InputStream; +import java.io.OutputStreamWriter; +import java.io.StringReader; +import java.net.Authenticator; +import java.net.HttpURLConnection; +import java.net.MalformedURLException; +import java.net.PasswordAuthentication; +import java.net.URL; +import java.util.HashMap; +import java.util.Iterator; +import java.util.Map; + +import org.mozilla.javascript.Context; +import org.mozilla.javascript.NativeFunction; +import org.mozilla.javascript.Scriptable; +import org.mozilla.javascript.ScriptableObject; +import org.w3c.dom.Document; +import org.xml.sax.InputSource; +import org.xml.sax.SAXException; + +import com.meterware.httpunit.GetMethodWebRequest; +import com.meterware.httpunit.PostMethodWebRequest; +import com.meterware.httpunit.WebRequest; +import com.meterware.httpunit.WebResponse; +import com.meterware.servletunit.ServletUnitClient; +import com.sun.org.apache.xerces.internal.parsers.DOMParser; + + +/** + * XMLHttpRequest simulates the Mozilla XMLHttpRequest. Add this class to the Rhino classpath and then define to Rhino + * with <code>defineClass('xmlhttp.XMLHttpRequest');</code> + * @author <a href="mailto:ant...@uk...">Ant Elder </a> + */ +public class XMLHttpRequest extends ScriptableObject +{ + + /** + * Stable serialVersionUID. + */ + private static final long serialVersionUID = 42L; + + private String url; + + private String httpMethod; + + private int httpStatus; + + private String httpStatusText; + + private Map<String, String> requestHeaders; + + private String userName; + + private String password; + + private String responseText; + + private Document responseXML; + + private int readyState; + + private NativeFunction readyStateChangeFunction; + + private boolean asyncFlag; + + private Thread asyncThread; + + private ServletUnitClient suc; + + private WebRequest request; + + private WebResponse response; + + private boolean localRequest; + + private HttpURLConnection connection; + + public XMLHttpRequest() + { + } + + public void jsConstructor() + { + suc = (ServletUnitClient) Context.getCurrentContext().getThreadLocal(DwrTestContext.SERVLET_UNIT_CLIENT); + } + + @Override + public String getClassName() + { + return "XMLHttpRequest"; + } + + public void jsFunction_setRequestHeader(String headerName, String value) + { + if (readyState > 1) + { + throw new IllegalStateException("request already in progress"); + } + + if (requestHeaders == null) + { + requestHeaders = new HashMap<String, String>(); + } + + requestHeaders.put(headerName, value); + } + + public Map<String, String[]> jsFunction_getAllResponseHeaders() + { + if (readyState < 3) + { + throw new IllegalStateException("must call send before getting response headers"); + } + Map<String, String[]> map = new HashMap<String, String[]>(); + for (String name : response.getHeaderFieldNames()) + { + map.put(name.toLowerCase(), response.getHeaderFields(name)); + } + return map; + } + + public String jsFunction_getResponseHeader(String headerName) + { + String theValue = ""; + String[] theValues = jsFunction_getAllResponseHeaders().get(headerName.toLowerCase()); + for (String value : theValues) + { + theValue = ((theValue.length() > 0) ? " " : "") + value; + } + return theValue; + } + + public void jsFunction_open(String httpMethod, String url, boolean asyncFlag, String userName, String password) + { + + if (readyState != 0) + { + throw new IllegalStateException("already open"); + } + + this.httpMethod = httpMethod; + + this.url = url; + + if (!this.url.startsWith("http://")) + { + this.url = "http://localhost" + ((this.url.startsWith("/")) ? "" : "/") + this.url; + } + + if (this.url.startsWith("http://localhost/")) + { + this.localRequest = true; + } + else + { + this.localRequest = false; + } + + this.asyncFlag = asyncFlag; + + if ("undefined".equals(userName) || "".equals(userName)) + { + this.userName = null; + } + else + { + this.userName = userName; + } + if ("undefined".equals(password) || "".equals(password)) + { + this.password = null; + } + else + { + this.password = password; + } + if (this.userName != null) + { + setAuthenticator(); + } + + setReadyState(1); + } + + private void setAuthenticator() + { + Authenticator.setDefault(new Authenticator() + { + + @Override + protected PasswordAuthentication getPasswordAuthentication() + { + return new PasswordAuthentication(userName, password.toCharArray()); + } + }); + } + + public void jsFunction_send(Object o) throws SAXException, MalformedURLException, IOException + { + final String content = (o == null) ? "" : o.toString(); + /* + * if (asyncFlag) { Runnable r = new Runnable() { public void run() { try { doSend(content); } catch + * (SAXException ex) { throw new NestableRuntimeException(ex); } } }; this.asyncThread = new Thread(r); + * asyncThread.start(); } else + */ + + doSend(content); + + } + + public void jsFunction_abort() + { + if (asyncThread != null) + { + asyncThread.interrupt(); + } + } + + /** + * @return Returns the readyState. + */ + public int jsGet_readyState() + { + return readyState; + } + + /** + * @return Returns the responseText. + */ + public String jsGet_responseText() + { + if (readyState < 2) + { + throw new IllegalStateException("request not yet sent"); + } + return responseText; + } + + /** + * @return Returns the responseXML as a DOM Document. + */ + public Document jsGet_responseXML() + { + if (responseXML == null && responseText != null) + { + convertResponse2DOM(); + } + return responseXML; + } + + private void convertResponse2DOM() + { + try + { + + DOMParser parser = new DOMParser(); + StringReader sr = new StringReader(jsGet_responseText()); + parser.parse(new InputSource(sr)); + this.responseXML = parser.getDocument(); + + } + catch (SAXException e) + { + throw new RuntimeException("ex: " + e, e); + } + catch (IOException e) + { + throw new RuntimeException("ex: " + e, e); + } + } + + /** + * @return Returns the htto status. + */ + public int jsGet_status() + { + return httpStatus; + } + + /** + * @return Returns the http status text. + */ + public String jsGet_statusText() + { + return httpStatusText; + } + + /** + * @return Returns the onreadystatechange. + */ + public Object jsGet_onreadystatechange() + { + return readyStateChangeFunction; + } + + public void jsSet_onreadystatechange(NativeFunction function) + { + readyStateChangeFunction = function; + } + + private void doSend(String content) throws SAXException, MalformedURLException, IOException + { + + connect(content); + + setRequestHeaders(); + + sendRequest(content); + + if ("POST".equals(this.httpMethod) || "GET".equals(this.httpMethod)) + { + readResponse(); + } + + setReadyState(4); + + } + + private void connect(String content) throws MalformedURLException, IOException + { + if ("POST".equals(httpMethod)) + { + if (this.localRequest) + { + ByteArrayInputStream bis = new ByteArrayInputStream(content.getBytes()); + request = new PostMethodWebRequest(url, bis, null); + } + else + { + URL url = new URL(this.url); + connection = (HttpURLConnection) url.openConnection(); + connection.setDoInput(true); + connection.setDoOutput(true); + connection.setRequestMethod("POST"); + } + } + else + { + if (this.localRequest) + { + request = new GetMethodWebRequest("http://localhost/" + url); + } + else + { + URL url = new URL(this.url); + connection = (HttpURLConnection) url.openConnection(); + connection.setDoInput(true); + connection.setRequestMethod("GET"); + } + + } + } + + private void setRequestHeaders() + { + if (this.requestHeaders != null) + { + for (Iterator<String> i = requestHeaders.keySet().iterator(); i.hasNext();) + { + String header = i.next(); + String value = requestHeaders.get(header); + if (this.localRequest) + { + request.setHeaderField(header, value); + } + else + { + connection.setRequestProperty(header, value); + } + } + } + } + + private void sendRequest(String content) throws SAXException + { + try + { + if ("POST".equals(this.httpMethod) || content.length() > 0) + { + if (this.localRequest) + { + response = suc.getResponse(request); + } + else + { + OutputStreamWriter out = new OutputStreamWriter(connection.getOutputStream(), "ASCII"); + out.write(content); + out.flush(); + out.close(); + + } + } + + if (this.localRequest) + { + httpStatus = response.getResponseCode(); + httpStatusText = response.getResponseMessage(); + } + else + { + httpStatus = connection.getResponseCode(); + httpStatusText = connection.getResponseMessage(); + } + } + catch (IOException e) + { + throw new RuntimeException("IOException: " + e, e); + } + + setReadyState(2); + } + + private void readResponse() + { + try + { + if (this.localRequest) + { + this.responseText = response.getText(); + } + else + { + InputStream is = connection.getInputStream(); + StringBuffer sb = new StringBuffer(); + + setReadyState(3); + + int i; + while ((i = is.read()) != -1) + { + sb.append((char) i); + } + is.close(); + + this.responseText = sb.toString(); + } + } + catch (IOException e) + { + throw new RuntimeException("IOException: " + e, e); + } + } + + private void setReadyState(int state) + { + this.readyState = state; + callOnreadyStateChange(); + } + + private void callOnreadyStateChange() + { + if (readyStateChangeFunction != null) + { + Context cx = Context.enter(); + try + { + Scriptable scope = cx.initStandardObjects(); + readyStateChangeFunction.call(cx, scope, this, new Object[]{}); + } + finally + { + Context.exit(); + } + } + } +} \ No newline at end of file Property changes on: trunk/openutils-testing4dwr/src/main/java/it/openutils/testing/dwr/XMLHttpRequest.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Date Id Revision Name: svn:eol-style + native Copied: trunk/openutils-testing4dwr/src/main/resources/webEnv.js (from rev 768, trunk/openutils-testing-junit-dwr/src/main/resources/webEnv.js) =================================================================== --- trunk/openutils-testing4dwr/src/main/resources/webEnv.js (rev 0) +++ trunk/openutils-testing4dwr/src/main/resources/webEnv.js 2008-04-27 17:02:54 UTC (rev 780) @@ -0,0 +1,596 @@ +/* + * Simulated browser environment for Rhino + * By John Resig <http://ejohn.org/> + * Copyright 2007 John Resig, under the MIT License + */ + +// The window Object +var window = this; + +(function(){ + + // Browser Navigator + + window.navigator = { + get userAgent(){ + return "Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3"; + } + }; + + var curLocation = (new java.io.File("./")).toURL(); + + window.__defineSetter__("location", function(url){ + var xhr = new XMLHttpRequest(); + xhr.open("GET", url); + xhr.onreadystatechange = function(){ + curLocation = new java.net.URL( curLocation, url ); + window.document = xhr.responseXML; + + var event = document.createEvent(); + event.initEvent("load"); + window.dispatchEvent( event ); + }; + xhr.send(); + }); + + window.__defineGetter__("location", function(url){ + return { + get pathname(){ + if (curLocation.toString().indexOf('?') >= 0) + { + return curLocation.toString().substring(0, curLocation.toString().indexOf('?')); + } + return curLocation.toString(); + }, + get search(){ + if (curLocation.toString().indexOf('?') >= 0) + { + return curLocation.toString().substring(curLocation.toString().indexOf('?') + 1, curLocation.toString().length()); + } + return ""; + }, + get protocol(){ + return curLocation.getProtocol() + ":"; + }, + get href(){ + return curLocation.toString(); + }, + toString: function(){ + return this.href; + } + }; + }); + + // Timers + + var timers = []; + + window.setTimeout = function(fn, time){ + var num; + return num = setInterval(function(){ + fn(); + clearInterval(num); + }, time); + }; + + window.setInterval = function(fn, time){ + var num = timers.length; + + timers[num] = new java.lang.Thread(new java.lang.Runnable({ + run: function(){ + while (true){ + java.lang.Thread.currentThread().sleep(time); + fn(); + } + } + })); + + timers[num].start(); + + return num; + }; + + window.clearInterval = function(num){ + if ( timers[num] ) { + timers[num].stop(); + delete timers[num]; + } + }; + + // Window Events + + var events = [{}]; + + window.addEventListener = function(type, fn){ + if ( !this.uuid || this == window ) { + this.uuid = events.length; + events[this.uuid] = {}; + } + + if ( !events[this.uuid][type] ) + events[this.uuid][type] = []; + + if ( events[this.uuid][type].indexOf( fn ) < 0 ) + events[this.uuid][type].push( fn ); + }; + + window.removeEventListener = function(type, fn){ + if ( !this.uuid || this == window ) { + this.uuid = events.length; + events[this.uuid] = {}; + } + + if ( !events[this.uuid][type] ) + events[this.uuid][type] = []; + + events[this.uuid][type] = + events[this.uuid][type].filter(function(f){ + return f != fn; + }); + }; + + window.dispatchEvent = function(event){ + if ( event.type ) { + if ( this.uuid && events[this.uuid][event.type] ) { + var self = this; + + events[this.uuid][event.type].forEach(function(fn){ + fn.call( self, event ); + }); + } + + if ( this["on" + event.type] ) + this["on" + event.type].call( self, event ); + } + }; + + // DOM Document + + window.DOMDocument = function(file){ + this._file = file; + this._dom = Packages.javax.xml.parsers. + DocumentBuilderFactory.newInstance() + .newDocumentBuilder().parse(file); + + if ( !obj_nodes.containsKey( this._dom ) ) + obj_nodes.put( this._dom, this ); + }; + + DOMDocument.prototype = { + createTextNode: function(text){ + return makeNode( this._dom.createTextNode( + text.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">")) ); + }, + createElement: function(name){ + return makeNode( this._dom.createElement(name.toLowerCase()) ); + }, + getElementsByTagName: function(name){ + return new DOMNodeList( this._dom.getElementsByTagName( + name.toLowerCase()) ); + }, + getElementById: function(id){ + var elems = this._dom.getElementsByTagName("*"); + + for ( var i = 0; i < elems.length; i++ ) { + var elem = elems.item(i); + if ( elem.getAttribute("id") == id ) + return makeNode(elem); + } + + return null; + }, + get body(){ + return this.getElementsByTagName("body")[0]; + }, + get documentElement(){ + return makeNode( this._dom.getDocumentElement() ); + }, + get ownerDocument(){ + return null; + }, + addEventListener: window.addEventListener, + removeEventListener: window.removeEventListener, + dispatchEvent: window.dispatchEvent, + get nodeName() { + return "#document"; + }, + importNode: function(node, deep){ + return makeNode( this._dom.importNode(node._dom, deep) ); + }, + toString: function(){ + return "Document" + (typeof this._file == "string" ? + ": " + this._file : ""); + }, + get innerHTML(){ + return this.documentElement.outerHTML; + }, + + get defaultView(){ + return { + getComputedStyle: function(elem){ + return { + getPropertyValue: function(prop){ + prop = prop.replace(/\-(\w)/g,function(m,c){ + return c.toUpperCase(); + }); + var val = elem.style[prop]; + + if ( prop == "opacity" && val == "" ) + val = "1"; + + return val; + } + }; + } + }; + }, + + createEvent: function(){ + return { + type: "", + initEvent: function(type){ + this.type = type; + } + }; + } + }; + + function getDocument(node){ + return obj_nodes.get(node); + } + + // DOM NodeList + + window.DOMNodeList = function(list){ + this._dom = list; + this.length = list.getLength(); + + for ( var i = 0; i < this.length; i++ ) { + var node = list.item(i); + this[i] = makeNode( node ); + } + }; + + DOMNodeList.prototype = { + toString: function(){ + return "[ " + + Array.prototype.join.call( this, ", " ) + " ]"; + }, + get outerHTML(){ + return Array.prototype.map.call( + this, function(node){return node.outerHTML;}).join(''); + } + }; + + // DOM Node + + window.DOMNode = function(node){ + this._dom = node; + }; + + DOMNode.prototype = { + get nodeType(){ + return this._dom.getNodeType(); + }, + get nodeValue(){ + return this._dom.getNodeValue(); + }, + get nodeName() { + return this._dom.getNodeName(); + }, + cloneNode: function(deep){ + return makeNode( this._dom.cloneNode(deep) ); + }, + get ownerDocument(){ + return getDocument( this._dom.ownerDocument ); + }, + get documentElement(){ + return makeNode( this._dom.documentElement ); + }, + get parentNode() { + return makeNode( this._dom.getParentNode() ); + }, + get nextSibling() { + return makeNode( this._dom.getNextSibling() ); + }, + get previousSibling() { + return makeNode( this._dom.getPreviousSibling() ); + }, + toString: function(){ + return '"' + this.nodeValue + '"'; + }, + get outerHTML(){ + return this.nodeValue; + } + }; + + // DOM Element + + window.DOMElement = function(elem){ + this._dom = elem; + this.style = { + get opacity(){ return this._opacity; }, + set opacity(val){ this._opacity = val + ""; } + }; + + // Load CSS info + var styles = (this.getAttribute("style") || "").split(/\s*;\s*/); + + for ( var i = 0; i < styles.length; i++ ) { + var style = styles[i].split(/\s*:\s*/); + if ( style.length == 2 ) + this.style[ style[0] ] = style[1]; + } + }; + + DOMElement.prototype = extend( new DOMNode(), { + get nodeName(){ + return this.tagName.toUpperCase(); + }, + get tagName(){ + return this._dom.getTagName(); + }, + toString: function(){ + return "<" + this.tagName + (this.id ? "#" + this.id : "" ) + ">"; + }, + get outerHTML(){ + var ret = "<" + this.tagName, attr = this.attributes; + + for ( var i in attr ) + ret += " " + i + "='" + attr[i] + "'"; + + if ( this.childNodes.length || this.nodeName == "SCRIPT" ) + ret += ">" + this.childNodes.outerHTML + + "</" + this.tagName + ">"; + else + ret += "/>"; + + return ret; + }, + + get attributes(){ + var attr = {}, attrs = this._dom.getAttributes(); + + for ( var i = 0; i < attrs.getLength(); i++ ) + attr[ attrs.item(i).nodeName ] = attrs.item(i).nodeValue; + + return attr; + }, + + get innerHTML(){ + return this.childNodes.outerHTML; + }, + set innerHTML(html){ + html = html.replace(/<\/?([A-Z]+)/g, function(m){ + return m.toLowerCase(); + }); + + var nodes = this.ownerDocument.importNode( + new DOMDocument( new java.io.ByteArrayInputStream( + (new java.lang.String("<wrap>" + html + "</wrap>")) + .getBytes("UTF8"))).documentElement, true).childNodes; + + while (this.firstChild) + this.removeChild( this.firstChild ); + + for ( var i = 0; i < nodes.length; i++ ) + this.appendChild( nodes[i] ); + }, + + get textContent(){ + return nav(this.childNodes); + + function nav(nodes){ + var str = ""; + for ( var i = 0; i < nodes.length; i++ ) + if ( nodes[i].nodeType == 3 ) + str += nodes[i].nodeValue; + else if ( nodes[i].nodeType == 1 ) + str += nav(nodes[i].childNodes); + return str; + } + }, + set textContent(text){ + while (this.firstChild) + this.removeChild( this.firstChild ); + this.appendChild( this.ownerDocument.createTextNode(text)); + }, + + style: {}, + clientHeight: 0, + clientWidth: 0, + offsetHeight: 0, + offsetWidth: 0, + + get disabled() { + var val = this.getAttribute("disabled"); + return val != "false" && !!val; + }, + set disabled(val) { return this.setAttribute("disabled",val); }, + + get checked() { + var val = this.getAttribute("checked"); + return val != "false" && !!val; + }, + set checked(val) { return this.setAttribute("checked",val); }, + + get selected() { + if ( !this._selectDone ) { + this._selectDone = true; + + if ( this.nodeName == "OPTION" && !this.parentNode.getAttribute("multiple") ) { + var opt = this.parentNode.getElementsByTagName("option"); + + if ( this == opt[0] ) { + var select = true; + + for ( var i = 1; i < opt.length; i++ ) + if ( opt[i].selected ) { + select = false; + break; + } + + if ( select ) + this.selected = true; + } + } + } + + var val = this.getAttribute("selected"); + return val != "false" && !!val; + }, + set selected(val) { return this.setAttribute("selected",val); }, + + get className() { return this.getAttribute("class") || ""; }, + set className(val) { + return this.setAttribute("class", + val.replace(/(^\s*|\s*$)/g,"")); + }, + + get type() { return this.getAttribute("type") || ""; }, + set type(val) { return this.setAttribute("type",val); }, + + get value() { return this.getAttribute("value") || ""; }, + set value(val) { return this.setAttribute("value",val); }, + + get src() { return this.getAttribute("src") || ""; }, + set src(val) { return this.setAttribute("src",val); }, + + get id() { return this.getAttribute("id") || ""; }, + set id(val) { return this.setAttribute("id",val); }, + + getAttribute: function(name){ + return this._dom.hasAttribute(name) ? + new String( this._dom.getAttribute(name) ) : + null; + }, + setAttribute: function(name,value){ + this._dom.setAttribute(name,value); + }, + removeAttribute: function(name){ + this._dom.removeAttribute(name); + }, + + get childNodes(){ + return new DOMNodeList( this._dom.getChildNodes() ); + }, + get firstChild(){ + return makeNode( this._dom.getFirstChild() ); + }, + get lastChild(){ + return makeNode( this._dom.getLastChild() ); + }, + appendChild: function(node){ + this._dom.appendChild( node._dom ); + }, + insertBefore: function(node,before){ + this._dom.insertBefore( node._dom, before ? before._dom : before ); + }, + removeChild: function(node){ + this._dom.removeChild( node._dom ); + }, + + getElementsByTagName: DOMDocument.prototype.getElementsByTagName, + + addEventListener: window.addEventListener, + removeEventListener: window.removeEventListener, + dispatchEvent: window.dispatchEvent, + + click: function(){ + var event = document.createEvent(); + event.initEvent("click"); + this.dispatchEvent(event); + }, + submit: function(){ + var event = document.createEvent(); + event.initEvent("submit"); + this.dispatchEvent(event); + }, + focus: function(){ + var event = document.createEvent(); + event.initEvent("focus"); + this.dispatchEvent(event); + }, + blur: function(){ + var event = document.createEvent(); + event.initEvent("blur"); + this.dispatchEvent(event); + }, + get elements(){ + return this.getElementsByTagName("*"); + }, + get contentWindow(){ + return this.nodeName == "IFRAME" ? { + document: this.contentDocument + } : null; + }, + get contentDocument(){ + if ( this.nodeName == "IFRAME" ) { + if ( !this._doc ) + this._doc = new DOMDocument( + new java.io.ByteArrayInputStream((new java.lang.String( + "<html><head><title></title></head><body></body></html>")) + .getBytes("UTF8"))); + return this._doc; + } else + return null; + } + }); + + // Helper method for extending one object with another + + function extend(a,b) { + for ( var i in b ) { + var g = b.__lookupGetter__(i), s = b.__lookupSetter__(i); + + if ( g || s ) { + if ( g ) + a.__defineGetter__(i, g); + if ( s ) + a.__defineSetter__(i, s); + } else + a[i] = b[i]; + } + return a; + } + + // Helper method for generating the right + // DOM objects based upon the type + + var obj_nodes = new java.util.HashMap(); + + function makeNode(node){ + if ( node ) { + if ( !obj_nodes.containsKey( node ) ) + obj_nodes.put( node, node.getNodeType() == + Packages.org.w3c.dom.Node.ELEMENT_NODE ? + new DOMElement( node ) : new DOMNode( node ) ); + + return obj_nodes.get(node); + } else + return null; + } + +})(); + +var document = { + + location: window.location, + cookie: '', + + getElementById: function(id){ + if (id == "dwr-debug"){ + var dbEl = { + get innerHTML(){ + return ""; + }, + set innerHTML(value){ + java.lang.System.out.print(value.replace("<br>", "\n")); + } + } + return dbEl; + } + return null; + } + +} Copied: trunk/openutils-testing4dwr-junit (from rev 768, trunk/openutils-testing-junit-dwr) Deleted: trunk/openutils-testing4dwr-junit/pom.xml =================================================================== --- trunk/openutils-testing-junit-dwr/pom.xml 2008-04-27 12:36:18 UTC (rev 768) +++ trunk/openutils-testing4dwr-junit/pom.xml 2008-04-27 17:02:54 UTC (rev 780) @@ -1,142 +0,0 @@ -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>net.sourceforge.openutils</groupId> - <artifactId>openutils</artifactId> - <version>7</version> - <relativePath>..</relativePath> - </parent> - <artifactId>openutils-testing-junit-dwr</artifactId> - <name>openutils dwr test utils (junit)</name> - <version>2.0-SNAPSHOT</version> - <description>openutils test utils for dwr</description> - <dependencies> - <dependency> - <groupId>net.sourceforge.openutils</groupId> - <artifactId>openutils-testing</artifactId> - <version>2.0.3-SNAPSHOT</version> - </dependency> - <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-test</artifactId> - <version>${spring.version}</version> - <exclusions> - <exclusion> - <groupId>commons-logging</groupId> - <artifactId>commons-logging</artifactId> - </exclusion> - <exclusion> - <groupId>org.testng</groupId> - <artifactId>testng</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-log4j12</artifactId> - <version>1.4.3</version> - </dependency> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>jcl104-over-slf4j</artifactId> - <version>1.4.3</version> - </dependency> - <dependency> - <groupId>log4j</groupId> - <artifactId>log4j</artifactId> - <version>1.2.13</version> - </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>3.8.1</version> - </dependency> - <dependency> - <groupId>httpunit</groupId> - <artifactId>httpunit</artifactId> - <version>1.6.2</version> - <exclusions> - <exclusion> - <groupId>xerces</groupId> - <artifactId>xmlParserAPIs</artifactId> - </exclusion> - <exclusion> - <groupId>xerces</groupId> - <artifactId>xercesImpl</artifactId> - </exclusion> - <exclusion> - <groupId>nekohtml</groupId> - <artifactId>nekohtml</artifactId> - </exclusion> - <exclusion> - <groupId>rhino</groupId> - <artifactId>js</artifactId> - </exclusion> - <exclusion> - <groupId>javax.servlet</groupId> - <artifactId>servlet-api</artifactId> - </exclusion> - <exclusion> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>tomcat</groupId> - <artifactId>jasper-compiler-jdt</artifactId> - <version>5.5.12</version> - </dependency> - <dependency> - <groupId>tomcat</groupId> - <artifactId>naming-resources</artifactId> - <version>5.5.15</version> - </dependency> - <dependency> - <groupId>tomcat</groupId> - <artifactId>jasper-runtime</artifactId> - <version>5.5.12</version> - </dependency> - <dependency> - <groupId>tomcat</groupId> - <artifactId>jasper-compiler</artifactId> - <version>5.5.12</version> - </dependency> - <dependency> - <groupId>tomcat</groupId> - <artifactId>naming-factory</artifactId> - <version>5.5.15</version> - </dependency> - <dependency> - <groupId>javax.servlet</groupId> - <artifactId>jstl</artifactId> - <version>1.1.2</version> - </dependency> - <dependency> - <groupId>javax.servlet</groupId> - <artifactId>jsp-api</artifactId> - <version>2.0</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>commons-el</groupId> - <artifactId>commons-el</artifactId> - <version>1.0</version> - <exclusions> - <exclusion> - <groupId>commons-logging</groupId> - <artifactId>commons-logging</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>rhino</groupId> - <artifactId>js</artifactId> - <version>1.6R6-candidate2</version> - </dependency> - </dependencies> - <properties> - <spring.version>2.5.1</spring.version> - </properties> -</project> \ No newline at end of file Copied: trunk/openutils-testing4dwr-junit/pom.xml (from rev 779, trunk/openutils-testing-junit-dwr/pom.xml) =================================================================== --- trunk/openutils-testing4dwr-junit/pom.xml (rev 0) +++ trunk/openutils-testing4dwr-junit/pom.xml 2008-04-27 17:02:54 UTC (rev 780) @@ -0,0 +1,26 @@ +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>net.sourceforge.openutils</groupId> + <artifactId>openutils</artifactId> + <version>8</version> + <relativePath>..</relativePath> + </parent> + <artifactId>openutils-testing4dwr-junit</artifactId> + <name>openutils testing4dwr (junit)</name> + <version>2.0-SNAPSHOT</version> + <description>openutils testing4dwr (junit)</description> + <dependencies> + <dependency> + <groupId>net.sourceforge.openutils</groupId> + <artifactId>openutils-testing4dwr</artifactId> + <version>2.0-SNAPSHOT</version> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.4</version> + </dependency> + </dependencies> +</project> \ No newline at end of file Copied: trunk/openutils-testing4dwr-junit/src (from rev 779, trunk/openutils-testing-junit-dwr/src) Modified: trunk/openutils-testing4dwr-junit/src/main/java/it/openutils/testing/junit/dwr/DwrTestCase.java =================================================================== --- trunk/openutils-testing-junit-dwr/src/main/java/it/openutils/testing/junit/dwr/DwrTestCase.java 2008-04-27 16:35:14 UTC (rev 779) +++ trunk/openutils-testing4dwr-junit/src/main/java/it/openutils/testing/junit/dwr/DwrTestCase.java 2008-04-27 17:02:54 UTC (rev 780) @@ -1,294 +1,87 @@ +/* + * Copyright Openmind http://www.openmindonline.it + * + * 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 it.openutils.testing.junit.dwr; -import java.io.File; -import java.io.FileInputStream; +import it.openutils.testing.dwr.DwrTestContext; + import java.io.FileNotFoundException; import java.io.IOException; -import java.io.InputStream; -import java.net.HttpURLConnection; -import java.net.MalformedURLException; -import java.net.URI; -import java.net.URISyntaxException; -import java.net.URL; -import java.util.ArrayList; -import java.util.List; -import junit.framework.TestCase; +import org.junit.AfterClass; +import org.junit.BeforeClass; +import org.testng.annotations.AfterMethod; +import org.testng.annotations.BeforeMethod; -import org.mozilla.javascript.Context; -import org.mozilla.javascript.Scriptable; -import org.mozilla.javascript.ScriptableObject; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.xml.sax.SAXException; -import com.meterware.httpunit.GetMethodWebRequest; -import com.meterware.httpunit.WebResponse; -import com.meterware.servletunit.ServletRunner; -import com.meterware.servletunit.ServletUnitClient; - - -public class DwrTestCase extends TestCase +/** + * @author fgiust + * @version $Id: $ + */ +public class DwrTestCase { - private static Logger log = LoggerFactory.getLogger(DwrTestCase.class); + protected DwrTestContext dwrTestContext = new DwrTestContext(); - public static final String SERVLET_UNIT_CLIENT = "SERVLET_UNIT_CLIENT"; - - private Context context; - - private Scriptable scope; - - private ServletUnitClient servletUnitClient; - - private ServletRunner servletRunner; - - private String webXmlLocation; - - private String contextPath = "/webapp"; - - private List<String> jsLibraries = new ArrayList<String>(); - protected void setAbsoluteWebXmlLocation(String absoluteWebXmlLocation) { - this.webXmlLocation = absoluteWebXmlLocation; + dwrTestContext.setAbsoluteWebXmlLocation(absoluteWebXmlLocation); } protected void setContextPath(String contextPath) { - this.contextPath = contextPath; - if (this.contextPath != null) - { - this.contextPath = this.contextPath.replace('\\', '/'); - if (!this.contextPath.startsWith("/")) - { - this.contextPath = "/" + this.contextPath; - } - } + dwrTestContext.setContextPath(contextPath); } public void addJsLibrary(String library) { - jsLibraries.add(library); + dwrTestContext.addJsLibrary(library); } - @Override - protected void setUp() throws Exception + @BeforeClass + protected void setUpServer() throws Exception { - // run httpunit servlet engine - servletRunner = new ServletRunner(new File(webXmlLocation), contextPath); - servletUnitClient = servletRunner.newClient(); - - // init scripting context - context = Context.enter(); - context.setLanguageVersion(Context.VERSION_1_6); - - // store servletUnitClient in context - context.putThreadLocal(DwrTestCase.SERVLET_UNIT_CLIENT, servletUnitClient); - - // load js support for window and document - String jsWebEnvironment = ""; - InputStream is = Thread.currentThread().getContextClassLoader().getResourceAsStream("webEnv.js"); - byte[] buffer = new byte[1024]; - int read = 0; - int length = 1024; - while ((read = is.read(buffer, 0, length)) > 0) - { - jsWebEnvironment += new String(buffer, 0, read); - } - is.close(); - - // - scope = context.initStandardObjects(); - ScriptableObject.defineClass(scope, XMLHttpRequest.class); - // ScriptableObject.defineClass(scope, JsJUnitAssert.class); - context.evaluateString(scope, jsWebEnvironment, "webEnv.js", -1, null); - scope.put("Test", scope, this); - scope.put("Log", scope, log); - - // add javascript - for (String library : jsLibraries) - { - if (loadLibraryFromLocalServer(library)) - { - log.info("Loaded library from local server: " + library); - } - else if (loadLibraryFromRemoteServer(library)) - { - log.info("Loaded library from remote server: " + library); - } - else if (loadLibraryFromClasspath(library)) - { - log.info("Loaded library from classpath: " + library); - } - else if (loadLibraryFromFileSystem(library)) - { - log.info("Loaded library from filesystem: " + library); - } - else - { - log.error("Can't load library " + library); - throw new FileNotFoundException(library); - } - } - - super.setUp(); + dwrTestContext.setUpServer(); } - private boolean loadLibraryFromLocalServer(String library) throws MalformedURLException, SAXException, IOException, - URISyntaxException + @BeforeMethod + protected void setUpClient() throws Exception { - if (!library.startsWith("http://localhost/")) - { - return false; - } - - WebResponse response = servletUnitClient.getResponse(new GetMethodWebRequest(library)); - if (response == null) - { - return false; - } - URI uri = new URI(library); - context.evaluateString(scope, response.getText(), uri.getPath(), -1, null); - - return true; + dwrTestContext.setUpClient(); } - private boolean loadLibraryFromRemoteServer(String library) throws MalformedURLException, SAXException, - IOException, URISyntaxException + @AfterMethod + protected void tearDownClient() throws Exception { - if (!library.startsWith("http://")) - { - return false; - } - - URL url = new URL(library); - - // connect to library - HttpURLConnection connection = (HttpURLConnection) url.openConnection(); - connection.setRequestMethod("GET"); - connection.setDoInput(true); - connection.connect(); - - // get response - InputStream is = connection.getInputStream(); - StringBuffer sb = new StringBuffer(); - - int i; - while ((i = is.read()) != -1) - { - sb.append((char) i); - } - is.close(); - connection.disconnect(); - - // put response in context - context.evaluateString(scope, sb.toString(), url.getPath(), -1, null); - - return true; + dwrTestContext.tearDownClient(); } - private boolean loadLibraryFromClasspath(String library) throws IOException + @AfterClass + protected void tearDownServer() throws Exception { - String js = loadFileFromClassPath(library); - - if (js == null) - { - return false; - } - - context.evaluateString(scope, js, library, -1, null); - - return true; + dwrTestContext.tearDownServer(); } - private String loadFileFromClassPath(String file) throws IOException - { - InputStream is = Thread.currentThread().getContextClassLoader().getResourceAsStream(file); - if (is == null) - { - return null; - } - byte[] buffer = new byte[1024]; - int read = 0; - String js = ""; - while ((read = is.read(buffer, 0, buffer.length)) > 0) - { - js += new String(buffer, 0, read); - } - is.close(); - - return js; - } - - private boolean loadLibraryFromFileSystem(String library) throws FileNotFoundException, IOException - { - String js = loadFileFromFileSystem(library); - - if (js == null) - { - return false; - } - - context.evaluateString(scope, js, library, -1, null); - - return true; - } - - private String loadFileFromFileSystem(String file) throws FileNotFoundException, IOException - { - File f = new File(file); - if (!f.exists()) - { - return null; - } - - InputStream is = new FileInputStream(f); - if (is == null) - { - return null; - } - byte[] buffer = new byte[1024]; - int read = 0; - String js = ""; - while ((read = is.read(buffer, 0, buffer.length)) > 0) - { - js += new String(buffer, 0, read); - } - is.close(); - - return js; - } - - @Override - protected void tearDown() throws Exception - { - scope = null; - Context.exit(); - - servletRunner.shutDown(); - - ... [truncated message content] |
From: <fg...@us...> - 2008-04-27 16:35:16
|
Revision: 779 http://openutils.svn.sourceforge.net/openutils/?rev=779&view=rev Author: fgiust Date: 2008-04-27 09:35:14 -0700 (Sun, 27 Apr 2008) Log Message: ----------- update dependencies and tests Modified Paths: -------------- trunk/openutils-configuration-services/pom.xml trunk/openutils-configuration-services/src/test/java/it/openutils/configuration/dao/ConfigurationCodeDAOTest.java trunk/openutils-configuration-services/src/test/java/it/openutils/configuration/dao/ConfigurationDomainDAOTest.java trunk/openutils-configuration-services/src/test/java/it/openutils/configuration/dao/ReferenceCodeDAOTest.java trunk/openutils-configuration-services/src/test/java/it/openutils/configuration/dao/ReferenceDomainDAOTest.java trunk/openutils-configuration-services/src/test/java/it/openutils/configuration/services/ConfigurationManagerTest.java trunk/openutils-configuration-services/src/test/java/it/openutils/configuration/services/ReferenceManagerTest.java Modified: trunk/openutils-configuration-services/pom.xml =================================================================== --- trunk/openutils-configuration-services/pom.xml 2008-04-27 16:30:02 UTC (rev 778) +++ trunk/openutils-configuration-services/pom.xml 2008-04-27 16:35:14 UTC (rev 779) @@ -27,7 +27,7 @@ <dependency> <groupId>net.sourceforge.openutils</groupId> <artifactId>openutils-spring</artifactId> - <version>2.0-SNAPSHOT</version> + <version>2.0</version> <optional>true</optional> </dependency> <dependency> @@ -38,12 +38,12 @@ <dependency> <groupId>net.sourceforge.openutils</groupId> <artifactId>openutils-bshd5</artifactId> - <version>2.0.2-SNAPSHOT</version> + <version>2.0.3</version> </dependency> <dependency> <groupId>net.sourceforge.openutils</groupId> <artifactId>openutils-testing-testng</artifactId> - <version>2.0.3-SNAPSHOT</version> + <version>2.1</version> <scope>test</scope> </dependency> <dependency> Modified: trunk/openutils-configuration-services/src/test/java/it/openutils/configuration/dao/ConfigurationCodeDAOTest.java =================================================================== --- trunk/openutils-configuration-services/src/test/java/it/openutils/configuration/dao/ConfigurationCodeDAOTest.java 2008-04-27 16:30:02 UTC (rev 778) +++ trunk/openutils-configuration-services/src/test/java/it/openutils/configuration/dao/ConfigurationCodeDAOTest.java 2008-04-27 16:35:14 UTC (rev 779) @@ -1,10 +1,16 @@ package it.openutils.configuration.dao; import it.openutils.configuration.dataobjects.ConfigurationCode; -import it.openutils.testing.testng.GenericsDbUnitTestCase; +import it.openutils.testing.DbUnitExecution; +import it.openutils.testing.testng.AbstractDbUnitTestNGSpringContextTests; import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.test.context.ContextConfiguration; +import org.springframework.test.context.TestExecutionListeners; +import org.springframework.test.context.transaction.TransactionalTestExecutionListener; +import org.springframework.transaction.annotation.Transactional; import org.testng.Assert; import org.testng.annotations.Test; @@ -13,9 +19,16 @@ * @author fcarone * @version $Id$ */ -public class ConfigurationCodeDAOTest extends GenericsDbUnitTestCase<ConfigurationCodeDAO> +@DbUnitExecution(datasets = "/ConfigurationCodeDAOTest-load.xml") +@ContextConfiguration(locations = "/spring-tests.xml") +@TestExecutionListeners(value = TransactionalTestExecutionListener.class) +@Transactional +public class ConfigurationCodeDAOTest extends AbstractDbUnitTestNGSpringContextTests { + @Autowired + private ConfigurationCodeDAO instance; + /** * Load the full list */ Modified: trunk/openutils-configuration-services/src/test/java/it/openutils/configuration/dao/ConfigurationDomainDAOTest.java =================================================================== --- trunk/openutils-configuration-services/src/test/java/it/openutils/configuration/dao/ConfigurationDomainDAOTest.java 2008-04-27 16:30:02 UTC (rev 778) +++ trunk/openutils-configuration-services/src/test/java/it/openutils/configuration/dao/ConfigurationDomainDAOTest.java 2008-04-27 16:35:14 UTC (rev 779) @@ -1,10 +1,16 @@ package it.openutils.configuration.dao; import it.openutils.configuration.dataobjects.ConfigurationDomain; -import it.openutils.testing.testng.GenericsDbUnitTestCase; +import it.openutils.testing.DbUnitExecution; +import it.openutils.testing.testng.AbstractDbUnitTestNGSpringContextTests; import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.test.context.ContextConfiguration; +import org.springframework.test.context.TestExecutionListeners; +import org.springframework.test.context.transaction.TransactionalTestExecutionListener; +import org.springframework.transaction.annotation.Transactional; import org.testng.Assert; import org.testng.annotations.Test; @@ -13,9 +19,16 @@ * @author fcarone * @version $Id$ */ -public class ConfigurationDomainDAOTest extends GenericsDbUnitTestCase<ConfigurationDomainDAO> +@DbUnitExecution(datasets = "/ConfigurationDomainDAOTest-load.xml") +@ContextConfiguration(locations = "/spring-tests.xml") +@TestExecutionListeners(value = TransactionalTestExecutionListener.class) +@Transactional +public class ConfigurationDomainDAOTest extends AbstractDbUnitTestNGSpringContextTests { + @Autowired + private ConfigurationDomainDAO instance; + /** * Load the full list */ Modified: trunk/openutils-configuration-services/src/test/java/it/openutils/configuration/dao/ReferenceCodeDAOTest.java =================================================================== --- trunk/openutils-configuration-services/src/test/java/it/openutils/configuration/dao/ReferenceCodeDAOTest.java 2008-04-27 16:30:02 UTC (rev 778) +++ trunk/openutils-configuration-services/src/test/java/it/openutils/configuration/dao/ReferenceCodeDAOTest.java 2008-04-27 16:35:14 UTC (rev 779) @@ -1,10 +1,16 @@ package it.openutils.configuration.dao; import it.openutils.configuration.dataobjects.ReferenceCode; -import it.openutils.testing.testng.GenericsDbUnitTestCase; +import it.openutils.testing.DbUnitExecution; +import it.openutils.testing.testng.AbstractDbUnitTestNGSpringContextTests; import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.test.context.ContextConfiguration; +import org.springframework.test.context.TestExecutionListeners; +import org.springframework.test.context.transaction.TransactionalTestExecutionListener; +import org.springframework.transaction.annotation.Transactional; import org.testng.Assert; import org.testng.annotations.Test; @@ -13,9 +19,16 @@ * @author fcarone * @version $Id$ */ -public class ReferenceCodeDAOTest extends GenericsDbUnitTestCase<ReferenceCodeDAO> +@DbUnitExecution(datasets = "/ReferenceCodeDAOTest-load.xml") +@ContextConfiguration(locations = "/spring-tests.xml") +@TestExecutionListeners(value = TransactionalTestExecutionListener.class) +@Transactional +public class ReferenceCodeDAOTest extends AbstractDbUnitTestNGSpringContextTests { + @Autowired + private ReferenceCodeDAO instance; + /** * Test findAll */ Modified: trunk/openutils-configuration-services/src/test/java/it/openutils/configuration/dao/ReferenceDomainDAOTest.java =================================================================== --- trunk/openutils-configuration-services/src/test/java/it/openutils/configuration/dao/ReferenceDomainDAOTest.java 2008-04-27 16:30:02 UTC (rev 778) +++ trunk/openutils-configuration-services/src/test/java/it/openutils/configuration/dao/ReferenceDomainDAOTest.java 2008-04-27 16:35:14 UTC (rev 779) @@ -1,10 +1,16 @@ package it.openutils.configuration.dao; import it.openutils.configuration.dataobjects.ReferenceDomain; -import it.openutils.testing.testng.GenericsDbUnitTestCase; +import it.openutils.testing.DbUnitExecution; +import it.openutils.testing.testng.AbstractDbUnitTestNGSpringContextTests; import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.test.context.ContextConfiguration; +import org.springframework.test.context.TestExecutionListeners; +import org.springframework.test.context.transaction.TransactionalTestExecutionListener; +import org.springframework.transaction.annotation.Transactional; import org.testng.Assert; import org.testng.annotations.Test; @@ -13,9 +19,16 @@ * @author fcarone * @version $Id$ */ -public class ReferenceDomainDAOTest extends GenericsDbUnitTestCase<ReferenceDomainDAO> +@DbUnitExecution(datasets = "/ReferenceDomainDAOTest-load.xml") +@ContextConfiguration(locations = "/spring-tests.xml") +@TestExecutionListeners(value = TransactionalTestExecutionListener.class) +@Transactional +public class ReferenceDomainDAOTest extends AbstractDbUnitTestNGSpringContextTests { + @Autowired + private ReferenceDomainDAO instance; + /** * Load the full list */ Modified: trunk/openutils-configuration-services/src/test/java/it/openutils/configuration/services/ConfigurationManagerTest.java =================================================================== --- trunk/openutils-configuration-services/src/test/java/it/openutils/configuration/services/ConfigurationManagerTest.java 2008-04-27 16:30:02 UTC (rev 778) +++ trunk/openutils-configuration-services/src/test/java/it/openutils/configuration/services/ConfigurationManagerTest.java 2008-04-27 16:35:14 UTC (rev 779) @@ -3,10 +3,16 @@ import it.openutils.configuration.dataobjects.ConfigurationCode; import it.openutils.configuration.dataobjects.ConfigurationDomain; import it.openutils.configuration.exceptions.ConfigurationDomainDeleteException; -import it.openutils.testing.testng.GenericsDbUnitTestCase; +import it.openutils.testing.DbUnitExecution; +import it.openutils.testing.testng.AbstractDbUnitTestNGSpringContextTests; import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.test.context.ContextConfiguration; +import org.springframework.test.context.TestExecutionListeners; +import org.springframework.test.context.transaction.TransactionalTestExecutionListener; +import org.springframework.transaction.annotation.Transactional; import org.testng.Assert; import org.testng.annotations.Test; @@ -15,9 +21,16 @@ * @author fcarone * @version $Id$ */ -public class ConfigurationManagerTest extends GenericsDbUnitTestCase<ConfigurationManager> +@DbUnitExecution(datasets = "/ConfigurationManagerTest-load.xml") +@ContextConfiguration(locations = "/spring-tests.xml") +@TestExecutionListeners(value = TransactionalTestExecutionListener.class) +@Transactional +public class ConfigurationManagerTest extends AbstractDbUnitTestNGSpringContextTests { + @Autowired + private ConfigurationManager instance; + /** * Test for the getConfigurationDomains method. */ Modified: trunk/openutils-configuration-services/src/test/java/it/openutils/configuration/services/ReferenceManagerTest.java =================================================================== --- trunk/openutils-configuration-services/src/test/java/it/openutils/configuration/services/ReferenceManagerTest.java 2008-04-27 16:30:02 UTC (rev 778) +++ trunk/openutils-configuration-services/src/test/java/it/openutils/configuration/services/ReferenceManagerTest.java 2008-04-27 16:35:14 UTC (rev 779) @@ -2,22 +2,35 @@ import it.openutils.configuration.dataobjects.ReferenceCode; import it.openutils.configuration.dataobjects.ReferenceDomain; -import it.openutils.testing.testng.GenericsDbUnitTestCase; +import it.openutils.testing.DbUnitExecution; +import it.openutils.testing.testng.AbstractDbUnitTestNGSpringContextTests; import java.util.List; import java.util.Map; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.test.context.ContextConfiguration; +import org.springframework.test.context.TestExecutionListeners; +import org.springframework.test.context.transaction.TransactionalTestExecutionListener; +import org.springframework.transaction.annotation.Transactional; import org.testng.Assert; import org.testng.annotations.Test; /** * @author fgiust - * @version $Id$ + * @version $Id$ */ -public class ReferenceManagerTest extends GenericsDbUnitTestCase<ReferenceManager> +@DbUnitExecution(datasets = "/ReferenceManagerTest-load.xml") +@ContextConfiguration(locations = "/spring-tests.xml") +@TestExecutionListeners(value = TransactionalTestExecutionListener.class) +@Transactional +public class ReferenceManagerTest extends AbstractDbUnitTestNGSpringContextTests { + @Autowired + private ReferenceManager instance; + /** * Test for the getReferenceDomains method. */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fg...@us...> - 2008-04-27 16:30:03
|
Revision: 778 http://openutils.svn.sourceforge.net/openutils/?rev=778&view=rev Author: fgiust Date: 2008-04-27 09:30:02 -0700 (Sun, 27 Apr 2008) Log Message: ----------- updated poms Modified Paths: -------------- trunk/openutils-testing/pom.xml trunk/openutils-testing-junit/pom.xml trunk/openutils-testing-testng/pom.xml Modified: trunk/openutils-testing/pom.xml =================================================================== --- trunk/openutils-testing/pom.xml 2008-04-27 14:24:19 UTC (rev 777) +++ trunk/openutils-testing/pom.xml 2008-04-27 16:30:02 UTC (rev 778) @@ -72,7 +72,6 @@ <groupId>org.dbunit</groupId> <artifactId>dbunit</artifactId> <version>2.2</version> - <optional>true</optional> <exclusions> <exclusion> <groupId>junit</groupId> @@ -89,6 +88,17 @@ </exclusions> </dependency> <dependency> + <groupId>poi</groupId> + <artifactId>poi</artifactId> + <version>3.0.2-FINAL</version> + <exclusions> + <exclusion> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <classifier>jdk15</classifier> Modified: trunk/openutils-testing-junit/pom.xml =================================================================== --- trunk/openutils-testing-junit/pom.xml 2008-04-27 14:24:19 UTC (rev 777) +++ trunk/openutils-testing-junit/pom.xml 2008-04-27 16:30:02 UTC (rev 778) @@ -15,7 +15,7 @@ <dependency> <groupId>net.sourceforge.openutils</groupId> <artifactId>openutils-testing</artifactId> - <version>2.1</version> + <version>2.1.1-SNAPSHOT</version> </dependency> <dependency> <groupId>junit</groupId> Modified: trunk/openutils-testing-testng/pom.xml =================================================================== --- trunk/openutils-testing-testng/pom.xml 2008-04-27 14:24:19 UTC (rev 777) +++ trunk/openutils-testing-testng/pom.xml 2008-04-27 16:30:02 UTC (rev 778) @@ -15,7 +15,7 @@ <dependency> <groupId>net.sourceforge.openutils</groupId> <artifactId>openutils-testing</artifactId> - <version>2.1</version> + <version>2.1.1-SNAPSHOT</version> </dependency> <dependency> <groupId>org.testng</groupId> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <fg...@us...> - 2008-04-27 14:24:37
|
Revision: 777 http://openutils.svn.sourceforge.net/openutils/?rev=777&view=rev Author: fgiust Date: 2008-04-27 07:24:19 -0700 (Sun, 27 Apr 2008) Log Message: ----------- a bunch of new tasks Modified Paths: -------------- trunk/openutils-dbmigration/src/main/java/it/openutils/migration/generic/JdbcIfColumnExistsConditionalTask.java trunk/openutils-dbmigration/src/main/java/it/openutils/migration/generic/JdbcObjectCreationTask.java trunk/openutils-dbmigration/src/main/java/it/openutils/migration/oracle/OracleSequenceCreationTask.java trunk/openutils-dbmigration/src/main/java/it/openutils/migration/oracle/OracleViewCreateOrUpdateTask.java trunk/openutils-dbmigration/src/main/java/it/openutils/migration/task/setup/BaseConditionalTask.java trunk/openutils-dbmigration/src/site/changes/changes.xml Added Paths: ----------- trunk/openutils-dbmigration/src/main/java/it/openutils/migration/generic/IfColumnIsNotIdentityConditionalTask.java trunk/openutils-dbmigration/src/main/java/it/openutils/migration/generic/JdbcColumnBasedConditionalTask.java trunk/openutils-dbmigration/src/main/java/it/openutils/migration/generic/JdbcIfColumnIsNotNullableConditionalTask.java trunk/openutils-dbmigration/src/main/java/it/openutils/migration/generic/JdbcIfForeignKeyExistsConditionalTask.java trunk/openutils-dbmigration/src/main/java/it/openutils/migration/oracle/OraclePackageCreationTask.java trunk/openutils-dbmigration/src/main/java/it/openutils/migration/oracle/OracleStoredProcedureCallTask.java trunk/openutils-dbmigration/src/main/java/it/openutils/migration/oracle/OracleTriggerTask.java Added: trunk/openutils-dbmigration/src/main/java/it/openutils/migration/generic/IfColumnIsNotIdentityConditionalTask.java =================================================================== --- trunk/openutils-dbmigration/src/main/java/it/openutils/migration/generic/IfColumnIsNotIdentityConditionalTask.java (rev 0) +++ trunk/openutils-dbmigration/src/main/java/it/openutils/migration/generic/IfColumnIsNotIdentityConditionalTask.java 2008-04-27 14:24:19 UTC (rev 777) @@ -0,0 +1,39 @@ +/* + * Copyright Openmind http://www.openmindonline.it + * + * 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 it.openutils.migration.generic; + +import java.util.Map; + + +/** + * Tasks that check if a given column is an identity (IS_AUTOINCREMENT = YES). + * @author fgiust + * @version $Id$ + */ +public class IfColumnIsNotIdentityConditionalTask extends JdbcColumnBasedConditionalTask +{ + + /** + * {@inheritDoc} + */ + @Override + protected boolean checkColumnMetadata(Map<String, Object> metadata) + { + + String isAutoincrement = (String) metadata.get("IS_AUTOINCREMENT"); + return !"YES".equals(isAutoincrement); + } +} Property changes on: trunk/openutils-dbmigration/src/main/java/it/openutils/migration/generic/IfColumnIsNotIdentityConditionalTask.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Date Id Revision Name: svn:eol-style + native Added: trunk/openutils-dbmigration/src/main/java/it/openutils/migration/generic/JdbcColumnBasedConditionalTask.java =================================================================== --- trunk/openutils-dbmigration/src/main/java/it/openutils/migration/generic/JdbcColumnBasedConditionalTask.java (rev 0) +++ trunk/openutils-dbmigration/src/main/java/it/openutils/migration/generic/JdbcColumnBasedConditionalTask.java 2008-04-27 14:24:19 UTC (rev 777) @@ -0,0 +1,178 @@ +/* + * Copyright Openmind http://www.openmindonline.it + * + * 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 it.openutils.migration.generic; + +import it.openutils.migration.task.setup.BaseConditionalTask; + +import java.sql.Connection; +import java.sql.DatabaseMetaData; +import java.sql.ResultSet; +import java.sql.ResultSetMetaData; +import java.sql.SQLException; +import java.util.HashMap; +import java.util.Map; + +import org.apache.commons.lang.StringUtils; +import org.springframework.dao.DataAccessException; +import org.springframework.jdbc.core.ConnectionCallback; +import org.springframework.jdbc.core.simple.SimpleJdbcTemplate; + + +/** + * Base conditional task that operates on conditions related to a specific column. This base task takes care of + * retrieving the column metadata, so that subclasses only need to override <code>checkColumnMetadata()</code>. + * @author fgiust + * @version $Id$ + */ +public abstract class JdbcColumnBasedConditionalTask extends BaseConditionalTask +{ + + /** + * Column name + */ + protected String column; + + /** + * Catalog name + */ + protected String catalog; + + /** + * Schema name + */ + protected String schema; + + /** + * Sets the catalog. + * @param catalog the catalog to set + */ + public void setCatalog(String catalog) + { + this.catalog = catalog; + } + + /** + * Sets the schema. + * @param schema the schema to set + */ + public void setSchema(String schema) + { + this.schema = schema; + } + + /** + * Sets the column. + * @param column the column to set + */ + public void setColumn(String column) + { + this.column = column; + } + + /** + * {@inheritDoc} + */ + @Override + public boolean check(SimpleJdbcTemplate jdbcTemplate) + { + + String columnTrim = StringUtils.trim(column); + + final String tableName = StringUtils.substringBefore(columnTrim, "."); + final String columnName = StringUtils.substringAfter(columnTrim, "."); + return (Boolean) jdbcTemplate.getJdbcOperations().execute(new ConnectionCallback() + { + + public Object doInConnection(Connection con) throws SQLException, DataAccessException + { + DatabaseMetaData dbMetadata = con.getMetaData(); + ResultSet rs = dbMetadata.getColumns(catalog, schema, tableName, columnName); + boolean conditionMet = rs.next(); + if (conditionMet) + { + ResultSetMetaData rsmeta = rs.getMetaData(); + int colcount = rsmeta.getColumnCount(); + Map<String, Object> params = new HashMap<String, Object>(); + for (int j = 1; j <= colcount; j++) + { + params.put(rsmeta.getColumnName(j), rs.getObject(j)); + } + conditionMet = !checkColumnMetadata(params); + } + rs.close(); + return conditionMet; + } + }); + } + + /** + * <p> + * Check if a specific condition is met depending on column metadata. + * </p> + * Column attributes included in the Map are: + * <ol> + * <li><strong>TABLE_CAT</strong> String => table catalog (may be <code>null</code>)</li> + * <li><strong>TABLE_SCHEM</strong> String => table schema (may be <code>null</code>)</li> + * <li><strong>TABLE_NAME</strong> String => table name</li> + * <li><strong>COLUMN_NAME</strong> String => column name</li> + * <li><strong>DATA_TYPE</strong> int => SQL type from java.sql.Types</li> + * <li><strong>TYPE_NAME</strong> String => Data source dependent type name, for a UDT the type name is fully + * qualified</li> + * <li><strong>COLUMN_SIZE</strong> int => column size.</li> + * <li><strong>BUFFER_LENGTH</strong> is not used.</li> + * <li><strong>DECIMAL_DIGITS</strong> int => the number of fractional digits. Null is returned for data types + * where DECIMAL_DIGITS is not applicable.</li> + * <li><strong>NUM_PREC_RADIX</strong> int => Radix (typically either 10 or 2)</li> + * <li><strong>NULLABLE</strong> int => is NULL allowed.</li> + * <ul> + * <li> columnNoNulls - might not allow <code>NULL</code> values</li> + * <li> columnNullable - definitely allows <code>NULL</code> values</li> + * <li> columnNullableUnknown - nullability unknown</li> + * </ul> + * <li><strong>REMARKS</strong> String => comment describing column (may be <code>null</code>)</li> + * <li><strong>COLUMN_DEF</strong> String => default value for the column, which should be interpreted as a string + * when the value is enclosed in single quotes (may be <code>null</code>)</li> + * <li><strong>SQL_DATA_TYPE</strong> int => unused</li> + * <li><strong>SQL_DATETIME_SUB</strong> int => unused</li> + * <li><strong>CHAR_OCTET_LENGTH</strong> int => for char types the maximum number of bytes in the column</li> + * <li><strong>ORDINAL_POSITION</strong> int => index of column in table (starting at 1)</li> + * <li><strong>IS_NULLABLE</strong> String => ISO rules are used to determine the nullability for a column.</li> + * <ul> + * <li> YES --- if the parameter can include NULLs</li> + * <li> NO --- if the parameter cannot include NULLs</li> + * <li> empty string --- if the nullability for the parameter is unknown</li> + * </ul> + * <li><strong>SCOPE_CATLOG</strong> String => catalog of table that is the scope of a reference attribute (<code>null</code> + * if DATA_TYPE isn't REF)</li> + * <li><strong>SCOPE_SCHEMA</strong> String => schema of table that is the scope of a reference attribute (<code>null</code> + * if the DATA_TYPE isn't REF)</li> + * <li><strong>SCOPE_TABLE</strong> String => table name that this the scope of a reference attribure (<code>null</code> + * if the DATA_TYPE isn't REF)</li> + * <li><strong>SOURCE_DATA_TYPE</strong> short => source type of a distinct type or user-generated Ref type, SQL + * type from java.sql.Types (<code>null</code> if DATA_TYPE isn't DISTINCT or user-generated REF)</li> + * <li><strong>IS_AUTOINCREMENT</strong> String => Indicates whether this column is auto incremented</li> + * <ul> + * <li> YES --- if the column is auto incremented</li> + * <li> NO --- if the column is not auto incremented</li> + * <li> empty string --- if it cannot be determined whether the column is auto incremented parameter is unknown</li> + * </ul> + * </ol> + * @param metadata column metadata + * @return <code>true</code> if the condition is met + */ + protected abstract boolean checkColumnMetadata(Map<String, Object> metadata); + +} Property changes on: trunk/openutils-dbmigration/src/main/java/it/openutils/migration/generic/JdbcColumnBasedConditionalTask.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Date Id Revision Name: svn:eol-style + native Modified: trunk/openutils-dbmigration/src/main/java/it/openutils/migration/generic/JdbcIfColumnExistsConditionalTask.java =================================================================== --- trunk/openutils-dbmigration/src/main/java/it/openutils/migration/generic/JdbcIfColumnExistsConditionalTask.java 2008-04-27 13:19:02 UTC (rev 776) +++ trunk/openutils-dbmigration/src/main/java/it/openutils/migration/generic/JdbcIfColumnExistsConditionalTask.java 2008-04-27 14:24:19 UTC (rev 777) @@ -1,3 +1,18 @@ +/* + * Copyright Openmind http://www.openmindonline.it + * + * 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 it.openutils.migration.generic; import it.openutils.migration.task.setup.BaseConditionalTask; @@ -14,16 +29,26 @@ /** + * Task that executes if a given column exists. * @author fgiust * @version $Id: $ */ public class JdbcIfColumnExistsConditionalTask extends BaseConditionalTask { - private String column; + /** + * Column name. + */ + protected String column; + /** + * Catalog. + */ protected String catalog; + /** + * Schema. + */ protected String schema; /** Added: trunk/openutils-dbmigration/src/main/java/it/openutils/migration/generic/JdbcIfColumnIsNotNullableConditionalTask.java =================================================================== --- trunk/openutils-dbmigration/src/main/java/it/openutils/migration/generic/JdbcIfColumnIsNotNullableConditionalTask.java (rev 0) +++ trunk/openutils-dbmigration/src/main/java/it/openutils/migration/generic/JdbcIfColumnIsNotNullableConditionalTask.java 2008-04-27 14:24:19 UTC (rev 777) @@ -0,0 +1,39 @@ +/* + * Copyright Openmind http://www.openmindonline.it + * + * 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 it.openutils.migration.generic; + +import java.util.Map; + + +/** + * Task that executes if a given column is not nullable (IS_NULLABLE = NO). + * @author fgiust + * @version $Id$ + */ +public class JdbcIfColumnIsNotNullableConditionalTask extends JdbcColumnBasedConditionalTask +{ + + /** + * {@inheritDoc} + */ + @Override + protected boolean checkColumnMetadata(Map<String, Object> metadata) + { + + String isNullable = (String) metadata.get("IS_NULLABLE"); + return "NO".equals(isNullable); + } +} Property changes on: trunk/openutils-dbmigration/src/main/java/it/openutils/migration/generic/JdbcIfColumnIsNotNullableConditionalTask.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Date Id Revision Name: svn:eol-style + native Added: trunk/openutils-dbmigration/src/main/java/it/openutils/migration/generic/JdbcIfForeignKeyExistsConditionalTask.java =================================================================== --- trunk/openutils-dbmigration/src/main/java/it/openutils/migration/generic/JdbcIfForeignKeyExistsConditionalTask.java (rev 0) +++ trunk/openutils-dbmigration/src/main/java/it/openutils/migration/generic/JdbcIfForeignKeyExistsConditionalTask.java 2008-04-27 14:24:19 UTC (rev 777) @@ -0,0 +1,105 @@ +/* + * Copyright Openmind http://www.openmindonline.it + * + * 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 it.openutils.migration.generic; + +import it.openutils.migration.task.setup.BaseConditionalTask; + +import java.sql.Connection; +import java.sql.DatabaseMetaData; +import java.sql.ResultSet; +import java.sql.SQLException; + +import org.apache.commons.lang.StringUtils; +import org.springframework.dao.DataAccessException; +import org.springframework.jdbc.core.ConnectionCallback; +import org.springframework.jdbc.core.simple.SimpleJdbcTemplate; + + +/** + * Task that executes if a named foreign key eists. + * @author fgiust + * @version $Id$ + */ +public class JdbcIfForeignKeyExistsConditionalTask extends BaseConditionalTask +{ + + private String fkName; + + private String catalog; + + private String schema; + + /** + * Sets the catalog. + * @param catalog the catalog to set + */ + public void setCatalog(String catalog) + { + this.catalog = catalog; + } + + /** + * Sets the schema. + * @param schema the schema to set + */ + public void setSchema(String schema) + { + this.schema = schema; + } + + /** + * Sets the fkName (TABLE.FKNAME). + * @param fkName the fkName to set + */ + public void setFkName(String fkName) + { + this.fkName = fkName; + } + + /** + * {@inheritDoc} + */ + @Override + public boolean check(SimpleJdbcTemplate jdbcTemplate) + { + + String fkNameTrim = StringUtils.trim(fkName); + + final String tableName = StringUtils.substringBefore(fkNameTrim, "."); + final String fkName = StringUtils.substringAfter(fkNameTrim, "."); + return (Boolean) jdbcTemplate.getJdbcOperations().execute(new ConnectionCallback() + { + + public Object doInConnection(Connection con) throws SQLException, DataAccessException + { + boolean fkExists = false; + DatabaseMetaData dbMetadata = con.getMetaData(); + ResultSet rs = dbMetadata.getExportedKeys(catalog, schema, tableName); + while (rs.next()) + { + if (StringUtils.equals(fkName, rs.getString("FK_NAME"))) + { + fkExists = true; + } + } + rs.close(); + + return !fkExists; + } + }); + } + +} Property changes on: trunk/openutils-dbmigration/src/main/java/it/openutils/migration/generic/JdbcIfForeignKeyExistsConditionalTask.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Date Id Revision Name: svn:eol-style + native Modified: trunk/openutils-dbmigration/src/main/java/it/openutils/migration/generic/JdbcObjectCreationTask.java =================================================================== --- trunk/openutils-dbmigration/src/main/java/it/openutils/migration/generic/JdbcObjectCreationTask.java 2008-04-27 13:19:02 UTC (rev 776) +++ trunk/openutils-dbmigration/src/main/java/it/openutils/migration/generic/JdbcObjectCreationTask.java 2008-04-27 14:24:19 UTC (rev 777) @@ -1,4 +1,3 @@ -// temporary patch until a new openutils-dbmigration release is outF /* * Copyright Openmind http://www.openmindonline.it * @@ -43,8 +42,14 @@ public abstract class JdbcObjectCreationTask extends GenericConditionalTask { + /** + * Catalog. + */ protected String catalog; + /** + * Schema. + */ protected String schema; abstract String getObjectType(); @@ -109,7 +114,7 @@ { DatabaseMetaData dbMetadata = con.getMetaData(); - ResultSet rs = dbMetadata.getTables(catalog, schema, tableName, new String[]{getObjectType()}); + ResultSet rs = dbMetadata.getTables(catalog, schema, tableName, new String[]{getObjectType() }); boolean tableExists = rs.next(); rs.close(); Added: trunk/openutils-dbmigration/src/main/java/it/openutils/migration/oracle/OraclePackageCreationTask.java =================================================================== --- trunk/openutils-dbmigration/src/main/java/it/openutils/migration/oracle/OraclePackageCreationTask.java (rev 0) +++ trunk/openutils-dbmigration/src/main/java/it/openutils/migration/oracle/OraclePackageCreationTask.java 2008-04-27 14:24:19 UTC (rev 777) @@ -0,0 +1,213 @@ +/* + * Copyright Openmind http://www.openmindonline.it + * + * 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 it.openutils.migration.oracle; + +import it.openutils.migration.task.setup.DbTask; + +import java.io.IOException; +import java.io.InputStream; +import java.util.List; +import java.util.Map; + +import javax.sql.DataSource; + +import org.apache.commons.io.IOUtils; +import org.apache.commons.lang.StringUtils; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.core.io.Resource; +import org.springframework.jdbc.core.simple.SimpleJdbcTemplate; + + +/** + * Db tasks that handles the initial setup of packages. + * @author quario + * @version $Id$ + */ +public class OraclePackageCreationTask implements DbTask +{ + + private Logger log = LoggerFactory.getLogger(OraclePackageCreationTask.class); + + private List<Resource> scripts; + + private String selectUserPackages = "select COUNT(*) FROM USER_OBJECTS WHERE OBJECT_NAME = ? and OBJECT_TYPE='PACKAGE'"; + + private String selectAllPackages = "SELECT COUNT(*) from ALL_OBJECTS where OBJECT_NAME = ? AND OBJECT_TYPE='PACKAGE' AND OWNER = ?"; + + protected Map<String, String> variables; + + /** + * Sets the packages. + * @param packages the packages to set + */ + public void setScripts(List<Resource> packages) + { + this.scripts = packages; + } + + /** + * Sets the selectAllPackages. + * @param selectAllPackages the selectAllPackages to set + */ + public void setSelectAllPackages(String selectAllPackages) + { + this.selectAllPackages = selectAllPackages; + } + + /** + * Sets the selectUserPackages. + * @param selectUserPackages the selectUserPackages to set + */ + public void setSelectUserPackages(String selectUserPackages) + { + this.selectUserPackages = selectUserPackages; + } + + /** + * Map of key-value that will be replaced in ddl. + */ + public void setVariables(Map<String, String> variables) + { + this.variables = variables; + } + + /** + * {@inheritDoc} + */ + public String getDescription() + { + return "Checking Packages"; + } + + /** + * @param script The script resource + * @return The script name + */ + protected String objectNameFromFileName(Resource script) + { + return StringUtils.substringBeforeLast(script.getFilename(), "."); + } + + /** + * {@inheritDoc} + */ + public void execute(DataSource dataSource) + { + SimpleJdbcTemplate jdbcTemplate = new SimpleJdbcTemplate(dataSource); + + for (Resource script : scripts) + { + + if (script == null || !script.exists()) + { + log.error("Unable to execute db task \"{}\", script \"{}\" not found.", getDescription(), script); + return; + } + + String fqPackageName = this.objectNameFromFileName(script); + String tmpPackageName = null; + String tmpowner = null; + + if (StringUtils.contains(fqPackageName, ".")) + { + String[] tokens = StringUtils.split(fqPackageName, "."); + tmpPackageName = tokens[1]; + tmpowner = tokens[0]; + } + else + { + tmpPackageName = fqPackageName; + } + + final String packageName = tmpPackageName; + final String owner = tmpowner; + + int result = 0; + + if (StringUtils.isNotBlank(owner)) + { + result = jdbcTemplate.queryForInt(selectAllPackages, new Object[]{packageName, owner }); + } + else + { + result = jdbcTemplate.queryForInt(selectUserPackages, packageName); + } + + if (result <= 0) + { + String scriptContent; + InputStream is = null; + + try + { + is = script.getInputStream(); + scriptContent = IOUtils.toString(is, "UTF8"); + scriptContent = scriptContent.replaceAll("\\s*\n\\s*", "\n"); + } + catch (IOException e) + { + log.error( + "Unable to execute db task \"{}\", script \"{}\" can't be read.", + getDescription(), + script); + return; + } + finally + { + IOUtils.closeQuietly(is); + } + + String[] scriptSections = scriptContent.split("/"); + String packageHeader = performSubstitution(scriptSections[0].trim()); + String packageBody = performSubstitution(scriptSections[1].trim()); + + if (StringUtils.isNotBlank(packageHeader) && StringUtils.isNotBlank(packageBody)) + { + log.info("Creating new package header for {}", packageName); + jdbcTemplate.update(packageHeader); + log.info("Creating new package body for {}", packageName); + jdbcTemplate.update(packageBody); + } + } + else + { + log.debug("Package {} already existing", packageName); + } + } + } + + /** + * Perform sobstitution in the given string. + * @param string Original String + * @return processed string + */ + protected String performSubstitution(String string) + { + if (variables == null || variables.isEmpty()) + { + return string; + } + + String stringReplaced = string; + for (String key : variables.keySet()) + { + stringReplaced = StringUtils.replace(stringReplaced, "${" + key + "}", variables.get(key)); + } + + return stringReplaced; + } +} Property changes on: trunk/openutils-dbmigration/src/main/java/it/openutils/migration/oracle/OraclePackageCreationTask.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Date Id Revision Name: svn:eol-style + native Modified: trunk/openutils-dbmigration/src/main/java/it/openutils/migration/oracle/OracleSequenceCreationTask.java =================================================================== --- trunk/openutils-dbmigration/src/main/java/it/openutils/migration/oracle/OracleSequenceCreationTask.java 2008-04-27 13:19:02 UTC (rev 776) +++ trunk/openutils-dbmigration/src/main/java/it/openutils/migration/oracle/OracleSequenceCreationTask.java 2008-04-27 14:24:19 UTC (rev 777) @@ -43,16 +43,14 @@ private List<String> sequences; - private String creationQuery; + private String creationQuery = "CREATE SEQUENCE {0} INCREMENT BY 1 START WITH {1} MAXVALUE 1E28 MINVALUE 1 NOCACHE NOCYCLE ORDER"; - private String dropQuery; + private String selectUserSequences = "SELECT COUNT(*) FROM USER_SEQUENCES WHERE SEQUENCE_NAME = ?"; - private String selectUserSequences; + private String selectAllSequences = "SELECT COUNT(*) FROM ALL_SEQUENCES WHERE SEQUENCE_NAME = ? AND SEQUENCE_OWNER = ?"; - private String selectAllSequences; + private int startsWith = 1; - private int startsWith; - /** * Sets the sequences. * @param sequences the sequences to set @@ -72,15 +70,6 @@ } /** - * Sets the dropQuery. - * @param dropQuery the dropQuery to set - */ - public void setDropQuery(String dropQuery) - { - this.dropQuery = dropQuery; - } - - /** * Sets the selectAllSequences. * @param selectAllSequences the selectAllSequences to set */ @@ -128,7 +117,7 @@ if (StringUtils.contains(sequenceName, ".")) { String[] tokens = StringUtils.split(sequenceName, "."); - result = jdbcTemplate.queryForInt(selectAllSequences, new Object[]{tokens[1], tokens[0]}); + result = jdbcTemplate.queryForInt(selectAllSequences, new Object[]{tokens[1], tokens[0] }); } else { @@ -138,7 +127,9 @@ if (result <= 0) { log.info("Creating new {}", sequenceName); - jdbcTemplate.update(MessageFormat.format(creationQuery, new Object[]{sequenceName, startsWith})); + jdbcTemplate.update(MessageFormat.format(creationQuery, new Object[]{ + sequenceName, + String.valueOf(startsWith) })); } } } Added: trunk/openutils-dbmigration/src/main/java/it/openutils/migration/oracle/OracleStoredProcedureCallTask.java =================================================================== --- trunk/openutils-dbmigration/src/main/java/it/openutils/migration/oracle/OracleStoredProcedureCallTask.java (rev 0) +++ trunk/openutils-dbmigration/src/main/java/it/openutils/migration/oracle/OracleStoredProcedureCallTask.java 2008-04-27 14:24:19 UTC (rev 777) @@ -0,0 +1,62 @@ +/* + * Copyright Openmind http://www.openmindonline.it + * + * 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 it.openutils.migration.oracle; + +import it.openutils.migration.task.setup.GenericConditionalTask; + +import java.sql.CallableStatement; +import java.sql.Connection; +import java.sql.SQLException; + +import org.springframework.dao.DataAccessException; +import org.springframework.jdbc.core.ConnectionCallback; +import org.springframework.jdbc.core.simple.SimpleJdbcTemplate; +import org.springframework.jdbc.support.JdbcUtils; + + +public class OracleStoredProcedureCallTask extends GenericConditionalTask +{ + @Override + protected void executeSingle(SimpleJdbcTemplate jdbcTemplate, final String scriptContent) + { + jdbcTemplate.getJdbcOperations().execute(new ConnectionCallback() + { + public Object doInConnection(Connection con) throws SQLException, DataAccessException + { + CallableStatement cs = null; + try + { + cs = con.prepareCall("{call " + scriptContent.trim() + "}"); + cs.execute(); + } + finally + { + JdbcUtils.closeStatement(cs); + } + return null; + } + }); + } + + /** + * {@inheritDoc} + */ + @Override + public String getDescription() + { + return "calling stored procedures"; + } +} Property changes on: trunk/openutils-dbmigration/src/main/java/it/openutils/migration/oracle/OracleStoredProcedureCallTask.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Date Id Revision Name: svn:eol-style + native Added: trunk/openutils-dbmigration/src/main/java/it/openutils/migration/oracle/OracleTriggerTask.java =================================================================== --- trunk/openutils-dbmigration/src/main/java/it/openutils/migration/oracle/OracleTriggerTask.java (rev 0) +++ trunk/openutils-dbmigration/src/main/java/it/openutils/migration/oracle/OracleTriggerTask.java 2008-04-27 14:24:19 UTC (rev 777) @@ -0,0 +1,43 @@ +/* + * Copyright Openmind http://www.openmindonline.it + * + * 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 it.openutils.migration.oracle; + +import it.openutils.migration.task.setup.GenericConditionalTask; + +import org.apache.commons.lang.StringUtils; +import org.springframework.jdbc.core.simple.SimpleJdbcTemplate; + + +public class OracleTriggerTask extends GenericConditionalTask +{ + @Override + protected void executeSingle(SimpleJdbcTemplate jdbcTemplate, final String scriptContent) + { + if (StringUtils.isNotBlank(scriptContent)) + { + jdbcTemplate.update(scriptContent.trim()); + } + } + + /** + * {@inheritDoc} + */ + @Override + public String getDescription() + { + return "triggers"; + } +} Property changes on: trunk/openutils-dbmigration/src/main/java/it/openutils/migration/oracle/OracleTriggerTask.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Date Id Revision Name: svn:eol-style + native Modified: trunk/openutils-dbmigration/src/main/java/it/openutils/migration/oracle/OracleViewCreateOrUpdateTask.java =================================================================== --- trunk/openutils-dbmigration/src/main/java/it/openutils/migration/oracle/OracleViewCreateOrUpdateTask.java 2008-04-27 13:19:02 UTC (rev 776) +++ trunk/openutils-dbmigration/src/main/java/it/openutils/migration/oracle/OracleViewCreateOrUpdateTask.java 2008-04-27 14:24:19 UTC (rev 777) @@ -1,3 +1,18 @@ +/* + * Copyright Openmind http://www.openmindonline.it + * + * 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 it.openutils.migration.oracle; import it.openutils.migration.task.setup.DbTask; @@ -44,7 +59,7 @@ /** * Script list to execute */ - protected List<Resource> scripts; + private List<Resource> scripts; /** * Query to verify view existence @@ -61,6 +76,31 @@ */ private String dropView; + public String getDescription() + { + return "Checking Views"; + } + + public void setScripts(List<Resource> scripts) + { + this.scripts = scripts; + } + + public void setSelectUserViewExistence(String selectUserViewExistence) + { + this.selectUserViewExistence = selectUserViewExistence; + } + + public void setSelectUserViewDDL(String selectUserViewDDL) + { + this.selectUserViewDDL = selectUserViewDDL; + } + + public void setDropView(String dropView) + { + this.dropView = dropView; + } + /** * {@inheritDoc} */ @@ -72,7 +112,7 @@ { String viewName = this.objectNameFromFileName(script); - int result = jdbcTemplate.queryForInt(getSelectUserViewExistence(), viewName); + int result = jdbcTemplate.queryForInt(this.selectUserViewExistence, viewName); String scriptContent = readFully(script); @@ -96,17 +136,17 @@ } String previousDDl = (String) jdbcTemplate.getJdbcOperations().queryForObject( - getSelectUserViewDDL(), - new Object[]{viewName}, + this.selectUserViewDDL, + new Object[]{viewName }, String.class); if (!StringUtils.equals(previousDDl.trim(), scriptBody.trim())) { log.info( "Previous definition of view {} differs from actual. Dropping and recreating view", - new Object[]{viewName}); + new Object[]{viewName }); - jdbcTemplate.update(MessageFormat.format(getDropView(), new Object[]{viewName})); + jdbcTemplate.update(MessageFormat.format(this.dropView, new Object[]{viewName })); createView(jdbcTemplate, scriptContent); } @@ -116,21 +156,12 @@ } /** - * @param script The script resource - * @return The script name - */ - protected String objectNameFromFileName(Resource script) - { - return StringUtils.substringBeforeLast(script.getFilename(), "."); - } - - /** * @param scriptContent * @return */ private String extractViewBody(String scriptContent) { - Pattern pattern = Pattern.compile(".*\\s+AS\\s+(.*)", Pattern.CASE_INSENSITIVE | Pattern.DOTALL); + Pattern pattern = Pattern.compile(".*?\\s+AS\\s+(.*);", Pattern.CASE_INSENSITIVE | Pattern.DOTALL); Matcher matcher = pattern.matcher(scriptContent); boolean bodyFound = matcher.find(); if (bodyFound) @@ -164,6 +195,15 @@ } /** + * @param script The script resource + * @return The script name + */ + protected String objectNameFromFileName(Resource script) + { + return StringUtils.substringBeforeLast(script.getFilename(), "."); + } + + /** * @param script * @return */ @@ -195,48 +235,4 @@ return scriptContent; } - public String getDescription() - { - return "Checking Views"; - } - - public List<Resource> getScripts() - { - return scripts; - } - - public void setScripts(List<Resource> scripts) - { - this.scripts = scripts; - } - - public String getSelectUserViewExistence() - { - return selectUserViewExistence; - } - - public void setSelectUserViewExistence(String selectUserViewExistence) - { - this.selectUserViewExistence = selectUserViewExistence; - } - - public String getSelectUserViewDDL() - { - return selectUserViewDDL; - } - - public void setSelectUserViewDDL(String selectUserViewDDL) - { - this.selectUserViewDDL = selectUserViewDDL; - } - - public String getDropView() - { - return dropView; - } - - public void setDropView(String dropView) - { - this.dropView = dropView; - } } Modified: trunk/openutils-dbmigration/src/main/java/it/openutils/migration/task/setup/BaseConditionalTask.java =================================================================== --- trunk/openutils-dbmigration/src/main/java/it/openutils/migration/task/setup/BaseConditionalTask.java 2008-04-27 13:19:02 UTC (rev 776) +++ trunk/openutils-dbmigration/src/main/java/it/openutils/migration/task/setup/BaseConditionalTask.java 2008-04-27 14:24:19 UTC (rev 777) @@ -224,7 +224,7 @@ * @param jdbcTemplate * @param scriptContent */ - private void executeSingle(SimpleJdbcTemplate jdbcTemplate, String scriptContent) + protected void executeSingle(SimpleJdbcTemplate jdbcTemplate, String scriptContent) { String[] ddls = StringUtils.split(performSubstitution(scriptContent), ';'); for (String statement : ddls) Modified: trunk/openutils-dbmigration/src/site/changes/changes.xml =================================================================== --- trunk/openutils-dbmigration/src/site/changes/changes.xml 2008-04-27 13:19:02 UTC (rev 776) +++ trunk/openutils-dbmigration/src/site/changes/changes.xml 2008-04-27 14:24:19 UTC (rev 777) @@ -8,21 +8,26 @@ <author email="fgiust(at)users.sourceforge.net">Fabrizio Giustina</author> </properties> <body> + <release version="2.0.4" date="in svn" description="2.0.4"> + <action type="add" dev="fgiust">New jdbc generic tasks: IfColumnIsNotIdentityConditionalTask, + JdbcIfColumnIsNotNullableConditionalTask, JdbcIfForeignKeyExistsConditionalTask</action> + <action type="add" dev="fgiust">New oracle specific tasks: OraclePackageCreationTask, + OracleStoredProcedureCallTask</action> + </release> <release version="2.0.3" date="2008-02-21" description="2.0.3"> <action type="add" dev="fgiust">New it.openutils.migration.oracle.OracleViewCreateOrUpdateTask</action> - <action type="fix" dev="fgiust">Fix handling of empty strings for numeric types in ExcelConfigurationTask</action> - <action type="update" dev="fgiust"> - Dates are now always processed using an ISO8601 date format in ExcelConfigurationTask (previously the parsing - was left to the jdbc driver, leading to different results with different drivers) + <action type="fix" dev="fgiust">Fix handling of empty strings for numeric types in ExcelConfigurationTask </action> + <action type="update" dev="fgiust"> Dates are now always processed using an ISO8601 date format in + ExcelConfigurationTask (previously the parsing was left to the jdbc driver, leading to different results with + different drivers)</action> <action type="add" dev="fgiust">Added a new "enabled" flag in ExcelConfigurationTask</action> </release> <release version="2.0.2" date="2008-02-11" description="2.0.2"> <action type="add" dev="fgiust">New it.openutils.migration.oracle.OracleSequenceCreationTask</action> - <action type="update" dev="fgiust"> - Added ability to set a schema name in it.openutils.migration.generic.JdbcObjectCreationTask and - it.openutils.migration.generic.JdbcIfColumnExistsConditionalTask - </action> + <action type="update" dev="fgiust"> Added ability to set a schema name in + it.openutils.migration.generic.JdbcObjectCreationTask and + it.openutils.migration.generic.JdbcIfColumnExistsConditionalTask</action> </release> </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: <fg...@us...> - 2008-04-27 13:18:56
|
Revision: 776 http://openutils.svn.sourceforge.net/openutils/?rev=776&view=rev Author: fgiust Date: 2008-04-27 06:19:02 -0700 (Sun, 27 Apr 2008) Log Message: ----------- [maven-release-plugin] prepare for next development iteration Modified Paths: -------------- trunk/openutils-bshd5/pom.xml Modified: trunk/openutils-bshd5/pom.xml =================================================================== --- trunk/openutils-bshd5/pom.xml 2008-04-27 13:18:47 UTC (rev 775) +++ trunk/openutils-bshd5/pom.xml 2008-04-27 13:19:02 UTC (rev 776) @@ -8,7 +8,7 @@ </parent> <artifactId>openutils-bshd5</artifactId> <name>openutils base Spring-Hibernate DAO for java 5.0</name> - <version>2.0.3</version> + <version>2.0.4-SNAPSHOT</version> <description>openutils base Spring-Hibernate DAO for java 5.0</description> <dependencies> <dependency> @@ -105,10 +105,4 @@ <properties> <spring.version>2.5.3</spring.version> </properties> - - <scm> - <connection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-bshd5-2.0.3</connection> - <developerConnection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-bshd5-2.0.3</developerConnection> - <url>http://openutils.svn.sourceforge.net/viewcvs.cgi/openutils/tags/openutils-bshd5-2.0.3</url> - </scm> </project> \ 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: <fg...@us...> - 2008-04-27 13:18:49
|
Revision: 775 http://openutils.svn.sourceforge.net/openutils/?rev=775&view=rev Author: fgiust Date: 2008-04-27 06:18:47 -0700 (Sun, 27 Apr 2008) Log Message: ----------- [maven-release-plugin] copy for tag openutils-bshd5-2.0.3 Added Paths: ----------- tags/openutils-bshd5-2.0.3/ tags/openutils-bshd5-2.0.3/pom.xml Removed Paths: ------------- tags/openutils-bshd5-2.0.3/pom.xml Copied: tags/openutils-bshd5-2.0.3 (from rev 773, trunk/openutils-bshd5) Deleted: tags/openutils-bshd5-2.0.3/pom.xml =================================================================== --- trunk/openutils-bshd5/pom.xml 2008-04-27 13:16:06 UTC (rev 773) +++ tags/openutils-bshd5-2.0.3/pom.xml 2008-04-27 13:18:47 UTC (rev 775) @@ -1,109 +0,0 @@ -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>net.sourceforge.openutils</groupId> - <artifactId>openutils</artifactId> - <version>8</version> - <relativePath>..</relativePath> - </parent> - <artifactId>openutils-bshd5</artifactId> - <name>openutils base Spring-Hibernate DAO for java 5.0</name> - <version>2.0.3-SNAPSHOT</version> - <description>openutils base Spring-Hibernate DAO for java 5.0</description> - <dependencies> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-log4j12</artifactId> - <version>1.5.0</version> - </dependency> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>jcl104-over-slf4j</artifactId> - <version>1.5.0</version> - </dependency> - <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-jdbc</artifactId> - <version>${spring.version}</version> - <exclusions> - <exclusion> - <groupId>commons-logging</groupId> - <artifactId>commons-logging</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-beans</artifactId> - <version>${spring.version}</version> - <exclusions> - <exclusion> - <groupId>commons-logging</groupId> - <artifactId>commons-logging</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-orm</artifactId> - <version>${spring.version}</version> - <exclusions> - <exclusion> - <groupId>commons-logging</groupId> - <artifactId>commons-logging</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-aop</artifactId> - <version>${spring.version}</version> - <exclusions> - <exclusion> - <groupId>commons-logging</groupId> - <artifactId>commons-logging</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.hibernate</groupId> - <artifactId>hibernate</artifactId> - <version>3.2.1.ga</version> - <exclusions> - <exclusion> - <groupId>commons-logging</groupId> - <artifactId>commons-logging</artifactId> - </exclusion> - <exclusion> - <groupId>cglib</groupId> - <artifactId>cglib</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>cglib</groupId> - <artifactId>cglib-nodep</artifactId> - <version>2.1_3</version> - </dependency> - <dependency> - <groupId>commons-beanutils</groupId> - <artifactId>commons-beanutils</artifactId> - <version>1.7.0</version> - <exclusions> - <exclusion> - <groupId>commons-logging</groupId> - <artifactId>commons-logging</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>commons-lang</groupId> - <artifactId>commons-lang</artifactId> - <version>2.4</version> - </dependency> - </dependencies> - <properties> - <spring.version>2.5.3</spring.version> - </properties> -</project> \ No newline at end of file Copied: tags/openutils-bshd5-2.0.3/pom.xml (from rev 774, trunk/openutils-bshd5/pom.xml) =================================================================== --- tags/openutils-bshd5-2.0.3/pom.xml (rev 0) +++ tags/openutils-bshd5-2.0.3/pom.xml 2008-04-27 13:18:47 UTC (rev 775) @@ -0,0 +1,114 @@ +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>net.sourceforge.openutils</groupId> + <artifactId>openutils</artifactId> + <version>8</version> + <relativePath>..</relativePath> + </parent> + <artifactId>openutils-bshd5</artifactId> + <name>openutils base Spring-Hibernate DAO for java 5.0</name> + <version>2.0.3</version> + <description>openutils base Spring-Hibernate DAO for java 5.0</description> + <dependencies> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-log4j12</artifactId> + <version>1.5.0</version> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>jcl104-over-slf4j</artifactId> + <version>1.5.0</version> + </dependency> + <dependency> + <groupId>org.springframework</groupId> + <artifactId>spring-jdbc</artifactId> + <version>${spring.version}</version> + <exclusions> + <exclusion> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.springframework</groupId> + <artifactId>spring-beans</artifactId> + <version>${spring.version}</version> + <exclusions> + <exclusion> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.springframework</groupId> + <artifactId>spring-orm</artifactId> + <version>${spring.version}</version> + <exclusions> + <exclusion> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.springframework</groupId> + <artifactId>spring-aop</artifactId> + <version>${spring.version}</version> + <exclusions> + <exclusion> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.hibernate</groupId> + <artifactId>hibernate</artifactId> + <version>3.2.1.ga</version> + <exclusions> + <exclusion> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + </exclusion> + <exclusion> + <groupId>cglib</groupId> + <artifactId>cglib</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>cglib</groupId> + <artifactId>cglib-nodep</artifactId> + <version>2.1_3</version> + </dependency> + <dependency> + <groupId>commons-beanutils</groupId> + <artifactId>commons-beanutils</artifactId> + <version>1.7.0</version> + <exclusions> + <exclusion> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>commons-lang</groupId> + <artifactId>commons-lang</artifactId> + <version>2.4</version> + </dependency> + </dependencies> + <properties> + <spring.version>2.5.3</spring.version> + </properties> + + <scm> + <connection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-bshd5-2.0.3</connection> + <developerConnection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-bshd5-2.0.3</developerConnection> + <url>http://openutils.svn.sourceforge.net/viewcvs.cgi/openutils/tags/openutils-bshd5-2.0.3</url> + </scm> +</project> \ 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: <fg...@us...> - 2008-04-27 13:18:33
|
Revision: 774 http://openutils.svn.sourceforge.net/openutils/?rev=774&view=rev Author: fgiust Date: 2008-04-27 06:18:38 -0700 (Sun, 27 Apr 2008) Log Message: ----------- [maven-release-plugin] prepare release openutils-bshd5-2.0.3 Modified Paths: -------------- trunk/openutils-bshd5/pom.xml Modified: trunk/openutils-bshd5/pom.xml =================================================================== --- trunk/openutils-bshd5/pom.xml 2008-04-27 13:16:06 UTC (rev 773) +++ trunk/openutils-bshd5/pom.xml 2008-04-27 13:18:38 UTC (rev 774) @@ -1,5 +1,4 @@ -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>net.sourceforge.openutils</groupId> @@ -9,7 +8,7 @@ </parent> <artifactId>openutils-bshd5</artifactId> <name>openutils base Spring-Hibernate DAO for java 5.0</name> - <version>2.0.3-SNAPSHOT</version> + <version>2.0.3</version> <description>openutils base Spring-Hibernate DAO for java 5.0</description> <dependencies> <dependency> @@ -106,4 +105,10 @@ <properties> <spring.version>2.5.3</spring.version> </properties> + + <scm> + <connection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-bshd5-2.0.3</connection> + <developerConnection>scm:svn:https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-bshd5-2.0.3</developerConnection> + <url>http://openutils.svn.sourceforge.net/viewcvs.cgi/openutils/tags/openutils-bshd5-2.0.3</url> + </scm> </project> \ 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: <fg...@us...> - 2008-04-27 13:16:03
|
Revision: 773 http://openutils.svn.sourceforge.net/openutils/?rev=773&view=rev Author: fgiust Date: 2008-04-27 06:16:06 -0700 (Sun, 27 Apr 2008) Log Message: ----------- checkstyle Modified Paths: -------------- trunk/openutils-bshd5/src/main/java/it/openutils/dao/hibernate/HibernateDAOImpl.java trunk/openutils-bshd5/src/main/java/it/openutils/hibernate/example/EnhancedExample.java Modified: trunk/openutils-bshd5/src/main/java/it/openutils/dao/hibernate/HibernateDAOImpl.java =================================================================== --- trunk/openutils-bshd5/src/main/java/it/openutils/dao/hibernate/HibernateDAOImpl.java 2008-04-27 13:14:25 UTC (rev 772) +++ trunk/openutils-bshd5/src/main/java/it/openutils/dao/hibernate/HibernateDAOImpl.java 2008-04-27 13:16:06 UTC (rev 773) @@ -84,7 +84,6 @@ /** * {@inheritDoc} */ - @SuppressWarnings("unchecked") public List<T> findAll(final Order[] orderProperties) { return getThis().findAll(orderProperties, new ArrayList<Criterion>()); @@ -326,7 +325,6 @@ /** * {@inheritDoc} */ - @SuppressWarnings("unchecked") public List<T> findFiltered(final T filter, final Order[] customOrder, final Map<String, FilterMetadata> metadata, final int maxResults, final int page) { @@ -357,7 +355,6 @@ /** * {@inheritDoc} */ - @SuppressWarnings("unchecked") public List< ? > findFilteredProperties(final T filter, final Order[] customOrder, final Map<String, FilterMetadata> metadata, final int maxResults, final int page, List<Criterion> additionalCriteria, List<String> properties) Modified: trunk/openutils-bshd5/src/main/java/it/openutils/hibernate/example/EnhancedExample.java =================================================================== --- trunk/openutils-bshd5/src/main/java/it/openutils/hibernate/example/EnhancedExample.java 2008-04-27 13:14:25 UTC (rev 772) +++ trunk/openutils-bshd5/src/main/java/it/openutils/hibernate/example/EnhancedExample.java 2008-04-27 13:16:06 UTC (rev 773) @@ -17,7 +17,6 @@ import org.apache.commons.lang.StringUtils; import org.hibernate.Criteria; import org.hibernate.HibernateException; -import org.hibernate.mapping.Value; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.dao.DataRetrievalFailureException; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |